• Register

Travel back to a Britain full of mirth, myth and magic, in this top-down fantasy adventure RPG! A world is overcome by dark forces, the wheel of the seasons no longer turns, and it's down to you, a true adventurer, to uncover the secrets of the Ley Lines... Wield the wand of light! Throw ghostly <checks notes> gloves..? Attack enemies! Or simply explore, catch bugs, make potions and spend the rest of the day fishing! Maenhîr's beautiful, but deadly, open world lets you explore at your own pace!

This week I've added in a net, and refactored all the code so little NPCs can be caught!

Posted by on

Monday 07.02.2022

Started on the character actions for the Net. Yeah, it’s Animal Crossing: you sneak about, and catch bugs for an achievement while reading lots of bad puns.

Today I got the Idle, Walk and Swipe animations done. Modelled the net and did the basic setup in the build. You can move, but you can’t do anything else just yet.

Tuesday 16.02.2022

Refined the player’s animation blueprint and created an Anim Montage for the swipe.

Added code to the Player Controller to trigger a swipe if all conditions are good. The Player Character plays the animation and blocks any further button mashes.

When the swipe begins, the Player Character’s Blueprint does a sphere check for any CatchableNPCs in front of the player, and if it finds any, exits, cleans up, and starts the process for an identity dialog to come on screen.

Catchable actors had no code for being caught, so I added all that, tidied up the base class from my initial first pass (from years ago!) and setup all the existing butterflies to have the correct params. Everything can now be caught! Time to make variations…

I’ve tweaked the speed at which player movement spooks everything, and generally fiddled with the numbers so things are pretty easy to catch, but you can’t just run up to them.

Also textured the net, and setup the mesh to use a cloth simulation.

Lots of stuff touched and tweaked, but it all worked out quite nicely. A productive day!

Friday 18.02.2022

Designed an icon for the net and added it to the quick select inventory wheel. Came out ok, I think.

I added a delegate to the Player Character so CatchableNPCs can bind to it when they spawn. The player broadcasts out when it’s finished checking the Net, and then bound NPCs that haven’t been caught can decide if they want to flee, ie: if they think they’re too close to the player.

Also did the same for the Wand. I think it’d be cool for Moths to come toward the player, for example, or maybe have glow worms run away?

There's a quick video on TikTok

Pretty happy with all this. Ship it!

Post comment Comments
gayzad
gayzad - - 7 comments

net

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: