Hello,
I had a couple of questions about modules.
1) Using modules, it's not possible / advised to use C++ constructors. I'm guessing the replacement for this is implementing a _notification function:
void MyFooObject::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_READY: {`
...
Is this the case? Is there something I'm overlooking?
2) Does a game always need a GDScript entrypoint? I want to develop a game in C++. Do I need to create a root node with a script, that does something like:
func _ready():
MyCppGame.new()
...