Skip to content
A simple Cube Runner clone using the Unity Tiny framework.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets
Packages
ProjectSettings
.gitignore
README.md
tslint.json

README.md

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"
		]
	}]
}
You can’t perform that action at this time.