Skip to content

An example project for demonstrating the usage of GodotJS

License

Notifications You must be signed in to change notification settings

ialex32x/GodotJSExample

Repository files navigation

GodotJSExample

This project includes examples at different complexity levels, incrementally introducing and utilizing more engine features.

A prebuilt version of Godot Editor can be downloaded from GodotJS-Build.

Snake

A simple snake game. In this example, only a limited subset of Godot's features is utilized:

  • script lifetime callbacks (_ready, _process etc.)
  • resource loader
  • using primitive types (float, bool, string, StringName)
  • export variables

Snake

JumpyBird

Additional features used:

  • Signals (connect area_shape_entered signal with js class member function)

JumpyBird

Piggy

Additional features used:

  • signal_ annotation
  • onready_ annotation
  • export_ annotation

Piggy

Releases

No releases published

Packages

No packages published