Hi,
Trying to track the score of two players at the same time, so I need to some how create score keeping for P1 and P2 some how? Any Idears?
(gamemaker6) thankx
2 player score keeping in game maker
-
- Posts: 9
- Joined: Fri Oct 28, 2005 7:07 am
- Contact:
-
battlegorge
- Posts: 67
- Joined: Thu Feb 16, 2006 12:39 pm
You only need to create 2 variables for the scores
gamecontroller create event
When player1 destroyes an enemy you raise global.player1_score
Then you can draw both values:
gamecontroller create event
Code: Select all
global.player1_score=0
global.player2_score=0
Code: Select all
global.player1_score+=200
Code: Select all
draw_text(50,50,string(global.player1_score))
draw_text(400,50,string(global.player2_score))
-
- Posts: 9
- Joined: Fri Oct 28, 2005 7:07 am
- Contact: