0 votes

I wrote the tutorial code written in "creating you first script" in godot engine design philosophy . In the web , it shows godot icon rotation on the canvas . I did the same , but the icon of godot is there and it is not rotating.I didn't even get a typo or syntax error while writing GDscript script that makes rotate .Here is the code :-

extends Sprite

var speed = 400
var angular_speed = PI
func _process(delta):
   rotation += angular_speed * delta
Godot version v3.4.2.stable
in Engine by (12 points)

Your code is working
Godot 3.4 stable

Are you sure the above code is attached to the sprite you're looking at in-game?

Yes , it is the only sprite in the project .

Hmm... This issue isn't obvious to me here. I'd be happy to take a look at the project if it's available online?

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.