How To Create A Point Per Kill System?

I am creating a zombie killing game and I want to add a system that gives a point for each kill. I don't know how to do this. Please could you help me? I also want it to reset after death.

Comments

  • BonepileGamesBonepileGames Member Posts: 194
    edited February 2014
    Create game.points (real) set to 0
    Click the "bullet" actor and set the following things:

    Rule
    If collides or overlaps with "zombieactor"
    Change Attribute
    set: game.points to: game.points+1
    Destroy actor

    Click the zombie actor

    Rule
    If collides or overlaps with zombie
    Destroy actor

    Create an actor named "PointDisplay"

    Who will display the points
    Locate it somewhere in the camera (scene) and move it to non-scrollable layer
    ------
    You should have implement those formulas into actors(prototype) not (instance).



    I am not infront of a computer so I might additional info later this day.
  • DDJW StudiosDDJW Studios Member Posts: 18
    You practically saved my gameplay mechanic, thank you for putting it to my game ideas perspective.
Sign In or Register to comment.