+1 vote

So, I've been porting my Godot2 game to Godot3,

And i realize that in Godot 3, default value to setprocess() and setprocess_input() and another function that checking every frame is set to true.

This is different from Godot 2 which if you want to activate it you must call setprocess(true) or setprocess_input(true) inside _ready().

So, is it a Bug or New Workflow for game development using Godot 3?

in Engine by (81 points)

1 Answer

+1 vote
Best answer

Yes, this is default behavior in 3.0.

by (20,913 points)
selected by

And is not "by default true", just auto-set to true if the script has it, can be disabled on ready.

Okay, will make a little adjustment to my Godot2 scripts. :)

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 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 webmaster@godotengine.org with your username.