This is the 9th video in a series on remaking Vampire Survivors in GameMaker.

The first part of this video tutorial shows you how to setup a system that activates instance (of enemies) in the view and deactivates them outside the view (plus some extra buffer around the view). Deactivated instances are very light weight and have no “running” code, which make theme easy to get “rid off” and when the view is close enough you can re-activate them so that they become functional again. The second part is simply showing you how to spawn radially around the player new enemy instances. That’s it!


🚧 For the future: This series will will build expanded the further we go into the series.

Video on lenght_dir:
https://youtu.be/pl7-sr6zeT8

Culling system like in Forager (advanced!):
https://www.gamedeveloper.com/design/forager-optimization-in-gamemaker


💻Project + assets found here:
https://1up-indie2.itch.io/vampire-survivors-mini-engine


👑 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)

CHAPTERS
——————————————————————————————————-
0:00 What we will do
0:52 Subscribe
1:04 The concept what we do
1:59 Drawing the enemy instance count for checking
2:36 Loop an alarm event to activate/deactivate + spawn enemies
4:23 Use functions (de)-activate region
6:57 Spawn enemies around the player

1up Indie

View all posts

Add comment

Your email address will not be published.