Cool

Description: User shoots and collides with enemies
Programmer: Dom
Compiler: Smart Mobile Studio 2.2

Introduction

Young Dom developed this Smart Pascal program as he was learning the language. He had plenty of ideas and asked for help when necessary, for example with collision detection. See the technical features and code on this page below the program in action. Use the arrow or wasd keys to move and the space bar or q to shoot in the direction of your last move. (The wasd and q keys will not cause unwanted page shifts by the browser).

If the program does not work after clicking on the display, try another browser such as Chrome. Note the colour changes of the enemy as its health deteriorates and of the text as you progress through the ranks. Three bullet hits or one collision will kill the enemy and cause another to appear in a random position.

Technical Features

The program benefits from: