Problems with scoring
				
Posted: 
Sun Jan 25, 2009 8:37 am 
				by metaknight22
				I want to put a scoring mechanism in my game. For example, every time I shoot a plane down, one point is added to the score but I'm not quite sure how to do this. I've played around with a few things but they didn't work.
			 
			
				Re: Problems with scoring
				
Posted: 
Sun Jan 25, 2009 9:55 am 
				by skydereign
				You would have a variable called score. Have a text based actor that displays score, and have a destroy actor event that increases score.
- Code: Select all
 score+=5;
 
			 
			
				Re: Problems with scoring
				
Posted: 
Sun Jan 25, 2009 9:57 am 
				by metaknight22
				How do I get a text based actor???
			 
			
				Re: Problems with scoring
				
Posted: 
Sun Jan 25, 2009 10:06 am 
				by metaknight22
				Never mind. I got it. New problem. Which actor do I add the event to?
			 
			
				Re: Problems with scoring
				
Posted: 
Mon Jan 26, 2009 12:11 am 
				by metaknight22
				Thanks for your help guys. 
