Added: 4 years ago
From: cheesycrazy
Views: 26,611
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (65)

Sign In or Sign Up now to post a comment!
  • @joseph3112 you do for 3d games (especially if you've got for example mario 4sprites and 1 left 1right your going to use this)

    sprite_index= whatever sprite it is so bassicly you do need codes

  • Good bit i think ill stick to drag and drop

  • how to put them in game?

  • what is the code for key W,A,S,D

    can someone tell me that?

  • plzzz make more its very usefull

    lol

  • you gotta be born with the know-how of scripting if your not then sorry

  • instead of scripting could i just put it directly in code on my player object? thanx!

  • :d MARIO MUSIC AWSOME

  • I don't see how all this works or how you know what to type. It's all confusing to me. Explain please?

  • also super mario galaxy and super mario 64

  • original mario music from the lethal lava land LOL

  • original mario music from the lethal lava land LOL

  • original mario music from the lethal lava land LOL

  • @yayyayyay09 I think the games I make with D&D are good, but like I said, that is easier for me, and I make games for my enjoyment, share them with everyone on Yoyogames, if other people like them, good, if not, oh well, but I'm sure people who know how to use codes and scripts can do a lot more with Game Maker than I can, and make a lot better games, after all, it's just a hobby for me!

  • It didn't work :(. I'm sure I did everything I was meant to

  • That is ok , but the point of scripts is to make your own functions. What you are doing is giving the variables speed and direction a value, which is exactly like using motion_set(direction,speed); Doing it from scratch with x and y is more impressive, as well as including 8 directions. This video should be called: How to make something move with GML.For that it is a neat example, but functions are just something else. You can just code everything in functions, but that isn't the point to them.

  • Don't use 'then', 'and'. Bad habit.

    if(keyboard_check(vk_up) { speed = 2; direction = 90;

    }

    You don't need semi colons in GML but it's better to start using them now than to forget them when you start using a more advanced programming language.

  • @RelentlessRSPS

    if keyboard_check(vk_up)

    speed = 2

    direction = 90

  • hot top vulcano xD

  • Never use scripts, always use Gamemakers Drag and Drop, it is easier for me, but you should keep making these videos!

  • much better than those other tutorials (:

  • so scipt is like makeing a movie scipt but your making a game script. hmmm

  • good tut

  • i was very close to understanding this i had almost all the commands down but this really pushed me into being able to code Thnx a ton man you rock

    -Gnomified

  • what programming language is this?

  • GML

  • I appreciate the tutorial but you don't include how to apply the script within Game Maker. Would have been nice know how to call it with GML in the video

  • @whde2000 I understand what you mean. If you are still interested I could clear things up for you...

  • can i have that font?

  • lOl erub

  • i want the music

  • I subscribed and I would like to know how to make an enemy move randomly because I am making a Pac-Man like game. I already have the enemy to destroy the player if he is touched but he just stays still.

  • something like this?

    collision with wall:

    direction=choose(0,90,180,270)­

  • hahah i can steal tha music.

    thanks nice music i want to upload with nice video tha music thanks thanks

  • i subscribed you... i thank u for the support but i got many questions...

    how do u chose which person moves.....?

    how do i make action after somebody touched that?

    lots of question but i wont bug you....

    5/5 XD

  • demokiller14, I think you're right.

    Nice video!

  • what if i hold a buttom?

  • i scripted just like you said in the video but my little spot just move right , im a noob sorry :D..but i did just what you said

  • it didnt work

  • how do you apply the script to an object?

  • To apply the script to an object, create a step event for that object and chose action: Execute Script. It's under the Control tab on the side. Then select that script and you're done.

  • hey can any one help me with coloring objects in game maker 7

  • this is just the basics to show how scripting works

  • add another and to the end of each line (apart from else) and then add sprite_index=(sprite name goes here). That should work

  • its the same but -90 is easyier to remember for me

  • i know that its easy to sript the movements codes but its alot faster if you just do 4 events and put the codes x-=3 x+=3 y+=3 y-=3 its alot faster trust me

  • whats the point of scripting? what does it do?

  • it gives you more flexibility for game making, this is just showing the very basics

  • Thanx, very Helpful :)

  • Super mario galaxy music !

  • lol

  • hey its so much esair to make them in a step event.

  • in what kind of file u need to save it??

    is it possible to .vbs?? or .exe?

    Please Response!!!

    THX

  • sorry i dont know what you mean?

  • is it also possible to make a game like that simply in notepad?

  • is it also possible to make a game like that simply in notepad?

  • no thats not the same. you cannot make a game maker game in notepad

  • no thats not the same. you cannot make a game maker game in notepad

  • very well, still have a lot of problems with scripts... lol

  • yeah well this is the basis of all scripts i am teaching you and they can get even more complex and you can do more with them but you have to learn. I shall post some more tutorials on scripting is there is enough response.

  • thanks :)

  • oh comme on!

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