Added: 11 months ago
From: SaladRaider
Views: 1,429
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • 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.

  • @bbbbbbbbrrrrrrrriiii Never mind, I fixed it. Also for everyone else watching this, caps messes up the script xD

  • why do you do that ; sign after variables? ive seen several peoples on youtube do it but i dont understand why

  • @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 wanna make a zombie 1 like sas zombie assault

  • @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;

    }

  • Comment removed

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more