hit score accumilation issue

timbirks

  • Posts: 75
Hi, this is a tricky on to explain, I'd like to have the hit score displayed on screen next to the object that's being hit, the score accumilates in the HUD correctly but it also accumilates when displayed by the object being hit, eg the first hit scores 23 points and the next hit score 7 points, instead of displaying 7 it displays 30, any ideas of how to get it to display individual hit scores? 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

Tuo

  • *
  • Posts: 2469
You could use two number attributes, one to count up the total score and a second for the individual scores.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)