BABECAVE v1.1
September 1st, 2009 10:25 pmI’ve updated the babe smashing hit game A CAVE FOR MY BIKINI BABES, making it now on v1.1.
PLAY IT HERE AND EARN HIGH SCORES!
Changelog:
- Added Mochi leaderboards!
- Slightly altered economy and item use counts!
- Fixed a bug that was preventing combo scores from counting (with the version I included in my LD submission, spikes were hands down the most efficient trap)!
- Capped the inventory for each trap at 20!
- Added a prep time of 15 seconds to the beginning of each level!
- Fixed a bug where you could get the player off the map!
- Altered enemy spawning and time limits slightly!
- Cop and babe walk speeds are now switched, to account for economy rebalancing!
Hey Skelethulu, just wondering where you inserted the mochi leaderboards calls in flixel?
Hey so check it out! I made a helper class what looks like this:
http://www.youhavetohelp.us/ben/LD/babecave_v1_1/src/Leaderboards.as
And then I hit all kinds of stupid bugs when I started calling the functions until I made my main look like this:
http://www.youhavetohelp.us/ben/LD/babecave_v1_1/src/Main.as
(leaderboard stuff partially obscured)
The tricky part was to make it wait until it got the add to stage event, otherwise you’ll get null reference exceptions up and down the street. Then whenever you want to open them, just use a FlxButton and in its callback, do something like:
game.Leaderboard.GetInstance().ShowLeaderboard();
or
game.Leaderboard.GetInstance().PostScore(value);
hope that helps!
Very awesome! Yeah, I was getting some weird bugs too, thanks a bunch for posting this
.
And yeah just patched in a couple very small exploit fixes resulting from the combo system being re-enabled. Gotta’ love only having 1 hour out of your 48 to actually play your game and miss little problems!