#Do you know any tutorials that explain the engine as a whole?

1 messages · Page 1 of 1 (latest)

alpine glacier
#

I'm trying to make a card game and every beginner friendly tutorial i find is about some some platform or bullet hell type game. i think i can just figure it out myself once i understand the engine as a whole

halcyon marsh
#

As a summary:

  • Each scene contains any amount of nodes.
  • Each node contains both a class and properties. (So, it is an object)
  • The SceneTree, which holds all nodes present (and therefore holds a scene), makes calls to all nodes in an order from top to bottom (for general processing functions like _process() and _draw()) and from bottom to top (for input related functions, so the objects drawn above get priority)
  • Nearly all node classes have virtual functions that you can override to take advantage of those calls. This is done by simply creating a function with the same name (all virtual functions start with an underscore)