Last Legend Devlog

Yesterday, I learned how to use LeanTween’s spline-following functions, and attempted to create an interface using Unity’s UI. It went horribly wrong and mucked up my input, so I’ve ditched it for… rolling my own buttons.

Today, work has begun anew on the radial menu. And I have the radial menu spawning on command at the location of my choosing, with as many buttons as I like, and gracefully disappearing on command as well.

Cool beans. Now I need to tie it to actions and teach it to accept input.

I have to say I love the sheer amount of math involved that A) I don’t have to do, and B) I don’t even have to understand. How do you move an object along a spline? Hell if I know; Lean Tween will handle it for me. How do you rotate a spline around an arbitrary axis point so that multiple icons will follow the same path, except rotated? Hell if I know; Unity will handle it for me.

Input’s going to be a tad bit tricky. Mouse and touch will be easy, but the point of a radial menu is that you press a direction with the stick or D-Pad and get the button in that direction. I’m going to have to figure out a general solution that works on every number of buttons. But first, I guess I better do some plumbing.

Update

The plumbing has gone poorly. The menu-making has fortunately gone better.

Now, all that remains is keying it up to interactables instead of my test wheel summoner.

..

AND WE DONE IT!

As of right now, we gave all we need to make a super-simple adventure game. All that remains to make a fully fledged adventure game is dialogue choices and inventory, both of which will eventually be needed for the RPG as well. But, as I have previously discussed, I am not interested in making adventure games unless the Good Lord strikes me with an innovation that would completely transform the genre in a very specific way.

But! The radial menu should function as-is for combat as well as world exploration.

ONWARD!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s