Username:     
Password:     
             

Contest 2013/2014
Contest 2011
Contest 2009
Contest 2008
Canyon 1.2
 
You're stuck in a canyon with your spaceship and can not fly away... Survive as long as you can avoiding the obstacles that you may find on your way using your fantastic flying capabilities.

Code size:22 KB Author:tybos
Source files included:yes Version:1.2
Use circleOS:yes (1.7) Creation date:2008-02-05 20:32:40
Hardware modification:no Modification date:2008-03-08 11:38:58
Based on the STM32 Primer:Primer1
   
Downloads:1194 Views:22480
   
Vote:
Average ratings:3.19/5 (986 rates)

Download:    Canyon-1.2.zip (53 KB)

Description:

 


 

Canyon 1.2

 

This project has as main objective to demonstrate the MEMS capability and to give you some fun too !

 

1.1 to 1.2 improvements :

 - Fixed a bug on initialization of Mems info when starting in Practice mode.
 - Fixed the display of Menu background when the Primer was in Orientation 0 or 1.

 - Added a Reset menu entry to let user reset the Mems settings without leaving the application.

 



Gaming aspects

Goal :

  Fly along the canyon avoiding to crash on the sides, the stones and the bridges.
  Use the sensitiveness of the MEMS to control your moves :
   - lean it left or right to make the ship move sidelong
   - lean it backward or forward to make the ship go up or down
  The game becomes harder and harder as you manage to go through the obstacles.
  Try to make the greater score.
  (Largest score that can be stored is 511 so please if you manage to overflow it,
  write it somewhere and post it as a comment of the project)

 

Gaming Note :

  You should better start in practice mode to get acquainted with
  the controls before trying to beat any high score ...

 

 



Technical aspects

This application can run under CircleOS from 1.5 to latest and uses two User backup registers (BKP_USER3 & BKP_USER4).

There is a big limitation for game that use complex graphics because of screen afterglow so I chose to take the better from the screen capabilities basing the game on the scroll function.

See Readme.txt and src/Canyon_defs.h to have further information on the implementation.

 


Tybos