S
SethDoesSomeStuff
Guest
I'm still very new to Game Maker Studio, but there's a competition running at my school so I thought I'd give it a go. I'm trying to create a scoreboard for my endless runner; once you run out of lives, you're sent to the scoreboard and told to enter your name. I've had this error whenever I run out of lives:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_draw_scores:
trying to index a variable which is not an array
at gml_Object_obj_draw_scores_DrawEvent_1 (line 11) - draw_text(xx, yy, string(global.score_array[i, 0]))
############################################################################################
Any help would be much appreciated, sorry if it's something completely stupid, I've just been following a tutorial on YouTube.
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_draw_scores:
trying to index a variable which is not an array
at gml_Object_obj_draw_scores_DrawEvent_1 (line 11) - draw_text(xx, yy, string(global.score_array[i, 0]))
############################################################################################
Any help would be much appreciated, sorry if it's something completely stupid, I've just been following a tutorial on YouTube.
Attachments
-
16.2 KB Views: 5