GMS 2 Tutorial - How to Make Enemies Drop Loot - GameMaker Studio 2 Tutorial
Hello everyone, in this GameMaker Studio 2 Tutorial video we go over how to add items to the game and how to have your enemies drop loot when you destroy them. This is a simple item that just adds to a variable which could be used to make a currency system in your game, like gold coins to be used later on in a shop or upgrade event. We learn how to make those items spawn facing a random direction and how to make them move at a random speed if you want them to move. We talk a little bit about optimization and how to destroy items that get off the screen and how to use temporary variables to use less game memory thereby making the game work on slower systems and maintain maximum fps on all systems. Some concepts we relearn in this episode include how to spawn new objects with the instance_create_layer function, how conditional statements work, how to destroy objects, using built in keywords like speed and direction, and some other misc. things. In this GameMaker Studio 2 Tutorial series we're going to look at all aspects of being a solo indie dev. We're going to learn how to program using GameMaker Language(GML), how to make your own sprites, animations, sound effects, background music, tilesets, and basically everything related to making a game as a one person game studio. We're going to do all of this, one small step at a time, by learning one thing at a time. Eventually after making several simple (and probably crappy) games, we're going to try to make a game we can sell to make money. This should be a long running series and I'll try to make these tutorials modular, so if you miss one of these tutorials you won't be completely lost on the next few tutorials. I'm designing these tutorials to tackle a few simple things in each video (or maybe one big thing) so that you can hop around the playlist to freshen up on something you forgot how (or never learned) how to do if you get stuck. I hope you enjoy the GMS2 Tutorial series. If you've enjoyed this video please consider giving it a Like, Favorite and share. You could always Subscribe to the channel if you haven't already and as always, thanks for watching and we'll see you in the next video! :) DG Discord Server: https://discord.gg/YcxySsj Website: http://driftwoodgaming.com Twitch: http://www.twitch.tv/DriftwoodGaming Twitter: http://www.twitter.com/DriftwoodGaming Patreon: http://www.patreon.com/DriftwoodGaming ------------------------------- Special thanks to all my Patrons: Damian Floyd, Fun4theBrain, David Philips, Studio Blue, Battle Pisces Gaming, Michael Flynn, John Gibson, ChrAndGow, Scott Zarwell, Edwardo Santizo, NeoSoulGamer, Jai R Fisher, Rusty_Gears, Meteodros, R.A.M, Valryia, DarkKrow13, StalkerRoguen, Ervin Mcclure, Chris Van Essen, Mithrandir, Michael Noles and those of you who have supported me in the past.
Download
0 formatsNo download links available.