01 April 2015
Endless Runner Game Development Highlights – Particle Effects, Tracking Player Progress, and Keeping Score
Last week on Corona Geek Hangout 134, we continued working on our endless runner game by adding a third party particle library to spice up the look and feel of the player’s movement. We also added code to track the player’s progress and keep score as the player successfully avoids treacherous hallway corners.
We have just a few more things to add before the game will be complete. As always, you can download the code and follow along.
If you are ready to wrap things up, you can jump ahead to this week’s Hangout to see the end result. Be sure to experiment with the code to understand how it works and make it your own.
Or if you’re just now tuning in, you can go back and watch the previous Hangouts to learn how everything was put together.
So far in out game development series, we have:
- defined the elements of the game,
- identified the required assets
- organized the project
- created walls at 45 degree angles
- added a player object, touch input, and camera movement
- added continuous hallways, particle effects, and game restarting
As always, we have split the Hangout into clips to make things easier to follow. Watch the entire Hangout, or just the pieces that interest you.
Game Development Snippets
Here are the Hangout snippets. Download links for all samples and code snippets can found in the show notes for each of the Hangouts. Enjoy!
Part 1 – Adding CBEffects Particle Effects
Ed Maurina walks us through adding CBEffects to our game.
Part 2 – Adjusting Particle Effects To The Player Object
We examine how particles are attached to the player object.
Part 3- Changing The Color of Particle Effects
We adjust the colors to get the feel we want.
Part 4 – Slowing Particle Ejection
We cover a few tweaks to get the desired effect.
Part 5 – Creating a HUD for Showing Distance and Score
We add in visual elements to show game progress.
Part 6 – Controlling Player Object Speed
We fine tune a few last pieces to improve the game play.
Next week we’ll publish the final clips from this week’s Hangout and we’ll start a brand new game development series to create a memory matching game. During that series we’ll examine how to display objects in a grid, how to randomize game pieces, how to match objects, and a whole lot more. So stay tuned.
Thank you for watching, listening, and following Corona Geek: