Skip to content

clanam/godot-00-tutorial

Repository files navigation

Godot Tutorial

Following along on the godot tutorial @ https://docs.godotengine.org/en/stable/getting_started/step_by_step/your_first_game.html

Other Links:

Running the Game

The game can be run via the godot editor or command line:

alias godot="/Applications/Godot.app/Contents/MacOS/Godot"

# in project root
godot

Running Tests

Unit tests in GUT

  • link to asserts and methods page
  • link to stubbing
alias godot="/Applications/Godot.app/Contents/MacOS/Godot"
alias gut="godot -d -s --path $PWD addons/gut/gut_cmdln.gd"

# in project root
gut

# run only one test
gut -gselect=test_hud.gd

# for orphan debugging
gut -gselect=test_main.gd --verbose
  • -d: run in debug mode
  • -s: run a script
  • --path $PWD: tells Godot to treat the current directory as project root

About

Following along on the godot tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published