#A Stupid bug i'm having

35 messages · Page 1 of 1 (latest)

twin ginkgo
#

So yea i know This is kind of Dumb But i'm a begineer and i'm using the Godot documentation And i do not know how to fix this can somebody tell me

normal sonnet
#

Hi, could you expand _process func ?

twin ginkgo
#

Ok

#

Also i am probably pretty stupid for not being able to figure this out

normal sonnet
#

and what the entire error message ?

twin ginkgo
#

E 0:00:00:0705 load: Failed to load script "res://FirstsScript.gd" with error "Parse error".
<C++ Source> modules/gdscript/gdscript.cpp:2656 @ load()

normal sonnet
#

I think begause you've got 2 func _process()

twin ginkgo
#

Oh

normal sonnet
#

line 4 & 13

twin ginkgo
#

Ty then

normal sonnet
#

try to delete the second, it should work

twin ginkgo
#

And sorry for wasting your time on This stupid Question

normal sonnet
#

it's ok 🙂 we all start somewhere 🙂

twin ginkgo
#

Thank you man

normal sonnet
#

no problem 🙂 have fun

#

i'm a beginner too but i'm a frontend web dev so it's easy to learn gdscript etc...

#

if you're a beginner with Godot + GDScript it could be difficult to understand all the things

twin ginkgo
#

Also im having this var velocity = Vector2.UP.rotated(rotation) * speed

position += velocity * delta

#

In the code too

#

And it gives me unexpected identifier

#

At line16 1

normal sonnet
#

show me all the code ?

twin ginkgo
#

O K

normal sonnet
#

line 13 : "pass" should be deleted

#

line 14 & 16 should be in a "_physics_process()" func

twin ginkgo
#

Ok

normal sonnet
#

you should learn gdscript with gdquest on youtube before making game alone i think

twin ginkgo
#

I Am just tryna Learn the basics Rn with the godot documentation

#

Not trying to make an actaul game

#

After i finish the Getting started part

#

I'll Start with tutorials

#

So i can have a Basic understanding

twin ginkgo
#

Also florian i hope you have a good day