Skip to content

A game with pygame, an accelerometer sensor as joystick and the uC XMC4500

Notifications You must be signed in to change notification settings

kthenrique/Haste-Space

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haste-Space

version_screen menus_screen game_screen

Motivation

  • University project at the FH Technikum Wien
  • Familiarisation with a uC
  • Sensor <-> uC <-> Computer Communication

Dependencies

Configuration

configuration

How to Play

  • The goal is to capture the star as fast as you can
  • You should avoid shooting meteors and other spaceships as it increases the timer at the end
  • Navigation:
    • Button 1: Shooting in game
    • Button 2: Pause in game
    • Button 2 followed by button 1: finish game and go to menu
    • Button 2: Transition of scenes (e.g. from Menu to About and vice-versa)

Troubleshooting

  • If you're having problem building the code, maybe this can help:
$ mkdir -p $HOME/Bin; cd $HOME/Bin  
$ curl -LO https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-update/+download/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2  
$ tar xjf gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2  
$ echo 'export PATH=$HOME/Bin/gcc-arm-none-eabi-5_4-2016q3/bin:$PATH' >> $HOME/.bashrc  
$ rm -rf gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2  
  • Or if you're using Ubuntu 16 or greater, just install gcc-arm-none-eabi:
$ sudo apt install gcc-arm-none-eabi

About

A game with pygame, an accelerometer sensor as joystick and the uC XMC4500

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published