- Edited
Hello everyone !
I have just started with GDExtensions, and I am trying to make the Dodge the Creeps 2D game as a GDExtension. Well I have not gotten that far yet. I made the Player scene, and it seams to work OK. However, it looks like the _process method is being called even before I start the game. And it is giving me a million errors:
The InputMap action "go_right" doesn't exist. Did you mean "ui_right"?
I know the "go_right" action is not missing, because I use it (and it's friends) to move the Player while the game is running.
Could it be that I messed up the initialize_dtcgdx_module call? I am using:
void initialize_dtcgdx_module(ModuleInitializationLevel p_level) {
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
return;
}
ClassDB::register_class<PlayerGdx>();
}
Or is there a flag or something I should be checking before quarrying the input for the "go_right" action?