Hi, new to godot.

So I tried learning and practicing the code. I ended up with my character constantly falling/floating and never touching the tileset i made.

is there something wrong with the code or with my setup? also, its not running the first screen but rather the character scene i made. also the code is in the character scene not on the main scene.

Can I ask for your expert advise?

Below is the code I learned:

Can you post a screenshot of the character's scene tree?

Since the character scene is the one being played, the tileset may be falling with the player.

i decided to redo the entire scene. it seems to be working now.

make sure you set the Collisions of the tileset and the player properly! the Layers and the Masks parts specifically.

a year later