#basic issue but im new

55 messages · Page 1 of 1 (latest)

night wolf
#

Hello so im watching a video and they told me to use the basic movement template but when i add it and click play nothing happens at all

#

please help

rocky surge
#

can you show a screenshot that script in the editor?

night wolf
#

yes like the code

rocky surge
# night wolf

and with nothing happens you really mean nothing? because given the code it should still fall down even without any input.
Or did you also change some other settings of the characterbody or physics related project settings? (i doubt it since you said you're following a tutorial)

night wolf
#

Yeh it does nothing doesn’t fall like it did on the tut only thing I did different is the sprite I didn’t use there sprite I used my own

rocky surge
#

and also nothing happens if you press the arrow keys?

night wolf
#

yeh even with arrows keys nothing happen

rocky surge
#

okay, first i would check if the physics_process on the script works by putting print("process") at the start of that part. then run the game and check the console at the bottom of the editor and see if anything gets printed out.

night wolf
#

Okay 1 sec

#

yup

#

works

#

and i thought godot would be easier then unity 😭

night wolf
#

yeh no

#

i redid the scene added a new everything

#

and still doesnt do anything

rocky surge
night wolf
#

its fine dw i might just move to unity again since ima do hand drawn sprites

rocky surge
night wolf
rocky surge
#

you could then also maybe zip the project folder and send it to me and i could see if i can reproduce the problem (you can leave out things like textures if that's something you don't wanna share)

night wolf
#

okay gimme 5-10mins

rocky surge
#

just your project folder, although i realised that only leaving out certain files during ziping of a folder isn't really possible.

#

you could also just first do that with printing out delta.

night wolf
#

oh mb too late i export it lmao

#

oh wait

#

can u open the thingy

rocky surge
#

okay, delta looks fine.
And having the exe doesn't really help. i wanted your unexported project, so the project.godot file along with the scene-files and script-files.

night wolf
#

hmm how would i do that then do you know

rocky surge
# night wolf hmm how would i do that then do you know

Just right click the bottom left file explorer and select "open in explorer" or something like that. then you can navigate up to the folder that contains the project.godot file and zip that one. The files shouldn't really be hidden, but i guess you didn't really think about where to put the files on project creation.

But before that, one more thing you could check is print out the position of the character if it maybe actually moves but the sprite doesn't for some reason.

night wolf
#

the last part how could i check that

rocky surge
#

print(position)

#

like with the last 2 things you printed out

night wolf
#

OH ?

#

is that good or bad

#

OH I MIGHT BE STUPID

#

could it be cus i had the camera on the player?

rocky surge
#

yes

#

XD

night wolf
#

LMAO

#

OKAY IM A BIT SLOW

#

it moves now tho lmao

rocky surge
#

don't feel too bad, it happened me as well

night wolf
#

well thank you for all ur help

rocky surge