Create and initialize two global variablesWhere ever you want to score the points increment the scores by onein Game Maker - Drag and Drop
Create and initialize two global variables - in the creation code of the room type
global.player1 = 0; global.player2 = 0;
In the appropriate Collision Event
![]()
global.player1
set to 1 and check relative
in REALBasic
Create two Properties named score1 and score2 - Declare them as Integer and set them to the value 0
in the method where you want to score
if (collision) then
score = score + 1
endif