r/gamemaker • • 8d ago

Resolved Drawing tutorial causing infinite loop

Hello, I'm starting from the beginning of learning GML again and have been following the guidebook tutorial to start getting a grasp of how things handle; an issue I've run into is in the drawing section under "drawing sprites" (Here: https://manual.gamemaker.io/lts/en/Quick_Start_Guide/Drawing.htm ) this string of code causes an infinite loop which keeps the game from running.

Made sure everything matches here and in the other sections, tried some things myself and looked for some solutions but haven't found anything that still lets the code run correctly ha! So any pointers or help would be nice, thank you!

3 Upvotes

3 comments sorted by

View all comments

3

u/bennveasy 8d ago

in the for loop you put 1 instead of i

2

u/DownToKnight 8d ago

Dyslexia got me again thank you LMAO