I’m trying to make a merger game in gdevelop, where you have stations, that summon items into set spaces, where there can be only one thing at a time, so first of all i need to make the objects align with the grid, so i guess snapping to place. But I’m completely new to gdevelop and don’t know much about how to do it.
also, i need to make the items do:
If two of the same item are dropped into the same spot, they’ll make a better version of themself (destroy the two items and add the new item to the spot, where they were dropped)
if an item (item 01) gets picked up from space 01 to space 02, where there’s a different item (item 02), they switch places (item 01 goes to space 02, item 02 goes to space 01)
Please help me, I’m trying to do this for god knows how long
There are a few example projects (bundled with the engine or on Gdevelop’s website) which are not necessarily exactly what you want to make but can help you to get started.
Here is an example for grid-based movement, which may help you to set up your own grid.
And here is an inventory-example that could be interesting for you to stack objects. In your case you would create a new object instead.
I don’t know if this is really helpful because you did not mention the specifics of your game (2D/3D, topdown/isometric).
Btw, from experience you are much more likely to get a reply if you just ask about one problem a time.