Commit Graph

62 Commits

Author SHA1 Message Date
Rob Pearce deee1d0a97 - Music is now paused when the game is paused
- Cleaned up main loop by moving large code blocks into functions
2008-10-16 01:47:09 +00:00
Rob Pearce ad9180fe1b - Fullscreen toggle now works 2008-10-16 01:24:41 +00:00
Rob Pearce f600e0f39a Removed unnecessary GL comamnds 2008-10-16 00:23:42 +00:00
Rob Pearce 6e6e07477a Prevent snail shells from living forever if they don't hit the ground 2008-10-15 10:03:01 +00:00
Rob Pearce 775c269d74 - don't kill all enemies after 5 cards if you're going to skip levels 2008-10-15 09:59:50 +00:00
Rob Pearce c9d7663a31 Getting a set of 5 cards now instantly wins the level. 2008-10-15 09:58:54 +00:00
Rob Pearce 1ca3dbab33 - Added new levels
- Caught monsters who die now become uncaught
2008-10-15 09:26:09 +00:00
Rob Pearce 11ad399497 - bugfix: can no longer move while on cloud
- reordered levels
2008-10-15 07:21:41 +00:00
Rob Pearce b1b1b87d88 Increased point value for pairs and two-pairs 2008-10-15 06:39:30 +00:00
Rob Pearce 6d20227028 Fixed bug with cloud movement speed during level transition
Can no longer skip boss levels
2008-10-15 06:38:43 +00:00
Rob Pearce ba07c36765 Tweaked level order
Fixed bug where splash sound would play for corpses
2008-10-15 06:22:00 +00:00
Rob Pearce 9ad9277585 - bugfix: tick was dorpping when at same y level as player
- bugfix: don't call adjustx() while on cloud
- bugfix: cloud was sometimes not making it to the start point

- now pausing music when you get 5 cards
- if you kill 5 monsters at once, the 5th now always becaomes a card
- 1 in 5 change of a card every time you get a powerup from monsterkilling
2008-10-15 04:51:17 +00:00
Rob Pearce fb1ca7cc83 Added more sound effects for cards 2008-10-15 03:34:13 +00:00
Rob Pearce 9d2ac9010b - added sound for cards 2008-10-15 03:24:24 +00:00
Rob Pearce fb0be14362 Added playing cards - you get them if you were going to receive a powerup
which you already had.

Get a poker hand for effects!

No longer checking for collisions on effects
2008-10-15 03:20:10 +00:00
Rob Pearce b32043b53f Recent additions... 2008-10-14 19:36:51 +00:00
Rob Pearce e0e2c0e4d3 Re-drew spider sprite 2008-10-13 01:33:41 +00:00
Rob Pearce 8da2612deb Replaced coke can with tick
Added scuba mask powerup

Added "flood" powerup (tap)

Fixed bug where monsters could move through midair after gameover

