demos/

directory
v0.0.0-...-8fc0beb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2016 License: MIT

README

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

Entity

Learn how entities are represented and what they do.

Headless

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

Exit

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

Graphics

Hello World

Render and display a single sprite.

Animation

Have multiple animations.

Hide

Hide sprites.

Zoom

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

Falling

A simple sample game

HUD

Add HUD elements to your games. Learn about priorities.

Shapes

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

Scale

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

Rotation

It demonstrates how one can create a rotating Entity.

Text

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

Scenes

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

IncrementalCamera

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

Audio

Audio

Play music and sounds on different events.

Scrolling

Edge Scroller

Scroll by using mouse movement.

Keyboard Scroller

Scroll using the keyboard.

Zoom

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

MouseRotation

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

Games

Pong

Engo implementation of the original pong game

Input

Input

Demonstrates basic keyboard input

Keyboard Scroller

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

Mouse

Demonstrates basic mouse input

Mouse Follow

Move a sprite using the mouse

Tiled

Tilemap

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL