Score Issue (first hit score updates to second hit score)

timbirks

  • Posts: 75
Hi all, this is another tricky one to explain,  in my game when a missile hits an object it displays a score next to the object being hit, however when a second missile hits another object the score which is being shown for the first missile strike changes to the score from the second missile strike, how would I get my scoring system to not update the first score with the second one?  any advice would be great thanks. 
Super Crash Land v1.2 - Available to Download now from Google Play absolutely free!   

https://play.google.com/store/apps/details?id=com.timbirks.supercrashlandv12

sdieters

  • Posts: 2068
So he need to show its own score you get on that hit?

In that case, you are proberly using a game attribute that is being updated with every missile hit, and also that same attribute is being showed. If I am correct, you should use a separate number attribute for the missiles behaviour that shows its own score, and then add that score to the current score GAME attribute.

Good luck
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p