Slime jumper [Game Maker Studio 2 | Enemy Ai]

Channel:
Subscribers:
12,200
Published on ● Video Link: https://www.youtube.com/watch?v=eY4kcxdUH3s



Category:
Tutorial
Duration: 9:11
2,165 views
93


This enemy ai video tutorial shows you how to make an enemy that that jumps randomly in GameMaker Studio. Typically those kinds of enemies are slimes for a reason.

The idea is quite simple. You need to the enemy that goes left and right like you maybe saw in my previews enemy ai videos. After that you setup a variable that runs down. Once that variable is 0 or smaller you reset the direction to an upwards angle plus set gravity to a value so that it pulls down the enemy. Now the enemy is jumping. To reset the jumping motion you have an additional collision in the step event that resets the jumping. That's it!



👑 Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie

Follow me on:
📾 Instangram: https://www.instagram.com/1upindie
🐩 Twitter: https://twitter.com/1upIndie
💬 Discord: https://discord.gg/gvr98nb
📜 Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)


Previous video here:
https://www.youtube.com/watch?v=hTPHzHM2KQ0

Emcee Flesher CC4by
https://opengameart.org/content/super-dead-space-gunner-merc-redux-platform-shmup-hero
https://opengameart.org/content/space-war-man-new-laser-and-enemies

--------------------------------------------------------------
0:00 What we will do
0:34 Subscribe
0:46 Quick theory how it works
1:44 Coding part







Tags:
game maker tutorial
game maker studio tutorial
gamemaker studio 2 tutorial
game dev
game developer
game maker slime
gamemaker studio slime
gamemaker studio parabolic arch
gamemaker parabolic arch
gamemaker arch
gamemaker slime enemy
game maker slime enemy jump
game maker slime enemy jumps
game maker enemy jumps
gamemaker enemy jump tutorial
how to make a jumping enemy like slime gamemaker