Creating a zombie game!

Discussion in 'How Can I...?' started by qbeesoft, Apr 2, 2016.

Tags:
  1. qbeesoft

    qbeesoft Avid Boxer

    Joined:
    Dec 17, 2015
    Messages:
    119
    Likes Received:
    23
    Hello there!
    I am creating a zombie game. But i want my score system to be like this. When ever I kill a zombie I will get a point. But seems like BB only supports point when the character reaches or moves places like flappy or collect coins.

    Is there a way to track the kill of Zombies and make them point
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    point per kill is not possible. I hope it is one day...
     
    qbeesoft likes this.
  3. jigglybean

    jigglybean Avid Boxer

    Joined:
    Nov 3, 2015
    Messages:
    270
    Likes Received:
    125
    The only way is to have the zombie spawn coin, and make sure that the player walks over it to collect it. That's the only work around I know. Different coloured coins or coin names for different kinds of zombies to track
     
  4. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    how
     
  5. bentforktech

    bentforktech Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    138
    Likes Received:
    63
    You could link a coin to the zombie and when it is killed you pick it up something like that. That is how I would do it.
     
  6. bentforktech

    bentforktech Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    138
    Likes Received:
    63
    My son on his game has the scoring as reward points. So he set up a an object as an action and made it reflect 1 reward point. He also has coins in the game. That is how he is doing it for his game. We were just looking at it a few minutes ago.
     
  7. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    Any action attached to an object dies with the object... If you are getting different results, please show your work so we can reproduce it...
     
  8. BeepDing

    BeepDing Boxer

    Joined:
    Mar 5, 2016
    Messages:
    48
    Likes Received:
    5
    Thanks for the idea... I will try out tomorrow...
     
  9. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    @bentforktech could you show your work on how you are achieving this please?
     
  10. bentforktech

    bentforktech Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    138
    Likes Received:
    63
    So my son made an action with the bird. Did not make it a coin. Just a reward point. You can see that my son has the reward point score at the end of the game also with the coins.

    Now you could load a blank image and link this to an enemy and it would score the same way when the enemy is destroyed. Does this make sense @heathclose




    [​IMG] [​IMG]
     
  11. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    every time I have experimented with this, the action dies with the object (and does not "score") as I mentioned before... are you sure this works for you?
     
  12. bentforktech

    bentforktech Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    138
    Likes Received:
    63
    I just gave it as a possible option. I have not tried it other than the way my son is doing it in his game. So if it does not work then it does not work. Just was thinking out loud on here.

    So I just tried it and it did not work for me. So I guess back to the drawing board.
     
  13. jigglybean

    jigglybean Avid Boxer

    Joined:
    Nov 3, 2015
    Messages:
    270
    Likes Received:
    125
    @bentforktech a bit late to the show - but check out this thread. It shows you how award points/coins when you kill an enemy.
     
    blackswan likes this.
  14. bentforktech

    bentforktech Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    138
    Likes Received:
    63
    Thanks for the info @jigglybean. Looks like something I could use.
     
  15. jigglybean

    jigglybean Avid Boxer

    Joined:
    Nov 3, 2015
    Messages:
    270
    Likes Received:
    125
    Cool! I tried it yesterday and it worked. I also managed to get a coin spawn but BB crashed and now I cant remember those steps. Tried and failed all night too lol
     

Share This Page