#Flllowing brackeys tutorial and ran into a problem
1 messages · Page 1 of 1 (latest)
Make a character body 2d
Then add a collision
Then add a sprite
(Make sure collision and sprite are inside the character body)
(Like this
Character body
collision
sprite
)
(Avoid stuff like
Character body
collisionsprite
)
Also if your scene doesn't have anything other than the player, don't put a camera inside the player, or it will look like the player isn't falling.
is your camera a child of your player
could be when you added the script you were still in the tab he renamed game and clicked within it on a player label , instead of switching to the player tab itself.
( top bar above the image - check u switched to player before you added script.)
oops,
Just now had that not fall issue on a new try too.
so far, cannot figure out how to fix anything done wrong without just deleting the whole thing and starting from scratch. Now no fall, but
must have done a different wrong, cause i did make sure was in player node .
and camera is not in body.
Did you fix yours? if so HOW?
check your scene tree, if the camera is a child of the player (under it and shifted a bit right), then the player always stays in the centre (because the camera follows it) so you can't see the movement
will check