Help please.

W

William Bellgardt

Guest
Hi! I need help. I've downloaded the BETA for game maker 2 about 3 days ago I'm currently working through the tutorial made by YoYo games I've tried to redo it several times but the same thing keeps happening, can someone please explain what I've done wrong in terms I can understand?
helpyoyo.JPG

I've attached an image of what it's saying and what It looks like.
 
D

Dengar

Guest
try using { } brackets for that mouse check instead of using ( )
Code:
if (mouse so = so)
{
do so and so
}
 
M

Matthew Hill

Guest
Try using brackets instead of parentheses, maybe that'll help
Hi! I need help. I've downloaded the BETA for game maker 2 about 3 days ago I'm currently working through the tutorial made by YoYo games I've tried to redo it several times but the same thing keeps happening, can someone please explain what I've done wrong in terms I can understand?
View attachment 5111

I've attached an image of what it's saying and what It looks like.
Try using brackets on line 12 and 15 instead of parentheses.
 
J

Jack_Wild

Guest
Hi! I need help. I've downloaded the BETA for game maker 2 about 3 days ago I'm currently working through the tutorial made by YoYo games I've tried to redo it several times but the same thing keeps happening, can someone please explain what I've done wrong in terms I can understand?
View attachment 5111

I've attached an image of what it's saying and what It looks like.
try this :if (mouse_check_button((mb_left) && (cooldown < 1))
{
the code
}
or this : if mouse_check_button((mb_left) && (cooldown < 1)
{
the code
}
its practicly the same
 
Top