Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Golem examples

Demonstrate a simple camera system with:

  • Culling
  • Zooming

Run

$ go run github.com/t-geindre/golem/examples/camera@latest

Demonstrate how a nodal system can be implemented with Golem. Each entity is a node that can have children nodes. Geometry and transformations are inherited from parent nodes.

Run

$ go run github.com/t-geindre/golem/examples/node@latest

Demonstrate a scene management system with transitions and lifecycle.

Golem automatically take care of updating and rendering worlds embedded in an entity.

Run

$ go run github.com/t-geindre/golem/examples/scenes@latest

A very simple shoot them up.

Demonstrates how to create a simple game, handle input and collision detection.

Run

$ go run github.com/t-geindre/golem/examples/shmup@latest

A benchmark that renders a lot of squares.

  • Left mouse button to add more squares
  • Right mouse button to remove squares
  • Mouse wheel to increase/decrease the square add/remove rate

Mainly inspired by the Mizu Bunnymark example.

Run

$ go run github.com/t-geindre/golem/examples/squares@latest