00:00
00:00
Newgrounds Background Image Theme

AllHailInsomnia just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

points 2002-07-10 10:05:06


i want to make a flash game and use point like in ufa (search for ufa and then under newgrounds site itself) where you can see how many people you have destroyed etc. but how do you do that???


BBS Signature

Response to points 2002-07-10 10:53:05


Points are just variables, i.e. when you gain points (points = points + 100 // or something), and when you want to display them, just send the output to a dynamic text box. For example, if you have a dynamic text box assigned the variable "myPoints", put:
myPoints = points; // displays # of points user has in dyn txt box

Response to points 2002-07-10 11:43:12


At 7/10/02 10:53 AM, the_knack wrote: Points are just variables, i.e. when you gain points (points = points + 100 // or something), and when you want to display them, just send the output to a dynamic text box. For example, if you have a dynamic text box assigned the variable "myPoints", put:
myPoints = points; // displays # of points user has in dyn txt box

thanks for the info


BBS Signature