Skip to content

Examples

Cory Smith edited this page Jan 9, 2024 · 11 revisions

Note: The first 32 examples are ports of the examples including with vbConsoleGameEngine and, as such, retain the associated "low-resolution" and "limited-color" style related to the game engine targeting the Command Prompt (text-mode) display.

01 - Empty

Demonstrates the "boiler plate" necessary to get started.

02 - HelloWorld

Provides a few examples (toggled using the spacebar) of some of more simplistic drawing capabilities.

03 - Mazes

Demonstrates the Recursive Back-tracker algorithm to generate a maze. @javidx9's video

04 - GameOfLife

John Conway's Game of Life demonstrating cellular automata. @javidx9's video

05 - RetroArcadeRacer

A simple racing game example similar to Pole Position. @javidx9's video

06 - Splines1

An example demonstrating Catmull-Rom Splines which offer a way to have curves in your applications. Explores programming related to spline paths and loops that can also be applied to NPC movement. @javidx9's video

07 - Frogger

Yup, it's a game of Frogger. @javidx9's video

08 - Asteroids

And now for Asteroids. @javidx9's video

09 - Splines2

Continuing the example started in Splines1, this demonstrates how to move objects around a spline with a consistent velocity. @javidx9's video

10 - WebCam

A rough example demonstrating displaying video in a from a webcam while converting pixel RGB values into characters with a limited palette and looking "good" (originally targeting Command Prompt). @javidx9's video

11 - PathFinding_AStar

Demonstrates an implementation of the A* path finding algorithm. @javidx9's video

12 - CommandLineFPS_2

A first-person shooter like engine (originally targeting Command Prompt). @javidx9's video

13 - PerlinNoise

Demonstrates the approximation of the Perlin Noise algorithm for use in game design. @javidx9's video

14 - FlappyBird

Yes... FlappyBird (originally targeting Command Prompt) which demonstrates levels that never end and introducing basic game physics. @javidx9's video

15 - AR_OpticFlow

Demonstrates a brute-force implementation of an Optical Flow algorithm. @javidx9's video

16 - Worms1

A Worms-like game. In part 1 focuses on adding game units, particles and some physics. @javidx9's video

17 - Worms2

A Worms-like game. In part 2 focuses on user input, cameras and state machines. @javidx9's video

18 - Worms3

A Worms-like game. In part 3 focuses fit and finish; including unit AI. @javidx9's video

19 - Balls1

Collision detection for circles. @javidx9's video

20 - Balls2

Improves the circle physics-based engine, introduces a more accurate method for tracking time for use in simulations as well as implements an arbitrary edge object that can be used to displace and deflect balls. @javidx9's video

21 - PlatformGame1

Demonstrates a simple yet smooth tile-based 2D platform jumper. @javidx9's video

22 - RolePlayingGame

Creating a top-down roleplaying game. @javidx9's video 1, @javidx9's video 2, @javidx9's video 3, @javidx9's video 4

23 - Breakout

A very quick-and-dirty Breakout-style game. @javidx9's video

24 - Pseudo3dPlanesMode7

Demonstrates a pseudo 3D style display similar in style to the MODE7 implementation on the Super Nintendo. @javidx9's video

25 - RacingLines

Examines a framework to experiment with different racing lines along a parametric track. @javidx9's video

26 - PanAndZoom

Demonstrates a technique to easily add panning and zooming to your application. @javidx9's video

27 - Engine3d1

Introduces vertices and triangles resulting in a rotating cube in 2-axis. @javidx9's video

28 - Engine3d2

Continues from the previous and adds triangle culling. @javidx9's video

29 - Engine3d3

Implements cameras and clipping planes including working with points and matrices. @javidx9's video

30 - Engine3d4

Adds texturing and depth buffers. @javidx9's video

31 - LevelMaker

A crude level editor.

32 - SpriteEditor

A basic sprite editor.


33 - ShadowCasting2D

Clone this wiki locally