Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Tiny Cube Runner

Screenshot

This project is a simple Cube Runner clone created using the Unity Tiny framework.

At the time of submission, Unity Tiny is currently developed using TypeScript (prior to its switch to using C#). I used this as an opportunity to:

  • Become more familiar with TypeScript (I've only dabbled in it a little bit.)
  • Have a go at faking a 3D game environment in a strictly 2D game framework.
  • Have a little bit of fun 😄.

There isn't anything revolutionary in here, but I have not seen any examples of Unity Tiny being used for anything 3D yet.

Demo

The game runs in the browser as a simple canvas element and has support for either a touch screen or keyboard/mouse.

Feel free to try the game here: https://renscreations.com/files/cuberunner/

Patterns

The cube patterns are data-driven, read via a patterns.json file using a very simple format.

An example of the pattern file with a single pattern available:

{
	"patterns": 
	[{
		"lines":
		[
		"xxxxxx---x",
		"-----x---x",
		"----x---x-",
		"---x---x--",
		"--x---x---",
		"-x---x----",
		"x---x-----",
		"x---x-----",
		"x---x-----",
		"-x---x----",
		"--x---x---",
		"---x---x--",
		"----x---x-",
		"-----x---x",
		"xxxxxx---x",
		"x--------x",
		"x--------x"
		]
	}]
}

About

A simple Cube Runner clone using the Unity Tiny framework.

Resources

Releases

No releases published

Packages

No packages published