Game Maker Tutorial – Advanced Platform AI Part 2

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

In this video we learn about fixing some glitches with our advanced AI in Game Maker. 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, and favorite.

Platform Engine Tutorial

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

25 responses to “Game Maker Tutorial – Advanced Platform AI Part 2”

  1. Jonatherin Gaming Avatar

    I want to make an enemy that shoots when it sees the player. I don't know how to do this. Plz help

  2. Ninth Power Avatar

    This should really, REALLY be called 'Simple Platform AI'.

  3. Kalo Avatar

    My enemy still falls.. even though i made the everything right..

  4. asylumjr Avatar

    Can you add it where they can jump to the platform that the player is on so they can get to the player

  5. Cyrus Majidy Avatar

    That was very helpful, thank you. I watched both videos. One question though: my enemy object's sprite goes off of the platform before turning around. Any idea how to fix that? I cross referenced my code with yours, and they're pretty much identical, except for line breaks and such. 

  6. Fabian Ryan Smith Avatar

    Can you do a tutorial on wall climbing and the enemies in this not noticing you behind a wall.

  7. ANT_TONY_ Avatar

    love your tutorial and i must say they help me alot…..my question is  how  can i keep the animation but still do facing, as right now you are using the animation to show where he is facing. I need the animation and the facing  plz help if you can it would mwan alot

  8. OverlonGamer Avatar

    how would i make it so enemy won't jump after me in to a pit for example ??

  9. Flynn Zeke Avatar

    if distance_to_object(obj_player) < 100
    {
    …….chasing = true;
    …….roaming = false;
    }

    if distance_to_object(obj_player) > 100
    {
    …….chasing = false;
    …….roaming = true;
    }

    Sorry but I kind of laughed at this. I myself am new to programming but you could've just said –

    if distance_to_object(obj_player) < 100 then chasing = true else chasing = false;

    Didn't need two variables, didn't need two functions. Waste of code.

  10. Mischa van der Goes Avatar

    Not exactly 'Advanced' AI…

  11. Kimo La Salamandra Avatar

    Hey! Thank yo very much for this tutorials, they are really helpful and clear.
    I tried adding some codes so my AI would jump to reach the character in the plataform, but I have this problem that when they happen to hit a wall while jumping the collision code makes their vspeed = 0, so they end up sticked to the wall without moving.

    I tried to fix this but I can't figure it out, could you (or anybody) help me?

  12. PatientZero Avatar

    Awesome tutorial! Thanks!

  13. ProtocolAphid Avatar

    my enemy just goes right and doesnt stop until it hits the wall….please help

  14. Trey Holton Avatar

    Can you show a tutorial on how to make them shoot bullets at you? Would really appreciate it.

  15. Sam Dover Avatar

    Can you make a tut where you draw/create a certain pattern where the enemy's patrol and after they lost you they jump back to that spot?

  16. PhantomDG1 Avatar

    for some reason my enemy doesnt recognise walls when its in 'chasing' mode ! ???

  17. sgtgigz Avatar

    May I suggest having more random movement in their roaming function. Maybe have a line set up to select a random number between 1-3. And depending on what it picks it will change direction/speed or maybe pause and stop moving for a set time(maybe also random). Not sure if gml has a random.math function as I am new to gml. This should help the enemies keep from getting stuck in each other and also add a more natural, "non-scripted" behavior. Thanks for the upload, your videos are very helpful!

  18. PvP Network Avatar

    Would you mind showing me how i can keep the animation but still do facing, as right now you are using the animation to show where he is facing. I need the animation and the facing 🙂

  19. SOLRUK GERLHAN Avatar

    can you make a tutorial where the enemy will jump onto a certain platform in order to get closer to the player? know it sounds a little complicated though sry.

  20. Sicnar Avatar

    could you get them to not go into each oter please or just give me the code on how to do it

  21. calvin ix Avatar

    Hi,
    Your tutorials are really good. But i hoped you could do one more tuturial about the line of sight, so the enemy just see you if you are in a straight line or better in a cone infront of him.

    greetings cx

  22. RealTutsGML Avatar

    uploading now 🙂

  23. Magus waffy Avatar

    Since you accept ideas, can you do a tutorial on cinematic effects? More precisely, a tutorial on screen shaking when a big enemy moves and attacks? Thank you. I want to make boss fights look even more epic. 😀

  24. MonDieu72 Avatar

    Can you make them jump after the player when he is above them and when they stop chasing they go back to their original "posts"?

Leave a Reply

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