Posted December 08, 2022 by Jon Bednez
##gamedev ##hammer ##lifesaver
Hello everyone!
Another update for you. This involves floating orcs and hammering out bugs. :)
Polishing the hammer action for the orcs. Originally, I was using trigger events, but quickly realized it was too cumbersome and involved a lot of level design work that wasn't sustainable. To fix this, I went to using Linecasting. This way, the orc can send a line cast out in front to check if there is a crate. If there is a crate, the orc smashes it!
This only occurs if they have the hammer action online.
For the fast forward and normal speed buttons, I'm changing a Global speed variable. Its affecting not only the orcs' movement, but also their actions. (Doesn't affect the obstacles, maybe it will)
The Lifesaver action allows the orc to float on water. I'm still working on the design, but I got them floating and moving. The Lifesaver only appears when they interact with water.
For video shorts, please check out my YouTube Channel or TikTok Channel.
That's it for now!
Have a good one,
- Jon