Username:     
Password:     
             

Projects
Space 2D
 
Space invader type game

Code size:566 Kb Author:yrt
Source files included:yes Version:
Use circleOS:yes (4.6) Creation date:2013-10-07 11:01:56
Hardware modification:no Modification date:2013-10-07 14:28:28
Based on the STM32 Primer:EvoPrimer
   
Downloads:2323 Views:31379
   
Vote:
Average ratings:0/5 (0 rates)

Download:    Space-2D-.zip (1495 KB)

Description:

 

SPACE Combat 2D

DMA2D (Chrom-ART Accelerator) game

(EvoPrimer STM32F429I only)

 

Presentation

SPACE 2D is a "Spave Invader " type game. The application uses the new DMA-2D CircleOS API's to manage several sprites on the screen (meteorites, spaceships, bullets, lasers...)

Rules

You have 4 lives. Destroy the enemies, avoid their bullets, the meteorites and the laser, If you touch them, you lose a life.

There is 4 stages of game, with progressive difficulty.

Controls

Joystick 

  • PUSH   :  Shoot a bullet
  • UP         :  Pause
  • RIGHT  :  Sound on
  • LEFT     :  Sound off
  • DOWN  :  Exit the game

TILT GAME (MEMS accelerometer): Moves ship

Screenshots

 

Notes :  

  • The "Evo_Circle_STM3242x.elf", "FAT.elf" and "FAT_OP4.elf" files location depends on your Ride installation; delete them from the projet and add it back before building the project.
  • This example runs only on STM32F429I platform.
  • The screenshots have been made thanks to the "UTIL_SaveScreenBMP" API function.
  • For more information about the CircleOS API's, see :   Circle OS Conception document