ghostsoverboard
12 years agoAdded author, copyright and license information to source files.
Heli Hyvättinen [Thu, 23 Jun 2011 06:09:29 +0000 (09:09 +0300)]
Added author, copyright and license information to source files.

Forgot to add them before first release...
Also changed my screenlitkeeper to correctly state GPLv2.

12 years agoEdited the web page
Heli Hyvättinen [Tue, 21 Jun 2011 16:17:16 +0000 (19:17 +0300)]
Edited the web page

Scaled screenshot smaller, added link to git repository

12 years agoOctopuses no longer need fixed pixmap size
Heli Hyvättinen [Tue, 21 Jun 2011 07:53:05 +0000 (10:53 +0300)]
Octopuses no longer need fixed pixmap size

Also removed obsolete Timercontrolletursas class

12 years agoQctopuses now drop the ghosts when hitting the ship
Heli Hyvättinen [Tue, 21 Jun 2011 07:41:55 +0000 (10:41 +0300)]
Qctopuses now drop the ghosts when hitting the ship

12 years agoClass restructure for octopus
Heli Hyvättinen [Mon, 20 Jun 2011 17:35:06 +0000 (20:35 +0300)]
Class restructure for octopus

Class TimerControlledTursas replaced by class Octopus that derives from
the class TimerControlledGraphicsPixmapObject (where most of the
contents of TimerControlledTursas now are).

Also updated UML model.

Some work towards dropping the ghosts when the ship is hit by an
octopus.

12 years agoOctopuses stay on the screen now
Heli Hyvättinen [Mon, 20 Jun 2011 16:31:07 +0000 (19:31 +0300)]
Octopuses stay on the screen now

12 years agoOctopuses now change direction
Heli Hyvättinen [Mon, 20 Jun 2011 16:07:33 +0000 (19:07 +0300)]
Octopuses now change direction

...when crossing borders or hitting something.

12 years agoCreated a web page for the app.
Heli Hyvättinen [Sat, 18 Jun 2011 17:23:05 +0000 (20:23 +0300)]
Created a web page for the app.

12 years agoAdded debian compat and rules files to git v0.1.0
Heli Hyvättinen [Sat, 18 Jun 2011 12:11:11 +0000 (15:11 +0300)]
Added debian compat and rules files to git

These are unchanged QtCreator generated files.

12 years agoAdded libqtm-dev and libqtm-sensors to build-depends
Heli Hyvättinen [Sat, 18 Jun 2011 12:07:25 +0000 (15:07 +0300)]
Added libqtm-dev and libqtm-sensors to build-depends

12 years agoChanged the program icon etc.
Heli Hyvättinen [Sat, 18 Jun 2011 09:32:22 +0000 (12:32 +0300)]
Changed the program icon etc.

Changed the desktop icon, the icon shown in application manager and the
icon in about box.
Changed the description shown in program manager.
Fine tuning in packaging files.
Cleaned away debug messages.

12 years agoMerge remote-tracking branch 'garage/master'
Heli Hyvättinen [Sat, 18 Jun 2011 08:18:53 +0000 (11:18 +0300)]
Merge remote-tracking branch 'garage/master'

12 years agowelcome
root [Thu, 16 Jun 2011 09:20:02 +0000 (12:20 +0300)]
welcome

12 years agoKeeps screen lit and pauses when app is backgrounded
Heli Hyvättinen [Wed, 15 Jun 2011 11:30:54 +0000 (14:30 +0300)]
Keeps screen lit and pauses when app is backgrounded

The screen is now kept lit unless the game is paused. The game is auto-
(paused or not) before minimizing is restored (using the state of the
pause action from menu).

12 years agostarted to use fixed scene size and upped version number to 0.1.0
Heli Hyvättinen [Tue, 14 Jun 2011 19:01:34 +0000 (22:01 +0300)]
started to use fixed scene size and upped version number to 0.1.0

Fixed scene size is a workaround for a bug in dynamic setting of scene
size. Dynamic setting would be needed for flexible portability.
The game should now be playable. (Although there is just one level, no
octopuses and the screen does not stay lit.)

