Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Lock on antics

This week i was dealing with lock on mechanics for the game. It was an interesting challenge and led to many unique bugs. Most notable were the bugs where the player was flying while being locked onto the enemies.

What would happen changed as i tried to fix it first the mech would flip 180 degrees each frame while being over the enemy. Then there was an issue where the arms would disjoint from their proper positions. Finally and arguably most humorous was the bug where being over the enemy would allow the player to pull back to ascend infinitely. I managed to fix this by  adding more resets int he break lock on function and by adjusting how the mech is rotated in code.

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.