Godot Main::start函数

阅读 94

2022-05-06

  1. If have assign a script by “-s”, the script is the game loop. Create script_loop as MainLoop
  1. Cast mainloop to sceneTree, sml. (The following is the sceneTree in editor)
    在这里插入图片描述

Node include the model in the visual world such as camera,

  1. Add autoLoad node to root (Set on Project > Project Settings in editor)
  2. Set display mode
  3. Set local_game_path
  4. Set network, icon…
OS::get_singleton()->set_main_loop(main_loop);

精彩评论(0)

0 0 举报