Graystripe2000
Member
So I have the free trial version of GMS 2 and I'm trying to do this tutorial:
But there's a problem: at 8:02 you can see she has NO compiling errors. I'm having them even though I did everything in the video (differing names aside)
The errors are on lines 12, 21, 22, 25, and 33.
Line 12 is a compile error and says "wrong number of arguments for function draw_text_ext_transformed_color
It's even saying there's syntax errors on lines where I don't see the red line on.
Any idea what's going on?
But there's a problem: at 8:02 you can see she has NO compiling errors. I'm having them even though I did everything in the video (differing names aside)
The errors are on lines 12, 21, 22, 25, and 33.
GML:
switch(room){
case room0:
draw_text(20,20, "Score: "+string(score));
draw_text(20,40, "Lives: "+string(lives));
break;
case GameStart:
var c = c_yellow;
draw_text_ext_transformed_color(
room_width/2, 100, "SPACE ROCKS",
3,3,0, c,c,c,c,c, 1
);
draw_text(
room_width/2, 200
@"Score 1,000 points to win!
UP: Move
LEFT/RIGHT: Move Left/Right
SPACEBAR: Shoot
>> PRESS ENTER TO START <<
"
);
break;
case WinScreen:
break;
case GameOver:
break;
}
It's even saying there's syntax errors on lines where I don't see the red line on.
Any idea what's going on?