i have a problum. my charecter auto moves to the right. When i press S he just stops. When I press D he moves faster. I checked my scripts there the same as urs.
Hey, I did this and when I tested it my guy didnt move with my mouse, it seemed like the edge of the pixels was where it moved so it looked like he was going around something.
@MrOkke96 A lot of other programming languages require you to put a ; at the end of each line, like C#. Although gml does not require you to do so, it is good practice.
i have a problum. my charecter auto moves to the right. When i press S he just stops. When I press D he moves faster. I checked my scripts there the same as urs.
XboxPlaya5000 1 day ago
Hey, I did this and when I tested it my guy didnt move with my mouse, it seemed like the edge of the pixels was where it moved so it looked like he was going around something.
bbbbbbbbrrrrrrrriiii 3 weeks ago in playlist Game Maker - How to Make a Zombie Shooter in Game Maker
@bbbbbbbbrrrrrrrriiii Never mind, I fixed it. Also for everyone else watching this, caps messes up the script xD
bbbbbbbbrrrrrrrriiii 3 weeks ago in playlist Game Maker - How to Make a Zombie Shooter in Game Maker
why do you do that ; sign after variables? ive seen several peoples on youtube do it but i dont understand why
MrOkke96 1 month ago
@MrOkke96 A lot of other programming languages require you to put a ; at the end of each line, like C#. Although gml does not require you to do so, it is good practice.
SaladRaider 1 month ago
i wanna make a zombie 1 like sas zombie assault
666deadomen666 8 months ago
This has been flagged as spam show
FATAL ERROR in
action number 1
of Step Event
for object obj_player:
COMPILATION ERROR in
code action
Error in code
at line 6: y -= spd; ^
at position 8: Symbol ) expected.
tvshowslive 9 months ago
@tvshowslive sorry just add a extra ")" at the end of the if statement. so it should look something like this:
if(keyboard_check(ord("W")))
{ y -= spd;
}
Nerd12181997 9 months ago
Comment removed
tvshowslive 9 months ago