dop2000's Recent Forum Activity

  • If you want to create objects in the middle of each cell, add half of the cell width:

    x=(round(Mouse.x/150)*150+75)

    y=(round(Mouse.y/150)*150+75)

  • Urmumphat LLC The same way:

    Create Sprite at x=(round(Mouse.x/20)*20), y=(round(Mouse.y/20)*20)

  • I don't think that an "automatic" solution exists for switching any game to dark mode. You need to implement it manually - add dark versions of backgrounds and sprites, pick good combinations of colors for text and UI objects etc.. And then either switch between light and dark mode with events, or clone all your layouts for dark mode.

  • FlagiusBaconSwagg You can do it a little easier all in one event with System Create Object By Name action.

    Repeat 3 times: System Create Object (By Name) "Sprite"&int(random(1,10))

    Note, that this code can create 2 or 3 instances of the same sprite. If you need to create 3 different sprites, it's a bit more difficult.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • tarek2 It only cuts from the top (my game runs in portrait mode), and I only tried it on Android.

  • 1. Export to Cordova, download the zip.

    2. Unzip to an empty folder and edit files config.json and config.xml with Notepad.

    3. Remove these lines (make sure to remove the comma in JSON):

    4. Zip all the files.

    5. Open Export Manager in Construct 3, upload the updated zip and build an apk.

    I haven't tried building for iOS, but I'm guessing it'll be the same.

  • tarek2 Yeah, the problem I had with my game a few weeks ago was that I couldn't detect if the screen had a notch. Nor was I able to get the position and size of the notch. You are right saying that the notch support in C3 is very limited, it's basically not existing.

    Setting "Viewport Fit" to "Auto" or "Cover" doesn't seem to make any difference. And the "construct-mobile-notchfix" plugin that's automatically added to all exports simply ignores the notch, stretching the viewport to the entire screen, which may cause problems in many games.

    LaurenceBedford Yeah, if you remove the plugin, there will be a black area where the notch is. So the viewport will be smaller than the screen size, but at least it will not cover your graphics.

  • To convert from layer A to B:

    X = CanvasToLayerX("B", LayerToCanvasX("A", x, y), LayerToCanvasY("A", x, y))

    Y = CanvasToLayerY("B", LayerToCanvasX("A", x, y), LayerToCanvasY("A", x, y))

  • The only solution that worked for me was removing "construct-mobile-notchfix" plugin from the export. Export to Cordova, remove plugin from the config.json and config.xml, then zip and build an apk with C3.

  • You do not have permission to view this post

  • You can do this with blend modes:

    https://editor.construct.net/#open=blend-modes
    
dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies