There was an old meme a decade ago called Karateka Dance or Ninja Work(s) It. An animated gif with the ninja from the game Karateka dancing like MC Hammer to, I believe originally, the song “Harder, Better, Faster, Stronger” by Daft Punk.
I rotoscoped the frames in 3D with Blender, animated them in UE4 and made this video.
I did this to test an idea for an ultraviolent retro shooter with dismemberment mechanics.
Someone asked how to implement footsteps when not using Animation Blueprints and therefore without access to AnimNotifies.
Basically what I did is check everytime the Flipbook plays the 2 frames when each foot touches the floor, then trace to the floor and play a different sound depending on the Physics Material.
And because every time I switch angles the animation resets, I had to add some extra functionality to the sprite logic.
The solution is to save everytime at the end of the calculation what is the time of the Flipbook playback timeline and the angle, and at the start check if the angle has changed, and if it has, play the animation from the position saved previously with the extra DeltaTime.
Also, as you can see, I added a very basic patrol mode.
Unless something VERY interesting catches my attention the next thing on my list would be gore, specifically blood squirts, exploding corpses and blood pools.
This is a short video with 3 bigger monsters that could represent bosses with some interesting shooting patterns.
And they have some improvements in the Pain State, I’m using Timelines instead of Delays so when the Pain State is triggered I can stop any countdowns and just switch the logic to the stun without being interrupted by other function that was latent waiting for a Delay to finish.