An Indie Game Dev’s Guide to Abseiling Spiders
March has been dedicated to showing off the progress we’ve managed to make in Metavoidal over last few months, either through direct comparison or (like in this case) a handy little breakdown of how we’ve gone about fixing issues. Thanks to all the playtesting you guys have done for us so far, we’re finally on the right track to the next big update!
First up is Megan, and her Guide to Abseiling! for spiders :P Here’s what she has to say!
Issue: How to get a spider enemy to properly rappel down from the ceiling!?
Solution: CODE REUSE!
Why reinvent the wheel? We already had code to move a platform (the raft at the end of a level) once the player stepped on it, from a starting to an end point. I also don’t need to move the actual spider enemy, just the sprite, from the start point to the end point and then spawn the spider. The spider can be hidden until that point and the shadow (indicating where the trigger is to start the spider moving) will be shown.
I took some of the platform code and reworked it for this. I needed to adjust it to work for this new object, be timed correctly and just positioned right that the spider will never randomly “pop in” from the player perspective. We also had very good sprites done by our artists that deceptively make it seem as if the spider web was always there when in reality it moves with the spider.
So I created a “prefab” (a type of component in Unity) that:
- When the player steps into the shadow below it shows the spider, and starts the animation of it climbing down.
- When it reaches the bottom, it spawns the spider enemy “prefab” and destroys the original abseiling “prefab” since it’s no longer needed.
That’s it!
Right Click & Open on a New Tab to take a closer look!
We hope that’s at least helpful to any budding/fellow game devs who stumble upon this devlog! We’ll be doing one of these every Friday this month, so check in next week for another update! :D
As always, if you want to chat and get to know us & our game, feel free to follow our progress online :3 https://msha.ke/yellowlabgames
SEE YOU NEXT WEEK <3
METAVOIDAL
Escape the corrupting music. Or die trying.
Status | In development |
Author | Yellow Lab Games |
Genre | Action, Role Playing |
Tags | brawler, Comedy, Controller, Dungeon Crawler, Hack and Slash, Horror, Pixel Art, Roguelite |
Languages | English |
More posts
- Some inTRINKET knowledge from behind the stage curtainJan 25, 2024
- A tale of Revenge! - Halloween Scream Fest StreamNov 01, 2023
- 'Com & Gone! An update on Metavoidal's International Tour!Aug 01, 2023
- An Indie Dev's Guide to Rendering Inside Of The LinesApr 01, 2023
- An Indie Dev's Guide to Changing a LightbulbMar 20, 2023
- Quick BTS Update! (Not the KPop group)Feb 10, 2023
- Full Steam Ahead! UpdateDec 14, 2022
- Tis the Season! - Halloween UpdateOct 31, 2022
- Beat the Devil Out of It UpdateOct 11, 2022
Leave a comment
Log in with itch.io to leave a comment.