12 years agoBugtracker adress now fully visible in the about box
Heli Hyvättinen [Tue, 14 Jun 2011 18:50:55 +0000 (21:50 +0300)]
Bugtracker adress now fully visible in the about box

12 years agoAdded bugtracker info
Heli Hyvättinen [Tue, 14 Jun 2011 17:48:22 +0000 (20:48 +0300)]
Added bugtracker info

...to about box and the debian control file

12 years agoPause works again
Heli Hyvättinen [Tue, 14 Jun 2011 17:38:39 +0000 (20:38 +0300)]
Pause works again

Pause re-created to fit current code and stop octopuses too.
(untested for octopuses)
Window title now correct.

12 years agoSet up packaging from QtCreator
Heli Hyvättinen [Tue, 14 Jun 2011 16:56:40 +0000 (19:56 +0300)]
Set up packaging from QtCreator

12 years agoCleaned away some outcommented and debug code
Heli Hyvättinen [Tue, 14 Jun 2011 12:10:35 +0000 (15:10 +0300)]
Cleaned away some outcommented and debug code

12 years agoVictory dialog shown and game restarted when all ghosts found
Heli Hyvättinen [Tue, 14 Jun 2011 12:03:58 +0000 (15:03 +0300)]
Victory dialog shown and game restarted when all ghosts found

Does not support more than one level yet.

12 years agoMerge branch 'randomize'
Heli Hyvättinen [Tue, 14 Jun 2011 08:32:41 +0000 (11:32 +0300)]
Merge branch 'randomize'

12 years agoDebug code changes
Heli Hyvättinen [Tue, 14 Jun 2011 08:31:16 +0000 (11:31 +0300)]
Debug code changes

12 years agoNow sets random seed
Heli Hyvättinen [Tue, 14 Jun 2011 08:23:07 +0000 (11:23 +0300)]
Now sets random seed

And moved setting the background to the constructor of SeaScene.

12 years agoFixed crashes when restrating level
Heli Hyvättinen [Tue, 14 Jun 2011 02:32:49 +0000 (05:32 +0300)]
Fixed crashes when restrating level

...caused by list of moving items not cleared when setting up map,
leaving already deleted objects in the list.

12 years agoMerge branch 'shipimages'
Heli Hyvättinen [Tue, 14 Jun 2011 01:41:07 +0000 (04:41 +0300)]
Merge branch 'shipimages'

12 years agoAdded the number of ghots to test ship images
Heli Hyvättinen [Tue, 14 Jun 2011 01:39:54 +0000 (04:39 +0300)]
Added the number of ghots to test ship images

12 years agoCorrected the file name for the about box image
Heli Hyvättinen [Tue, 14 Jun 2011 01:32:34 +0000 (04:32 +0300)]
Corrected the file name for the about box image

12 years agoAdded the about box
Heli Hyvättinen [Tue, 14 Jun 2011 01:31:33 +0000 (04:31 +0300)]
Added the about box

12 years agoSpread ghost should no longer be placed on top of the ship and octupuses
Heli Hyvättinen [Fri, 10 Jun 2011 02:06:31 +0000 (05:06 +0300)]
Spread ghost should no longer be placed on top of the ship and octupuses

Slots occupied by moving objects now excluded when randomizimg ghost
placing. Needs huge amounts of testing to verify it's working...

12 years agoGhosts now visible aboard
Heli Hyvättinen [Wed, 8 Jun 2011 19:24:44 +0000 (22:24 +0300)]
Ghosts now visible aboard

The ship now has different images for 0-10 ghosts aboard. for more than
ten, the image with ten ghosts is used.

12 years agoMerge branch 'levels'
Heli Hyvättinen [Wed, 8 Jun 2011 10:45:15 +0000 (13:45 +0300)]
Merge branch 'levels'

12 years agoAdded "restart level" to the menu
Heli Hyvättinen [Wed, 8 Jun 2011 10:40:05 +0000 (13:40 +0300)]
Added "restart level" to the menu

