Platform Game

scovilleiscovillei Member Posts: 7
edited November -1 in Working with GS (Mac)
Hi guys,

I'm doing a bit of a twist on your typical platform game, with different levels and a health bar. I was wondering if my idea for creating it sounds correct:

1. Create a very wide scene (by the way, how long do you guys recommend it should be?)
2. Add objects (platform, player, etc.)
3. Add gravity to the scene (how do I do this, so the actor stays on the platforms, but can fall to the ground?)
4. Have actor control camera
5. Have actor accelerate towards finishing line (the object)

Besides the questions I listed there, I have three other ones:

•How do you make the iPhone know when the player has died (dropped off the platform)
•How do you make a score go up with distance and collecting objects?
•Is this a good idea to combine the platform game with different levels, collecting objects, a health bar, and a running score?

Comments

  • icanmakeicanmake Member Posts: 466
    i am currently working on a platform game as my biggest project so i know a lot about all this.

    1. i make my scenes 3000 pixels or longer so that i have plenty of room.
    2. correct
    3.instead of gravity make an accelerate down attribute in the player actor.
    4.correct
    5. not sure what your asking?

    -make a rule in the player that says: when self.position.y is less than 0, restart level (or whatever you want to happen)
    -not sure
    -that is what i do. i dont know if it is a good idea but it is fun.

    if you need more help or have questions email me here: icanmake.j@gmail.com
Sign In or Register to comment.