In my game I want to let the player know how much points he has. But I don't know how to do it.
Here is one of my latest attempts to do it. Anyone know how to do it ?
In the game, I use the integer 'points' because I need to add more points to it each round of the game. And, of course, using an integer is the easiest way to do this.
Then, hopefully, I can put the new total in by using
'SetTextString' somehow,... but how? First I need to convert the integer 'points' into a string, but how does a person do that?
points as integer
points = 10 // beginning amount of points, to be added to each round of the game
CreateText ( 3, "Word Points = " )
SetTextSize( 3, 33)
SetTextColor( 3, 0, 0, 0 ,255)
SetTextPosition( 3, 5, 450 )
SetTextString (3, "Word points = " ) + points
I get this error message-
Incompatible types "String" and "Integer".