otomecha's Forum Posts

  • First of all it's worth asking: is this really a problem? Modern devices all have loads of memory, and it doesn't look like your project is that image heavy. So long as the peak memory usage is reasonable, then optimizing it is actually a waste of time - you may as well spend your time on something more significant.

    So is your peak memory usage actually a problem? If so the first place to look is our guide on memory usage which includes general advice on optimizing it.

    If you really want to adjust Construct's spritesheets, there are two things you can do: the main one is to adjust the project advanced setting Max spritesheet size. Lower maximum spritesheet sizes will allow finer memory loading granularity which can result in lower peak memory usage, but at the expense of efficiency (reduced runtime performance and increased download size).

    The second thing is to make sure you've organized all your objects on to layouts appropriately. Construct has an algorithm that tries to group objects used together on the same layout on to the same spritesheet, in order to avoid situations like having one spritesheet with content from several different layouts that are never used together. If your project doesn't abide by that (e.g. by placing everything on the same layout) then Construct doesn't have any clues about how to group objects together and so that algorithm will prove ineffective.

    I'm skeptical that any feature to manually adjust spritesheets would really be useful in practice - with its current design, Construct frequently discards and regenerates spritesheets as you edit your project. So any manual changes would likely be quickly reverted. Even if there were other ways to permanently specify how spritesheets were arranged, as you continued to edit the rest of the project and Construct continued to automatically regenerate other content, I'd imagine it would be easy to accidentally end up with a set of spritesheets that are actually less efficient than if you just left Construct to do it automatically - and that might be after having to spend a long time to manually tweak everything. It doesn't seem like a good thing to spend time on when designing your project, especially if the peak memory usage is not really a problem to begin with.

    Heya! Thank you for the reply!

    Unfortunately the game is played across the world so many users do play with lower end devices. Also as it's targeted for kids, they may use inherited devices or cheaper ones.

    I think in this particular type of project, where you can have a lot o locations and in some cases share some assets (others are unique) manual edit would be best. As I could have my shared graphics atlas + the ones that are unique in their own.

    In a previous project I had (similar to this one) I reached a point that it was hard to add more content and escale it tbh. Do not know if there's any way to add adressables.

  • Hello!

    I am working on a mobile game for kids. Is the typical 'doll house' type of game, similar to toca boca, aha world, avatar world etc. This kind of games are scene and prop heavy.

    This is an example of part of a scene:

    One of the issues I have is the lack of control over the atlases. As I have several location, ideally I would like to bundle the props by location so I am not loading unnecesary big atlases. I believe this functionality does not exist in Construct, as they are auto generated.

    Is there any plugin or work around for that? Thank you!

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hard to help you without the project file. Make sure the UI layer has parallax and scale rate set to 0.

    Thank you for pointing this out! Actually all the layers had the scaling and parallax at 100 except for the UI one. That caused elements in that layer to behave strangely.

    Its solved now :)

  • Also image point seem to work weirdly now.

  • Hello!

    I opened the project I was working on after some months lol and I have the impression some things regarding vieport width etc, are not working properly. I am trying to figure out if I'm doing something wrong or if this was deprecated.

    I have this that is a slider.

    Should be positioned always at right corner

    But when I change the ratio it's displaced...

    Any idea what is wrong¿ Thank you!

  • This is how I made a rain effect for my game using a tiled background. I've messed with some of the numbers to make it move more diagonally. Hope this helps!

    Thank you for sharing! It worked :) But moving from top to bottom, I will play around.

  • Hello!

    I use this kind of backgrounds in my game and I was wondering If there is any way to make them 'move' diagonally like in supercell games.

    Right now I make them using a tiled image...

    Thank you for your time!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do I need google to be loged? Still not working...

  • Hello!

    As many others I have the warning in google console to update the billing thingy. I did open my project in 402.2 and generated a debug apk to test. However I saw the shop is not working (it was previously working fine...) Do I need to change anything on my side?

    This is how it was implemented and previously working.

    I registered the items in a preloader scene I have.

    Then I did this to show the prices and info, but now is not showing any information.

    Any ideas¿

  • Here an example by R0J0 : construct.net/en/forum/construct-3/how-do-i-8/onet-games-172483

    Thank you!!!

  • Had another go at it so now the logic is a bit more understandable and fits within 25 events.

    When you click on a tile it does a search for valid moves from that tile to other matching tiles. the path from one tile to another can only bend twice and the path has to go through an empty space first.

    Then when you click on a matching tile it destroys the tiles and draws the path.

    If you want to see the pathfinding in action make the marker sprite initially visible in the editor.

    It's trivial to change the number of unique tiles, but just be sure there are enough tiles on the board so there can be pairs.

    https://www.dropbox.com/scl/fi/gpd6ss46cm1a7vfb469ev/onet2.capx?rlkey=5zlh8fml1v63hihzj3jxqv7cs&st=esgaimgg

    Wow thank you very much for sharing!! You are amazing! I will take a look at it :3

  • Hello!

    I was trying to prototype a linker idea but I have not much idea on how to proceed... I was trying to find a tutorial or purchasable to kick start it but I found nothing other than M3 :(

    Any recs¿

  • The change I was suspecting caused the problem... was the culprit. It was an attempt to fix github.com/Scirra/Construct-bugs/issues/7261. Even though the fix is quite comprehensive when it comes to tweens with mirrored and flipped instances in a hierarchy, it completely misses timelines.

    Our aim is to avoid regressions in stable releases, so that change will be reverted for the stable and will try again in the next beta cycle to get everything working properly.

    Thank you :) I will wait for it then