kthenrique / Haste-Space

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C 96.0%Language:Assembly 2.3%Language:C++ 1.5%Language:Python 0.2%Language:Makefile 0.0%