Game Maker Tutorial – Changing Sprites

[ad_1]
Brand new 2017 Game Maker Studio: 2 Course available right now

In this video we look at how to change sprites If you have any questions then be sure to leave a comment or contact me on twitter; realtutsgml. If you learned something then be sure to leave a like, comment, favorite and maybe even a share.

Have you ever wanted to create games? Have you ever gotten fed up with it being to difficult? Well now is the time to thank me and possibly subscribe because you have just found the channel for you! Game Maker Tutorials, Java Game Programming, Unity3D Tutorials, Batch, C++ and much much more! This is the channel for you, the one stop shop for an exploration of your hidden talent as a game developer. Unleash your potential and go wild with imagination when you finally figure out how to make any game you want!

Visit CodingMadeSimple for more exclusive tutorials and get the help you need to succeed as your very own indie game developer!

Follow me on twitter for exclusive content and interaction with me!

Game Maker Studio: Programming
Game Maker Studio: Tutorial
Java Programming
Game Programming
Game Tutorial
Programming Tutorial


Posted

in

by

Tags:

Comments

20 responses to “Game Maker Tutorial – Changing Sprites”

  1. Finn  Mcbride Avatar

    what does == mean? does it have any difference to just =?

  2. Free Intros NCI Avatar

    FINALLY! SOMEONE WHO DID WHAT I NEED!

  3. Ez2Salty Avatar

    what if i want to change index on collision?
    should i use collision_check instead?

  4. SteamGiveaways Avatar

    Intro good but too short

  5. aries jay Avatar

    how to create button? and if i clicked on it the other sprite will change… pls help me thanks a lot..

  6. Mystery Mudokon Avatar

    That was a punchable intro. I don't even know how that's possible.

  7. -SSB- Avatar

    PLEASE HELP how do you make it so it wouldnt reset if you change room

  8. blueberry Avatar

    I'm making a game with 10 sprites instead of 3 and the code doesn't work any suggestions?

  9. Ryan Foster Avatar

    How do i make this piece of code apply to another object, I currently have it set up so if the button that says "change car" is clicked it does this piece of code:

    if mouse_check_button(mb_left) && imageNumber<4 (imageNumber+=1;)

    if imageNumber == 0 {image_index=0}
    if imageNumber == 1 {image_index=1}
    if imageNumber == 2 {image_index=2}

    How do I make it apply to my object called obj_car

  10. HizzaNoodle Avatar

    Please Reply How do you make it so if i touched a object it deletes the player and takes control of the object

  11. Codename Avatar

    First of all I would change the title to changing index of a sprite, rather than changing sprites but okay haha.

    Good work RealTutsGML and I would add a couple of tips to people who are new to this.

    1. If you can use 'else if' like you could when checking for imageNumber, use it rather than starting a new if statement.
    2. In cases like that don't use 'and' it's pointless. Just check if imageNumber > 3
    3. Put image_speed = 0 first and then put image_index = 0 for obvious reasons.

    Cheers. 🙂

  12. Jonathan Vernon Avatar

    Intro: Maybe its up to you!

  13. Lucas Conner(LC) Avatar

    ok, so Im doing that exact code and the game wont work. can i please have help

  14. Reform Plays Avatar

    thank you for making this tutorial, your the first person i found that uses code to change the image index

  15. outuber lolls Avatar

    first step for kid scripter a big leap for my game thanks

  16. ryankickassrb Avatar

    How do u do it with the mouse??

  17. Foued babou Avatar

    very helpful tutorial.thanks.

  18. Eric Freeman Avatar

    so how long will it be before your site is up and running. I check it everyday lol

Leave a Reply

Your email address will not be published. Required fields are marked *