dop2000's Forum Posts

  • if u have a big project, problem with it is that it might glitch

    No, it won't glitch as long as you make sure that there is only one instance of this object.

    is transparent and everytime u fetch 1 variable the gpu trying to render that sprite which uses a little bit more resources in spikes... and if u fetch consequencely 10-20-50 variables from that sprite ur game will have a spike "load freeze" on read/write data.

    I don't think this is true.

    The sprite is invisible and off-screen, so it's not consuming any GPU or CPU resources.

  • When RedUnit collides with another RedUnit, both of them become isPaused. So event 16 processes two instances of them. And because the engine is so smart, it compares each Marker UnitID with a different RedUnit instance, alternating between them (I assume). As a result, some of the markers remain unpicked.

    Add "For each RedUnit" to event #16. You might need to do the same in some other similar events.

  • I don't know if this will help, but in #16 you might need to move "Set isPaused to false" to the top of the event. Otherwise the whole event will execute several times before it stops. Avoid using "wait" actions in events that run on every tick!

    If that doesn't help, could you share your project file? It's difficult to understand what's going on by screenshots.

  • Please make a small repro and report it:

    github.com/Scirra/Construct-bugs/issues

  • There is a link to an example project in the documentation, have you seen it?

  • I can't help you with the array, but there is an addon that does the same on a tilemap.

    construct.net/en/make-games/addons/252/tilemap-flood-fill

    Tilemaps are essentially 2D arrays. So you can copy array values on a tilemap, flood fill it, then copy back to the array. Since this is for a jam, it could be a quick and easy solution.

  • Could be this issue:

    github.com/Scirra/Construct-bugs/issues/3718

    You can try creating a folder in the Objects tab and moving either the sprite or Touch plugin into the folder.

  • Yes, you can do this with [icon] tag:

    construct.net/en/make-games/manuals/construct-3/plugin-reference/text

  • Without the AI I wouldn't even have ATTEMPTED this feature.

    Yeah, ChatGPT is getting frighteningly good at programming tasks. Almost ROJOhound-level good :)

  • I made a mistake in my previous comment. This code should work:

  • (removed)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • But it seems this only works when the player is on the right and bottom relative to the camera target object. It doesn't work otherwise.

    Does zoom work? Or both camera movement and zoom are not working?

    Try enabling "unbounded scrolling" in layout properties. Also check parallax setting on layers.

    By the way, instead of lerping you can use MoveTo behavior to smoothly move the camera with nice acceleration and deceleration effect. And Tween behavior (value) to zoom in/out.

  • Thanks, Tom. I understand Scirra's position, but I also see why people who are forced to use shady third-party services to pay for a C3 license might choose cheaper regions.

    What about this suggestion — would it be possible?

    For example, if someone paid for a year using Ethiopian pricing, which is 50% cheaper than the Russian rate, their license could be reduced to six months.

  • Deactivating the accounts of Russian developers is quite harsh. It’s not their fault that they are under sanctions and have to pay for a C3 license through other countries.

    A fair solution would be to adjust the license expiry based on the amount paid.

  • citron2010 alastair gave a good explanation of why people use a global sprite for storing variables. There's also an addon for that purpose.

    As for JSON, I use it to store values that are needed rarely. For example, I might add a key like 'MenuNotificationShown' to JSON. There's no point in creating a separate variable for this since I only access it once in the project.

    It's also easy to save all these values at once in Local Storage - just use Sprite.AsJSON and JSON.ToCompactString