12 years agoRestored pause in menu and setupmap clears old items
Heli Hyvättinen [Wed, 8 Jun 2011 10:30:33 +0000 (13:30 +0300)]
Restored pause in menu and setupmap clears old items

Pause was accidentally deleted with other stuff earlier. Setupmap is
ready to be used more than once now.

12 years agoSeaview class added to git
Heli Hyvättinen [Wed, 8 Jun 2011 09:08:14 +0000 (12:08 +0300)]
Seaview class added to git

12 years agoChanged the map creation to create each pixmap just once per round
Heli Hyvättinen [Mon, 6 Jun 2011 17:53:51 +0000 (20:53 +0300)]
Changed the map creation to create each pixmap just once per round

Just in case creating the pixmap from filename actually reads the file
each time, the pixmap is created once per map creation and the same one
is given to QGraphicsItem each time its used.

12 years agoThe ship now drops all ghosts overboard when hitting an obstacle
Heli Hyvättinen [Mon, 6 Jun 2011 17:46:08 +0000 (20:46 +0300)]
The ship now drops all ghosts overboard when hitting an obstacle

The placing of ghosts on the map does not take into account that
octopuses and the ship have moved to new positions (that do not respect
the tile system).

12 years agoShip can now pick ghosts
Heli Hyvättinen [Mon, 6 Jun 2011 17:26:05 +0000 (20:26 +0300)]
Ship can now pick ghosts

12 years agoRemoved some test code
Heli Hyvättinen [Mon, 6 Jun 2011 12:13:00 +0000 (15:13 +0300)]
Removed some test code

12 years agoUpdated the UML plan to reflect code changes
Heli Hyvättinen [Mon, 6 Jun 2011 12:09:48 +0000 (15:09 +0300)]
Updated the UML plan to reflect code changes

Added the ship graphic too

12 years agoAdded plan files
Heli Hyvättinen [Mon, 6 Jun 2011 12:01:01 +0000 (15:01 +0300)]
Added plan files

12 years agoSeparated actual collision detection into subclass Ship
Heli Hyvättinen [Mon, 6 Jun 2011 11:59:29 +0000 (14:59 +0300)]
Separated actual collision detection into subclass Ship

Now uses the class Ship. The separation is to keep the base class
OrientationControlledGraphicsPixmapObject generic and reusable.

12 years agoSeascene map setup places rocks, octopuses and the ship now
Heli Hyvättinen [Mon, 6 Jun 2011 10:43:42 +0000 (13:43 +0300)]
Seascene map setup places rocks, octopuses and the ship now

Also removed placing them from MainWindow.

12 years agoSpreading ghosts now handles situations where there is no free slot left
Heli Hyvättinen [Mon, 6 Jun 2011 10:04:41 +0000 (13:04 +0300)]
Spreading ghosts now handles situations where there is no free slot left

12 years agoSeaScene with randomized ghost positions
Heli Hyvättinen [Sun, 5 Jun 2011 19:56:20 +0000 (22:56 +0300)]
SeaScene with randomized ghost positions

12 years agoTimercontrolledtursas bounding and collision detection changes
Heli Hyvättinen [Tue, 17 May 2011 16:48:54 +0000 (19:48 +0300)]
Timercontrolledtursas bounding and collision detection changes

Bounding to scene now includes calling changeDirection(). (Which is
empty for now). Collision detection/prevention (which also calls
changeDirection()) added.

12 years agoAdded timer controlled item
Heli Hyvättinen [Sat, 14 May 2011 13:23:22 +0000 (16:23 +0300)]
Added timer controlled item

Mostly untested though.

12 years agoCollision detection works
Heli Hyvättinen [Thu, 12 May 2011 08:15:10 +0000 (11:15 +0300)]
Collision detection works

Now stops at rocks.

12 years agoPause now works
Heli Hyvättinen [Mon, 9 May 2011 19:30:01 +0000 (22:30 +0300)]
Pause now works