Path to background images is no longer stored in level files
2008-10-13 00:43:01 +00:00
Rob Pearce 6c48431e0b - Added new mosnter - fish (similar to bee but underwater)
- Fixed isplacable() in editor for recently added sprite types
2008-10-10 10:06:40 +00:00
Rob Pearce 8d7a84ad68 - When you jump while on conveyor belts, their direction is added to yours.
- Can no longer skip boss levels with a telephon
2008-10-10 09:11:53 +00:00
Rob Pearce 9949690935 - Changed cloud.png to be small version of blackcloud.png (for use in doco)
- Music now dims when you enter the water
- You now get permenant shoes when you beat king rat
2008-10-10 05:29:35 +00:00
Rob Pearce cc19cd81e9 - bugfix: shouldm't be able to slam while climbing 2008-10-10 04:02:09 +00:00
Rob Pearce 24e71aca9e - Added new powerup: ufo (meteors fall from the sky) 2008-10-10 03:53:59 +00:00
Rob Pearce af568df64e Shuriken is now a set powerup as well as random 2008-10-10 02:49:15 +00:00
Rob Pearce 2fe86b549e Added powerup: ninja star 2008-10-10 02:46:56 +00:00
Rob Pearce 79a3ea6549 - Rings now give more points, but get disabled at HurryUp time
- Fixed up insanely high hurryup times on some levels
- Fixed bug where editor would default to random high hurryup time
- Added "Nice catch!" feature - 4x points for grabbing a fruit just as it lands
2008-10-10 01:30:40 +00:00
Rob Pearce 730f603dd6 Added powerup: extra life 2008-10-10 00:51:40 +00:00
Rob Pearce 3f0346dafe Added powerup: phone (skips 2 levels) 2008-10-09 23:49:43 +00:00
Rob Pearce 99dd423a7b - Redrew black cloud of doom and changed code slightly
- Moved editor font to data area
- Added code to create .app
- Mouse cursor now hidden
- Removed unused files
2008-10-09 23:12:51 +00:00
Rob Pearce 1050dcd0b0 Moved backgrounds to data dir 2008-10-09 21:04:41 +00:00
Rob Pearce b87955fb11 Moving data files to a single location
** THIS BUILD WON'T RUN **
2008-10-09 20:51:09 +00:00
Rob Pearce d93ab72ed1 Added ability to toggle fullscreen (press "f") 2008-10-09 20:03:17 +00:00
Rob Pearce 6221e5f777 test 2008-10-09 09:43:43 +00:00
Rob Pearce 04a7f02211 - bugfix: walk ring shouldn't work while swimming
- bugfix: fixed ladders behaviour
- bugfix: dont play splash sound effect for mosnters which start in the water
- added boss music
- top/bottom of screen now wrap around
- bees no longer avoid the top/bottom of the screen
- added new moster: snail/slug
- swimming sprites now create bubblse
2008-10-09 03:32:15 +00:00
Rob Pearce 095c92d17f - Added screenhsots
- Fixed another end of level crash related to killing sprites after nextlevel()
- Fixed crash in adjustx() when mosnters were in water
- Should turn off player->climbing when the pink Turncloud hits them
- If player isn't fast, force next mosterkill powerup to be speed
2008-10-07 07:58:36 +00:00
Rob Pearce f2832e4da4 GAME:
- bugfix: bomb wasn't decrementing netcaught
- bugfix: Fixed mask on red "angry" overlay
- bugfix: Ice from snowman now extends on to edge tiles
- bugfix: dotileeffect() no longer affects bullets/effects
- bugfix: fixed bug where invulnerability wouldn't cause flashing
- tweaked difficulty on "look out above!"
- Added pink cloud on which player travels to the next level
- Added boss: King Rat
- Added powerup: fly spray (slows monsters)
- Added powerup: fusion cannon 

EDITOR:
- Added status bar containing various info
- Can now move level position via the editor
- Now quit using 'q', not 'esc'
- Inactive layers are now dimmers, toggle this with 't'
- Remove 'endmaps' and all mapping code from level files
- Removed monstertochar() and chartomonster() functions
- Removed old inline monster code in level files
2008-10-07 05:53:06 +00:00
Rob Pearce af7a793903 - added many new tiles
- re-ordered levels
- fixed bug with underwater fruits
2008-10-04 02:05:05 +00:00
Rob Pearce 053262ff2c - bugfix: move sprites away from walls when jumping/swimming to avoid getting stuck
- bugfix: don't trigger trampolines while moving to new nevel
- bugfix: clock powerup should turn off when you win the level
- tweak: don't create flipped/angry images for fruits or effects
- feature: new powerup - snowman. turns level and monsters to ice
- feature: new tiles: ice, icetop
- feature: new sprite image: icecube (used for freezing monsters)
2008-10-03 11:11:07 +00:00
Rob Pearce 55ce7e640f - feature: new tile - Web
- feature: hit P to pause
- feature: add sparkles to net
- feature: now reading background image file from level.dat
	(replaced level->tileset with level->bgfile)
