Skip to content

Latest commit

 

History

History

demos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Demos

Each of these demos showcases a small concept or feature of engo, or even a more sizable sample game. They have been sorted into categories below.

Conceptual

Run engo without a graphical display. Useful for servers and testing.

Run some code, just before the window is actually closed (whenever the user presses the close button, for example).

Bundle assets into final binary for easier distribution.

Bundle assets into final binary for easier distribution using go embed.

Graphics

Render and display a single sprite.

Have multiple animations.

Hide sprites.

Use the camera features to create zooming in/out effects.

A simple sample game

Add HUD elements to your games. Learn about priorities.

It demonstrates how one can efficiently draw various shapes in solid colors (with/without border).

It demonstrates how one can manipulate the scale, by using a very simple custom System.

It demonstrates how one can create a rotating Entity.

It demonstrates how one can efficiently draw text onto the screen.

It demonstrates how one can use multiple Scenes, and switch between them.

It demonstrates how one can move the camera gradually, instead of instantaneously.

Audio

Play music and sounds on different events.

Scrolling

Scroll by using mouse movement.

Scroll according to movement of an entity.

Scroll using the keyboard.

Use the mouse to scroll in and out. (zooming)

It demonstrates how one can rotate the camera, using the middle mouse button.

Games

Engo implementation of the original pong game

Input

Demonstrates basic keyboard input

It demonstrates how one can move the camera round, by pressing WASD.

Demonstrates basic mouse input

Move a sprite using the mouse

Tiled

It demonstrates how one can load and render a TMX file created from the TileMap Editor