B O G
piggz.co.uk
i am a qt ambassador
TL4 TR4
BL4 BR4

TL TR

Space Invaders in QML

After the April Calligra sprint in Berlin, where one of the topics discussed was QML, I decided to write a simple game as an educational task to learn about the technology. What started as simple experiment taking 2 evenings to get the basics working, turned into a small project that was quite popular on the Maemo forums, and me entering it in the Meego Coding Competitiong 2011. The game is based on (but not intended to be a 100% copy of) space invaders. The ship is controller by the acceleromter or arrow keys, and fires by tapping the screen or space bar.

Features

Acceleromter Controls
Settings Panel
Hi Score Panel
Bunkers
Levels
Sound Effects
Lives

TODO

Global Scores
Bonus Ship

Installation

As of version 0.1.2, the package pgz-spaceinvaders is available in maemo extras-devel repositry, so can be installed from Hildon Application Manager like nay other program.

History

Version 0.3.7 * Give lives every 5 to allow getting past level 18 * Fix bug where ship dissapears * Fix bug when focus is on gemername and then select a key button * Fix bug downloading hiscores * Stop the accelerometer when paused to save battery Version 0.3.6 * Fixed bug in lives display * Fixed bug on server preventing upload of scores * Made harder again! Version 0.3.5 * Changed difficulty logic * Get a new life every 5 levels >= 10 * Added simple intro animations * Wiped settings again for new scoring system * Updated server to require application version * Server will reject impossible scores Version 0.3.4 * Removed bullets when hit * Really fixed bug where mystery ship sound continues if player is killed * Added options for key configuration, left, right and fire * Speed improvement on startup * Better apply of useAccelerometer setting Version 0.3.3 * Added explosion animations * Fixed bug where mystery ship sound continues if player is killed * Moved message window to the bottom and made smaller * Fixed bug in hi score uploading Version 0.3.2 * Moved message window back slightly to appear behind settings * Added versions to required dependancies * Fixed settings bugs/crash on end game Version 0.3.1 * Fixed parsing of global hi scores * Fixed ordering of global scores (website bug) * Fixed duplicate global hi scores on multip open of the pane * Rewrote settings handling * Settings apply instantly now * Quicker startup * Quicker level start * Quicker end game * Slightly slower exit Version 0.3.0 * Added global hi-scores * Upped required version of libqtm to 1.2 (the latest) Global Hi Score Table Version 0.2.2 * Fixed mysteryship sound bug * Aliens now destroy bunkers as they move past them * The game ends when the aliens reach the 'invasion' line at the bottom * Aliens drop down at either end of the screen now Click this bar to view the full image.

Version 0.2.1

  • Internal changes to allow for different screen sizes (aka symbian version)
  • Added bonus ship (300 points, appears at random when there is enough space)
  • Changed way point are awarded (row 1 = 30, 2 and 3 = 20, 5 and 5 - 10)
  • New menu layout with links to homepage/donate

Version 0.2.0

  • Rewrote bunker in C++ for large performace boost
  • Better state handling
  • P pauses/resumes
  • Q quits a running game
  • Better messages

Version 0.1.5

Better keyboard handling for left/right

Version 0.1.4

Version 0.1.3 was the wrong upload, 0.1.4 is what it should have been!

Version 0.1.3

Added Lives
Added Sound Effects

Version 0.1.2

Packaged for extras-devel

Version 0.1.1

Added Hi-Score table
Download

Version 0.1.0

Optimized collision detection
Better acceleromter handling
Cleanup on end game
Bigger settings button
Dont start game if clicking a blank area of the settings window
Download

Version 0.0.9

Added settings window
Download

Version 0.0.8

Bunkers
Aliens now white
No level limit
Better package requirements
Only flashes when fires
Download

Version 0.0.7

Includes 5 levels and better packaging
Download

Version 0.0.6

First mostly usable version
Download

BL BR

RSS Feed
Valid HTML 4.01! [Valid RSS] site by pigg solution designs