+1 vote

I want to create something in Godot 2D that looks like the top view but behaves like the side view. It is necessary that it works in godot 2D only. I hope someone has an easy answer to that. I kinda couldn't figure it out.
I also want for example the black cube to be able to jump and land on the red block. Thank you in advance.

enter image description here

in Engine by (13 points)

I may not be following, but if you're talking about doing jumping in a top down game there are many ways of doing it. One is to handle collision differently while jumping.

Another idea is to store the foot height of your player and a top height of objects. While jumping you would increase and decrease that foot height over time. If the foot height is greater or equal to an objects top height, turn off collision and clamp the foot height to the object's top height while they traverse it.

but how would falling off a ledge work then? enter image description here
As an example I have Mario and luigi super star saga. on the right side of the picture there is this other plane with a different height. I want it basicially like in that game.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.