hey i was wondering how id go about implementing a kill/death/assist scoring system in my game i have multiple allies so if i set,
*enemy on destroyed
-then add 1 to kills
then my allies would be helping me get the kill i need some way to find out who hit it last so they get the point thanks!
You need variables (probably global) or a global data object (array, hash map, dictionary, etc.) to track all of the kills, etc. Each sprite has a UID to identify individual sprite instances.
hmm i thought i'd need some kind of variable, i'm still pretty new to all this programming, but thanks to this community i'm learning alot, can u take a look at my capx and make it work so i can study off ur genius? thanks
https://www.dropbox.com/sh/mjtw8yqvrnag ... 078ba?dl=0
Not very beautiful, but working..
Just to give you one possible idea on how to do something like that:
https://dl.dropboxusercontent.com/u/485 ... royed.capx
Develop games in your browser. Powerful, performant & highly capable.
Not very beautiful, but working.. Just to give you one possible idea on how to do something like that: https://dl.dropboxusercontent.com/u/485 ... royed.capx
nice ty by the name of ur capx sounds like its somewhat what i need, sorry to bug you but i cant see it cuz im on 216 how do i update to 217?
My capx is just an adaptation of yours..
Link to the latest beta is on the bottom of this page:
https://www.scirra.com/construct2/releases/r218
My capx is just an adaptation of yours.. Link to the latest beta is on the bottom of this page: https://www.scirra.com/construct2/releases/r218
perfect i can work with that thanks for all your help my friends <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> maybe they can put this in the "how do i " section
I was out for Thanksgiving, but it looks like LittleStain hooked you up.