The Knight
Design
The first obvious thing to me was to design the protagonist, the Knight.
I already had some design choice in mind. I'm a huge fan of Hollow Knight and I liked their characters design and proportions.
A huge head, small stumpy legs and some kind of cloth to cover the body.
I wanted a more traditional knight look with similiar proportions to the Hollow Knight. As a little twist, which I really like, he wields a pencil sword. Fits the style and looks cool.
Now to bring him alive, le animation.
Animation
Idle
Walk
Jump
I was really happy on how all these came out and they sure were fun to make.
Implementation
I keep learning new tricks for Unity everytime I make something in it. One of those things, is how powerful the Animator is. Not only animations but root motion and frame perfect function calls makes it really easy to implement a character.
My animator layout looks somewhat like this. (With some extra states for attacking)
The Any State is usefull for the falling and jump animation. Besides that I think everything is pretty straight forward.
The code should be nothing crazy because the animator does most things for me.
Simple Movement
Flipping the X scale for facing
I chose to flip the scale instead of the sprite so the offsetted hitbox and so on moves along.
And of course check for grounded
That is the basics of my implementaion, nothing fancy but still worthy of documentation.
Next time I will show some enemies that I am working on and some knight attack animations.
Pencil Knight
Draw your on path!
Status | In development |
Author | jordanso |
Genre | Platformer |
Tags | 2D, crayon, Hand-drawn, knight, pencil |
More posts
- Intermediate CombatOct 10, 2020
- Bringing a scene to lifeSep 27, 2020
- Beginner CombatSep 27, 2020
- Little CrittersSep 26, 2020
- Origin and InspirationSep 26, 2020
Leave a comment
Log in with itch.io to leave a comment.