Commit Graph

49 Commits

Author SHA1 Message Date
Rob Pearce 0efde07a9f Fixed editor crash
New level
2008-10-29 21:54:53 +00:00
Rob Pearce 9ca91a014d Fixed crash when teleporting while pinkcloud was coming in 2008-10-26 03:31:16 +00:00
Rob Pearce dce734bf0f - Can now slam with 'c', or joystick button 2 or 3 2008-10-23 06:26:13 +00:00
Rob Pearce 7ed58e0d65 - Removed usage of debug keys without cheat mode
- Modified display of hiscores on title screen
- Code to make joystick work during hiscore entry
2008-10-23 03:27:54 +00:00
Rob Pearce 14b9b25098 - hiscores now shown during title screen-
- easy mode no longer gives longer invulntime
2008-10-23 03:21:15 +00:00
Rob Pearce da042b079a Easy mode now has a 50% points penalty 2008-10-22 20:34:58 +00:00
Rob Pearce 63802db4ae - Hiscore submission now works
- Added new hiscore music
- Added commandline options -hs and -hp to override default hiscore server
2008-10-22 19:40:10 +00:00
Rob Pearce 807381a53e - Added more hiscore code
- Now including server-side hiscore compilation code
2008-10-22 01:38:31 +00:00
Rob Pearce 8b6e15051b Added initial hiscore code 2008-10-22 00:51:09 +00:00
Rob Pearce b3bda9cb2d - Added credit handling ready for usage on MAME machine
- Joystick buttons can (in theory) now be used to clear help text and drive
  title screen
2008-10-20 21:40:00 +00:00
Rob Pearce 404bf4eb4a - Updates to joystick code ready for mame machine 2008-10-20 20:38:40 +00:00
Rob Pearce f39e2ef53a - Added "Easy Mode" - gives more lives, longer time limit before hurryup, longer invulnerability at start 2008-10-19 22:58:54 +00:00
Rob Pearce 587fe83089 Cleaned up player death routine
Added honey and winged boots to haspowerup()
Moved monster release into uncatch()
2008-10-19 09:00:03 +00:00
Rob Pearce cdf82e72e6 - Game now drops to title screen after game over
- Fixed freeze bug if you got luckiness without having any cards
- Luckiness is now done via the 4-leaf clover object, and visually displayed
  by flashing the score
2008-10-18 03:18:24 +00:00
Rob Pearce c4b48e993d - Killing 5 monsters simultaneously will force cards appearing on the next
level to be good (ie. match suit, value, or value +/- 1 of current cards)
2008-10-17 18:39:22 +00:00
Rob Pearce 5f260a9ae9 Modified behaviour of help text - it now stays on the screen until you press Z
to clear it.
2008-10-17 11:15:27 +00:00
Rob Pearce 79ac13691a - Added black border around cards
- Flood effect (tap) now times out after 20 seconds to avoid getting stuck
- Clock timer now does not display during poker effect
2008-10-17 02:05:54 +00:00
Rob Pearce d08cbbd193 - Poker effect now described on black screen as well as afterwards 2008-10-16 05:51:30 +00:00
Rob Pearce 6c7a61134e Added title screen 2008-10-16 03:47:16 +00:00
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 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 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 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 d93ab72ed1 Added ability to toggle fullscreen (press "f") 2008-10-09 20:03:17 +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 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 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
Rob Pearce 89cce7f749 - help text now appears on top of sprites
- powerup counter is reset when you die
- fixed bug preventing jumping near a wall
- fixed bug: hurryup cloud shouldn't be able to teleport
- conveyor belts no longer affect fruits 
- editor now has delay after adding a sprite to prevent duplicate
- properly rendomized direction that monster corpses go in
- music now speeds up after a HURRYUP
- snakes can no longer walk up slopes
- added sound effects for HURRYUP and TOO SLOW
- getting all fruits on the level now makes gems shoot out sideways
- dead monsters now create a puff before turning into a fruit
2008-09-27 06:02:42 +00:00
Rob Pearce c80fb57c54 - Updated doco for adding sprites
- Added new monster - coke can (like angry rat)
- Added sound and music
- Fix score sizes for flowers
- Can no longer turn while slamming
- Fixed bug with sprite starting position
- Can now drop through bridges with down+jump
- New graphics for conveyor belts
- Added more flower types
- Added new player frame for shooting
2008-09-26 09:51:17 +00:00
Rob Pearce bbe1aca358 - Split code into multiple files
- Removed unused code from edit.c / rc.c
- Changed level format from ascii to comma seperated numbers

- Began commentin of data structures / globals
- Renamed some variables to be more meaningful
- Replaced many hardcoded values with macros

- Modified greentiles grass graphic
- Added cloud graphic

- Fixed score bug (score would jump super high)
- Fixed what looks like a bug where snakes would only shoot one way
- Fruits no longer turn red after a hurry-up
2008-09-17 02:34:39 +00:00
Rob Pearce f757faa957 - Fixed bug where score would go super high
- Changed level format - monster definitions are now above level.
- Added new fruit type - HELP.  Shows a message on the screen.
- Fruits placed during initial level creation now never time out (at present
  only HELP can be placed like this though)
- Time to display text is now configurable.
2008-09-16 02:39:33 +00:00
Rob Pearce 1ca89f9f6d 2006-11-06 09:16:19 +00:00
Rob Pearce cda053664d changed sprite removal method
added angry attribute
added hurryup time
added powerups:
        speed
        extra net
        big net
fruits now disappear after a while
arrows don't affect monsters
added monsters:
        bee
        spider
	cloud
player now progresses a level when all mosnters are dead
2006-01-31 06:18:01 +00:00
Rob Pearce 22deb49a43 Movement tweaking 2006-01-29 22:08:01 +00:00
Rob Pearce 6045f2ffed Added some more test levels
Fixed bugs where monsters would fall through floor sometimes
Player can now die & respawn
Spikes now kill player
Monsters now kill player
2006-01-27 13:38:40 +00:00
Rob Pearce 4091b98e58 Changes to rat movement
Added points
2006-01-27 06:28:28 +00:00
Rob Pearce d6735eea16 o 2006-01-27 06:27:57 +00:00