Monkey Coder – Point Counter
1. NOTICE:
———-
I have added the line:
Points += 1 ‘Add 1 point
in every bounce control method. It adds one point to each bounce.
2. NOTICE:
———-
I have written the following code to print the points
‘ Print Points START
Method PrintPoints:Int()
Print (“Points” + “:” + Points)
Return True
End
‘ Print Points END
3. NOTICE
———-
I have put PrintPoints() inside Method OnUpdate:Int()
‘ OnUpdate START
Method OnUpdate:Int()
BallUpdate()
PrintPoints()
Return True
End
‘ OnUpdate END