Close

Tanks!

A project log for 1D Gaming

ultimate reduction in gaming

treibairtreibair 06/24/2016 at 21:540 Comments

Another classic game from the old days can easily be played in full 1D-glory:

Tanks/Scorched Earth/Artillery Duel....there were many names for it and it was basically Angry Birds a long time before Angry Birds. The concept is simple: two or more players are at fixed positions on the map and have to aim a ballistic shot at their opponents.

As I wanted it to remain simple and playable with one button, I decided to remove the vertical aiming and opted to a fixed angle (45 degrees). The strength of the shot can be controlled by pushing the fire button longer or shorter.

The shot is influenced by wind (can be seen before the shot by an indicator animation in the center) and gravity. The trajectory is modelled in two dimensions but of course only a 1D display is used.

Initially both players are five pixels wide and fire a one pixel bullet. The bullet explodes into random particles upon impact (1D-animation-galore!). If a player is touched by the particle FX, the player is hit and loses a life (and a pixel in width). The game is over when one player has lost all his lifes.

Discussions