So im making a platforming game, and so I have 2 sprites for the player, the animations and the hitboxes(1 for walking, running, and jumping, one for falling and squatting) And I have no idea how to pin the Animations sprite ontop of the hitbox sprite. I know Construct 3 has a pin to object option in behaviors or somehting like that, but i dont know how to do it in GDevelop. Also, will the hitbox still work if I turn the opacity to 0?
under the project manager, there is a way to add “extensions” to Gdevelop from a list. One of them is the stick objects to other extension:
thanks, I’ll see if it works!
The condition used here doesn’t seem right to me.
I would use “At beginning of Scene” as the condition, then the action could be Stick Animations to NewSprite
After that, when you move the “new sprite” by changing the x and y positions, the “Animations” object will move long with it automatically
ok, ill try that. This is all new to me, I’ve been using Scratch and JS to do this all
OK, so its kinda working, but when I squat, it messes up everything. heres the new code:
link with footage.
wait a sec the review window didn’t show.
there it is now
Wait, I fixed it! I just changed the animation of the animations sprite to squat, so It changes to the same size as the squat hitbox.