Commit Graph

222 Commits

Author SHA1 Message Date
Rob Pearce da87a44e2c Removed debugging 2008-10-26 21:11:06 +00:00
Rob Pearce 840e8b1475 Fixed graphical glitch with flood effect 2008-10-26 21:10:49 +00:00
Rob Pearce 9ca91a014d Fixed crash when teleporting while pinkcloud was coming in 2008-10-26 03:31:16 +00:00
Rob Pearce e37ca153c9 - Added new monster: plant (doesn't move but is affected by conveyor belts)
- Added plants to levels
- More levels
2008-10-24 03:31:25 +00:00
Rob Pearce 000d521676 Fixed possible uninitialised variable uses 2008-10-23 06:30:48 +00:00
Rob Pearce 0158ccf4c1 Fixed various memory leaks 2008-10-23 06:10:35 +00:00
Rob Pearce 4c035e67b8 - fixed infinite loop bug when spider was released with no roof above 2008-10-23 05:57:46 +00:00
Rob Pearce c61b1ae486 Fixed glitch in next level transition graphics when you had wings 2008-10-23 01:38:18 +00:00
Rob Pearce 799f393684 Removed powerup debug code 2008-10-23 01:22:36 +00:00
Rob Pearce 9cab0704cf Fixed bug with boxing glove facing the wrong way
Added new tile type: metal
More troublshooting code for catching bug
2008-10-23 01:18:49 +00:00
Rob Pearce fe76098363 - added code for testing of net collision bug 2008-10-22 21:38:56 +00:00
Rob Pearce d0ce615d97 - Fixed graphical glitch when going to next level
- Easy move now gives permenant armour
2008-10-21 19:42:50 +00:00
Rob Pearce 5b14d1dd3f More joystick code 2008-10-20 23:17:43 +00:00
Rob Pearce e47e01e18e - Made level 2 easier
- Modified dirt texture on title screen
- Darkened background of basic powerup icons for readability
- Help icons are now only displayed in easy mode
2008-10-20 01:43:50 +00:00
Rob Pearce 7b2d999373 Changed description of phone 2008-10-20 00:42:16 +00:00
Rob Pearce dbc815c8ba Changed description of tap 2008-10-20 00:39:51 +00:00
Rob Pearce f24bdf4d50 - Modified double jump behaviour - no longer has to be at the peak of your jump 2008-10-19 23:45:15 +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 b08cdd3eae - Player gets wings when you get wingboots
- Fixed crash related to checking joystick when none exists
2008-10-19 20:45:38 +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 6ed107a1e3 Fixed potential divide by zero error in drawlevel()
Fixed problem with randomness
2008-10-19 08:00:34 +00:00
Rob Pearce 6fabd59303 Tweaked scuba mask speed 2008-10-18 22:00:31 +00:00
Rob Pearce f7a3b69144 Fixed double jump behaviour - need to release the jump key 2008-10-18 21:52:08 +00:00
Rob Pearce 092cfa2180 Lives >=5 are now shown by a "x5" 2008-10-18 21:46:55 +00:00
Rob Pearce b1343ddb1b Added powerup - Skull (makes you lose all net powerups) 2008-10-18 05:10:10 +00:00
Rob Pearce 26e91e1da1 New powerup: winged boots (allows you to double-jump) 2008-10-18 04:49:08 +00:00
Rob Pearce 53e373c1b4 Bugfix: P_HELMET was listed as FT_TEMP rather than FT_PERM 2008-10-18 04:23:02 +00:00
Rob Pearce ea3cf4e16b Added powerup: accordion (makes net super-super long) 2008-10-18 04:16:06 +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 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 99b9d99d73 - Reordered levels and added new levels
- Moved world/level calculation into shared.c
2008-10-16 03:16:47 +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 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 dd7bf8738c Fixed random 2008-10-13 04:27:43 +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 39b592fad8 Fixed king rat health 2008-10-10 08:59:03 +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 ff69d13636 Restored randomness in powerups 2008-10-10 03:56:24 +00:00
Rob Pearce 24e71aca9e - Added new powerup: ufo (meteors fall from the sky) 2008-10-10 03:53:59 +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 ab1340dc2f Added missing files 2008-10-09 09:36:13 +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 dba3c41970 - Added doco generation function (./edit -dump) 2008-10-07 09:18:42 +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 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 367740e5e3 Modified boxing glove image 2008-09-28 03:43:03 +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 1047c268b7 - Redrew slope and ladder tiles
- Added flower sprites - they just give you points
- Added support for animated tiles
- Changed left/right conveyor graphics to be rolling logs
2008-09-17 11:16:19 +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