- feature: added swimming frames for player
- feature: show level # at top of screen
- feature: added backgrounds for future worlds
- feature: new powerup - stop time
- feature: new powerup - trophy (all perm powerups)
- feature: new powerup - gold ring (points for walking)
- feature: new powerup - silver ring (points for jumping)
- feature: new powerup - helmet (protects you from dying once)
- feature: new powerup - bonus x2 (extends fruit streams)
- feature: new powerup - bell (warns when the random powerup is a perm one)
- tweak: random powerup now decided at start of level, to allow bell powerup to work
- tweak: increase mace powerup image size
- tweak: Bombs now kill monsters which you have caught
- tweak: All fruits now worth more points
- tweak: Moved display of lives down slightly
- bugfix: spider movement
- bugfix: don't play sound when you try to shoot/jump while climbing
- bugfix: fruits shouldn't hold down trampolines
- bugfix: mace kills shouldn't give powerups
- bugfix: mace slam collision detection now works better
2008-10-03 07:37:05 +00:00
Rob Pearce 81c812cf3c - Turned off double buffering to increase speed
- Implemented lives - displayed underneath score
- Extra life at every 100,000 points
- Game over after you lose all your lives (with sound effect)
- Added commas to score display
- Increased time after hurryup from 10 secs to 15 secs
2008-10-01 12:42:59 +00:00
Rob Pearce 388f50ccfc - Made level transition smoother and fixed bug with player movement
- Fixed bug - couldn't climb ladders next to walls
- Now using outlines instead of shadows on text
- Tweaked text colours
- Added KABOOM! to bomb and BIFF POW etc to boxing glove
- Now drawing puffs last to make sure they are on top of things
- Redrew graphics for rat, bee, snake
- Changed to new font (and renamed it to gamefont.ttf)
- OpenGL mode now mostly works (still need to fix angry sprite images, initial level transition and fullscreen mode)
- Replaced all .bmp format graphics with .png format
2008-10-01 07:27:44 +00:00
Rob Pearce 5b272b4665 - Fixed bug with jumping off ladders
- Fixed issue when dropping throughbridges and moving at the same time
- Can no longer climb while slamming/netting
- Modified behaviour of flowertogem powerup
- Level orderis now read from levels.dat
- Editor now handles loading an empty level
- Added sounds for teleportation and entering/exitting water
- Fixed swimming in water behaviour
- Added powerup:  Mace
2008-09-30 07:42:09 +00:00
Rob Pearce e345436130 - Added new sprite images
- Added new tile: trampoline
- Bugfix: Collision detection sometimes didn't work
- Bugfix: Jumping out of water didn't work
- Spiders now have a delay between drops
- Bugfix: Jumping near a wall sometimes didn't work
- There are now 2 layer of tiles - so that tiles such as spikes
  can be placed on top of any tile type.
- Removed tiles which are now redundant: waterspikes, cavespikes, etc
- Made some tiles transparent now that a 2nd layer is possible (eg. 
  ladder, bridge)
2008-09-29 08:32:56 +00:00
Rob Pearce d1786a5f11 - Added cheat mode
- Added powerup: shield
2008-09-28 05:19:23 +00:00
Rob Pearce f1962993b2 Fixed bug with slamming a monster off the side of the screen 2008-09-28 05:02:30 +00:00
Rob Pearce f490e145f4 - Fixed editor bug where player position wasn't shown
- Added powerup: bomb, kills all monsters
- Added powerup positions to all levels
2008-09-28 04:42:09 +00:00
Rob Pearce f988e4822b - Added new powerup - convert flowers to diamonds
- Added new powerup - convert flowers to gems
2008-09-28 04:09:12 +00:00
Rob Pearce 579526c983 Fixed boxing glove bug - wasn't ever finishing level 2008-09-28 03:31:46 +00:00
Rob Pearce f6d5d4285e - Added new tiles: honeycomb, cave, up/down signs
- Added new fruit: diamond

- Level transitions are now smoother
- Levels now contain exitdir (which way to scroll when completed)

- Added random powerups on each level (if you define a position in the editor)
- Added temp powerup: boxing glove
2008-09-28 03:18:36 +00:00
Rob Pearce 9b2ff9f4ca - Added animation for slamming 2008-09-27 10:50:19 +00:00