Posts Tagged ‘highscores’
Good morning Ludum Dare. I had one bite of my toast before I snapped out of it and realized I NEED A PICTURE OF MY FOOD!
Made my coffee. Opened the window blinds. Eating my toast.
Got 5 hours of sleep again last night and am trying to stay both calm and pumped for the next 15 hours that remain. My game will hopefully change and improve a lot over this day.
FLASH GAME HIGHSCORES TUTORIAL
One thing I wanted to post about that I remembered last night as I finished dropping in online highscores into my Flash game was that with such a large and new crop of LDers here there may be a few that use Flash and haven’t got an easy highscores option to encourage some friendly competition on their score based game.
Well have no fear! One option is to check out a tutorial I made here a year ago about how to drop MochiMedia global highscores into your game. You don’t have to use their wrapper or ads or anything–you can use just their highscore widget.
You can check out my tutorial here and feel free to ask any questions that may come up if you are using Flixel or FlashPunk I know people here have used it with those though sometimes you have to adapt my tutorial a bit I think.
Plus you can see how they work in my current LD entry here.
I’ve used the snazzy new uploader tool to submit my final version of Angry Caverns with 10 minutes to spare even!
ANGRY CAVERNS – by HybridMind – August 28th-30th, 2009
Created from scratch for Ludum Dare 15’s 48hr game competition
You are the angry caverns. You awaken one day to find many creatures living inside of you. This pisses you off. Destroy as many as you can.
How To Play:
- Click on the stalactites and bubbling vents to trigger your attacks.
- You will have limited time on each level
- Chain attacks for big combo points
- Glowing creatures are worth more bonus points
- Bigger completion bonuses for more creatures killed
- Supports online leaderboards!
Coded in Flash / ActionScript 3.0 using the Flash CS4 IDE and using Dr. Petter’s sfxr for sound effects. I composed both music loops in Reason.
Feel free to email me at dave [at] hybridmind.com or visit my blog and leave me a comment.
I’ll be working on this game some more so any thoughts or suggestions while be taken into consideration for the post-compo version! Thanks for playing and I hope you have a good time with it!
EDIT 8/22/10: Updating slightly
I’ll likely be using a global leaderboard with my Flash game entry like last Ludum Dare because it can be really fun to encourage competition with fellow LDers on your game. I remember a few Flash devs being curious about the process so I wanted to post a brief step by step tutorial for those of you who want to take the plunge this weekend. If you are using AS3 I’ll also be hanging in the IRC channel and am happy to answer any tech issues you may have if you choose to implement these.
Without further ado — 10 Steps to Global Leaderboards:
- Login or create a new account over at MochiMedia.
- Once you are logged into your ‘Dashboard’ click the tab called ‘Add Game’.
- Fill out the ‘title’ and the ‘dimensions’ of your game. For the purposes of LD15 you don’t have to worry about using ‘Live Updates’ (their distributed version control system) so you can leave it on ‘No’ if you’d like. Click the submit button.
- At the next screen you can totally skip all these settings and hit the ‘Done’ button at the bottom if you’d like. Why? Well that is because all the settings on this page are related to using advertisements in your game which you probably don’t want to do for the purposes of LD15. Ads aren’t required at all to use their global leaderboards.
- Once you’ve clicked done you will see your game’s title in the game list on this screen. It should have a little ‘pause’ icon next to it. Don’t worry, this doesn’t matter. Click on the title of your game.
- Once you’ve clicked on the title of your game click the ‘Scores’ option to setup your highscores.
- You will see a little info about the leaderboards but the important part is to click the ‘Create Leaderboard’ button at the bottom.
- On the ‘Create Leaderboard’ screen enter the title for your leaderboard (ex: “Highscores” etc), optional description, and then any scoring format/sort data. Fairly self explanatory. If you are using a traditional ‘high scores = better’ then the defaults will probably be fine for you. One thing you may want to mess with is the color / transparent and formatting options near the bottom as that will let you configure the leaderboard widget to match your game’s color theme. I often do ‘transparent’ so that my game background will show through when this is displayed. You can edit this later as well. Click ‘Create Leaderboard’ again at the bottom to generate yours. (NOTE: I always click transparent and it resets to background.. you have to re-edit again and hit transparent and re-save for that option to stick.)
- Your leaderboard should be created now and you will be looking at a screen displaying it. The link now that you want to click on is called ‘actionscript code’. A bunch of fields will appear along with 2 radio buttons. One for AS2 and one for AS3. Pick the appropriate technology for your game. Also note your ‘game ID’ and ‘leaderboard ID’ as you will need these later.
- You can use these provided code snippets in tabs labeled ‘submit score’, ‘submit score and name’ and ‘show leaderboard’ to get the relevant editable code snippets to drop in that will connect your game to your leaderboards.
Can’t wait for the theme!