Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

I loved a lot this game, it's simple but also the physics puzzles are really good implemented. Also I love the fact it's made with Godot, same as ours. You have to share how you made those cool transitions I struggled a bit and probably over engineered my solution to that.

Nice job and awesome work!

(+2)

Thanks for this very nice comment.

The transition animations are pretty simple actually, each exit is an Area2D with a two collision bodies (one for each side) this ensures that I can detect the player going in from the left and from the right. Within the body is a sprite. The sprite is constantly rotated and its scale is enlarged, if the player has entered the door.

I use the onready function to do the opposite of the transitions, so that the door animation plays to swoosh the player into the next room, and also swooshed to de-transition :)


I can share the code if you like but I think the general idea is enough to get an understanding of the principles,  so that you may implement it into your game :)

Good luck

thank you very much for your explanation ^^

I followed a similar approach, using areas2d, but, as I used different scenes per level, I used position2d to know where to instance the player on the other side. I think it's a bit messy, but as a firts time doing this, the result was satisfactory!

(+1)

I  exported two variables per door, one for the next room and one for the spawn position of the player in the next room.. So yea, not great :D

(+2)

I did the same thing! I had a Position2D for my player target position and another one for where to put the camera. Seems to work OK, at least. :D

I had the camera as part of the player though :)