I'm currently using gamemaker studio 2 following a youtube guide on making my first game. I am very new to coding and need some help.
Im getting this error message attached to my code and I'm not sure why.
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this communityI'm currently using gamemaker studio 2 following a youtube guide on making my first game. I am very new to coding and need some help.
Im getting this error message attached to my code and I'm not sure why.
It should be
dash_key = keyboard_check_pressed(ord("C"));
Note the double quotes ( " ) instead of single quotes ( ' ). If done correctly the "C"
should be yellow in the editor to signify that a string
is present.
"
instead single'
:dash_key = keyboard_check_pressed(ord("C"));
\$\endgroup\$ – Dmi7ry Apr 21 '17 at 4:34