By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Can someone tell me why this doesn't work ( Game maker )

If (PlayerScore = 200) room_goto(room4)

i have the script for the score controller here.

draw_set_color(c_white )

draw_text(x,y,"score:" + string(PlayerScore))

PlayerScore = 0

im new to coding i just started yesterday. And the event im trying to create the first line of code i put is in a draw event.
here's the movement script so far.

if (keyboard_check(vk_right)) {
x += 3;
sprite_index = WarriorWalkRight;
image_xscale = +1;
image_speed = 1
else if (keyboard_check(vk_left)) {
x -= 3;
sprite_index = WarriorWalkRight;
image_xscale = -1;
image_speed = 1
else {
sprite_index = WarriorIdle


if (keyboard_check(vk_down)) {
y += 3;
image_speed = 1


if (keyboard_check(vk_up)) {

y -= 3;

image_speed = 1



if (keyboard_check(vk_down)) y = y +3;

image_speed = 1

What do you mean by language?


Or maybe you mean like the coding program or whatever it is like, EX: Htlm, python etc.

I'm not sure what I'm using lol i just started couple days ago like i said, Whatever comes default to Game Maker is what I'm using.

New Threads

Buy us a coffee!

Top Bottom