oosyrag's Forum Posts

  • Here's an example, although you have to click twice to get the right position, which may possibly be a somewhat related bug that I'll post a report for. dropbox.com/s/dkmkdrbqaot4g60/canvassize.c3p

    The black bars (letterbox scale), zoomed in (scale outer), or zoomed out (scale inner), depends on your fullscreen scaling mode. These are out of your control, because you cannot control the aspect ratio of the user's window (browser size) or phone screen. You'll just have to design accordingly, to see which mode is most suitable for you.

    construct.net/en/tutorials/supporting-multiple-screen-77

  • When needing to animate tilemap tiles, there are a few options. Creating sprites for just the parts you need animated works, like you said. You can also either layer the tilemaps and cycle through them by toggling visibility, or have the animation frames in the tileset and cycle through the tiles dynamically by events. Third way that may be more efficient if you have a highly dynamic coastline would be to maybe draw it at runtime using the drawing canvas plugin.

    Finally, although I'm just theorycrafting at this point, I feel like you should be able to manage something with a low resolution static sprite in the shape of the coastline with a gradient, scale it, and use the alpha clamp effect to have it shrink and grow.

  • Check to make sure your bullets are not created on the UI layer.

  • Time for a feature request?

  • Still goes fullscreen into the notch area.

    Honestly it doesn't bother me and I don't see it affecting gameplay, but my notch is small so I guess be annoying for someone with a larger one. Then again, choosing not to use the notch area for fullscreen is available as a setting in Android so the user can control it.

  • I tried scale inner in a preview with a fullscreen request, and it did not use the notch area, although the browser normally does not either. I don't know if an apk would behave differently.

  • Here's what it looks like on mine... Although my screen is so tall the game doesn't even make it up there :p

    dropbox.com/s/wlysofwevf7ujin/Screenshot_20200306-205135.jpg

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For what it's worth, on my phone with a notch there is a setting for "allow apps to use full screen with notch", and the ability to enable or disable it per app. However, not all my apps show up in the per app control list, which leads me to believe that it's the apps themselves that specify/support if they can use that feature or not. Maybe hidden somewhere in the package builder as an option?

  • Assuming you can spawn the room by events the first time, there shouldn't be anything keeping you from doing it on demand. Like newt said, if you use a function you can add parameters for any variables you want, like location or contents.

  • The host will also need to be on the layout for syncing positions to work. The behavior you describe is due to out of sync issues.

    You can either move all players to the second layout, alternatively isolate the players in a special area in the current layout, or build your own data syncing mechanics.

  • IIRC you no longer need to have a default instance in the layout editor at all anymore.

    Before, you could make a separate layout that wasn't used with all your sprite objects to set defaults, they just need to be on one layout in the project, not every layout in which it was used.

  • It works fine for me fullscreen, extending the object past the viewport size could help.

    Alternatively, you can use the system compare two values condition, to compare the absolute position of the mouse and relevant viewport edge.

  • Also kinda unrelated, but usually wouldn't you want the camera to lead in front of the player rather than follow behind them in this type of game?

  • You need to work backwards. Modulo gives you the remainder after dividing. So imagine 132 total seconds. First you need to divide by 60 and round down to get the number of minutes, which is 2. The remainder after that is 12, which would be your seconds.

    floor(132/60)=2

    132%60=12

    dropbox.com/s/9reee8ph9n72qsu/unixtime.c3p

  • You do not have permission to view this post