MrClifford's Forum Posts

  • Just checked out the game - particles would be your quickest and easiest bet

  • No problem, hopefully will save you some time in the future. And that's just a sprite. Same goes for a tiled background though, just over run the viewport to cover different aspect ratios

  • You need to specify the layer by name, in this case Move to layer "Game version (Overridden)"

  • Can you post some of the code to what your trying to achieve?

  • System - compare two values

    Make the block "OR"

    Add more values

  • Letterbox scale isn't ideal when catering for different screen sizes on mobile, as even though you can change the colour of the bars, its limited to one colour. So if your game has multiple different backgrounds, you'll end up having bars just in a different colour.

    Try full screen mode: scale outer and set your backgrounds around 20% larger than your viewport. This means you can have a range of different backgrounds that'll fill the whole screen

    Here's an example of how it looks and displays on a 20:9 device/1080x2400 (pixel 6)

    On a regular 16:9 device the "fire rate" bar and buttons would be perfectly level with the bottom of the screen but because the aspect ratio on this device is so much longer, I've extended the background to cover - just have to make sure the background looks right with the UI

    Edit: blackbar at the top varies from different devices - this is because when exporting I opted not to have notification bar hidden. This helps with phones that have the camera in the screen rather than above it, none of the game is hidden by the camera. On phones where the camera is not in the screen, you would see normal notification bar with time/notifications. Pixel 6 requires you to pull down from the top to see the time when a game is running FS

  • There are so many different aspect ratios, and so many devices with said aspect ratios, it would be a bear impossible task to compile data on every device on the market, off the market, and future market, so it's better just to support the most common ratio and adjust to suit all (though it will look slightly different on each device that's not your set aspect ratio).

    This will only really be the amount of background that can be seen. UI elements can remain fixed in their respective positions.

    I get what your saying but there's no need to offer different resolutions as a setting within your game. Just stretch your background around 20% larger than your viewport and use scale inner/outer (depending on your game, UI etc) and you'll be set for multiple ratios.

    And as I said, you can always use Scale Layout if you want to give the appearance of being zoomed in or out within your game

  • Viewport size is fixed unfortunately. You can however use Scale Layout to zoom in/out of your layout giving the effect your after

  • 16:9 is the most common aspect ratio on mobiles but a lot of manufacturers are going wider. My preferred way of going about this is scale inner/outer depending on the game. Expand your backgrounds about 20% wider than your viewport and you'll cover most odd resolutions that Xiaomi (in particular) like to use.

    Compress every image/sprite whenever you add one to the game! Need to keep that package size down, and it helps with performance on lower end devices. It'll save you hours of work in the long run.

    Don't over complicate things or it won't run well on old devices - or at all. I have a huge 70% crash rate or ANR rate on Android 8/9 due to the amount that's going on in one of my games - even with a low performance button (disables lighting, shadows, effects etc) the game can be very choppy on lower end devices (even if they are modern).

  • This is data saved for your device only. Unless the highscores are on a server, then none of the data you've had stored on your device will be transferred over. If you want to start the game afresh on your device go on settings - apps - app name - clear cache and data

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Also worth noting it was a bank holiday for the Queens funeral yesterday and pretty much all of the UK was closed. Even McDonalds was closed!

  • It's a bit more work but you can check purchases server side with Validator URL

  • Do you mean that if a user goes to purchase the IAP and decides not to go through with the purchase, they are still getting the purchase or do you mean if a user purchases an IAP and the purchase is complete, then later files for a refund?

    Sadly, not much you can do if they buy then get a refund. There are many high profile MMOs that offer IAP in the region of $100 per purchase who suffer from chargebacks etc. The only way they can combat these is to close the player accounts.

    It's the same with Steam - users purchase a game, if they don't like it or can complete it within 2 hours, they simply get a refund. Free game for them, Dev loses out

  • You need to keep your UI in the Viewport. You can also use the Anchor expression to keep them in the same position at all times, regardless of the aspect ratio of the devices screen

  • As far as I know the viewport size can't be changed from the parameters set in the project properties. Best bet if you want to alter the amount of the layout you can see is to use LayoutScale