Main Character Sprites and Animation - UQdeco2800/2022-studio-1 GitHub Wiki
I received the original design of the main character and the tree cutting tool from team2 and used Pixilart to complete the design of the tree cutting action. The above motion picture gave me some inspiration. In order to distinguish the main character's state in the game, I used a straight up and down tree cutting action with a large range.
The continuous swing of the main character sprite's arm can make the tree-cutting action look natural and smooth. Based on the original design of the main character, I followed the color code and style used for the arm before, designed the pose with the arm raised at different angles according to the orientation and front and back of the main character sprite, and adjusted the axe sprite to the right size and angle, and finally spliced them into the animation.
I have made some changes to the frontal view of the main character sprite body. By looking at the action of cutting the tree in the above motion picture, we can clearly see that the human is in the moment of cutting the tree the muscles of the whole body will expand, and the arms are twice as thick as usual. Our main character is a naked centaur image, so I used the above centaur picture as inspiration to add some more obvious muscle design to the main character sprite.
I added a clear abdominal muscle design to the waist of the main character sprite and widened the size of the upper body to show the full body muscle expansion. On the other hand, I widened the sprite's arms and muscle lines, and increased the realism of the tree-cutting action by changing the state of the arms and muscle lines during the arm swinging process.
At the beginning of the design, I focused on making the axe swing, but the main character's arm didn't move to make the tree-cutting animation become a bit strange, so I changed the moving arm form and position to make the arm and axe swing together to increase the look and feel of the animation and realism. But at the same time, there is also a problem, the main character sprite's frontal arm is too thin, so the cutting action does not have a sense of power, so I added some muscle lines to improve this problem.
Since, the main character is controlled and moved by pressing one of the w,a,s or d key, so the character sprite should also indicate the change in direction. It is done by calling specific animation when one of that key is pressed.
case Keys.D:
walkDirection.add(Vector2Utils.RIGHT);
entity.getEvents().trigger("ch_dir_d");
triggerWalkEvent();
return true;
So, the event "ch_dir_d" changes the sprite direction associated with key d. In the same pattern all other keys have been associated.
In somewhat similar sense to above when the user presses space to attack, a particular event is called which triggers attacking animation.
case Keys.SPACE:
entity.getEvents().trigger("attack");
entity.getEvents().trigger("attack_anim");
return true;
Makers. Games.(n.d.).Lumberjack Woodcutter, https://giphy.com/gifs/readycontest-indiegame-lumberjack-YWxV34fttb0ljpRcoY
r/noisygifs.(2012). Lumberjack, https://www.reddit.com/r/noisygifs/comments/25nsok/lumberjack/
TLC Europe.(n.d.). Say Yes To The Dress Wood, https://giphy.com/gifs/tlceurope-iFVXy9PisQhU4GmsqZ
The Roku Channel.(n.d.). Travis Fimmel Lumberjack, https://giphy.com/gifs/therokuchannel-roku-the-channel-50-states-of-fright-xEZNIJuyNmnJ6XdJ1t
Biqqs.(n.d.). Centaur, centaur, horse, centaurworld, centaur world, fantasy, glendale, centaurs Sticker, https://www.redbubble.com/i/sticker/Centaur-centaur-horse-centaurworld-centaur-world-fantasy-glendale-centaurs-by-Biqqs/103922427.EJUG5#&gid=1&pid=3
G.German.(n.d.). centaures, https://www.pinterest.com.au/pin/413909021996293756/
I found inspiration from the horse's running posture and modified the bent shape of the main character's legs.
By moving the body of the main character and changing the degree of bending of its legs to show the walking form of the half-horse man.
Use the form of a horse prancing in the air as the animation when acquiring a weapon.
My design in terms of action design is that when the main character gets a weapon from the backpack, his equipment and physique change and will show this action below. His physique will change to a strong form, holding a weapon.
Each weapon is used in a different way, and I designed their usage animations according to the usage of each weapon.
When main character encounters an enemy and needs to launch an attack, the weapon in his hand will keep waving.
https://giphy.com/gifs/pbsnature-horse-colt-baby-Zy7UoZEAeWtkXCXOtr
https://giphy.com/gifs/funny-fail-lol-JnvlBMZ5R0GyI
https://giphy.com/gifs/loop-muybridge-papercutout-D7JaUe7BCCaRKM3QoL
https://br.pinterest.com/pin/661466264003395351/
https://giphy.com/gifs/horse-life-R8bcfuGTZONyw
https://giphy.com/gifs/TWQJTheMovie-reactions-manikarnika-jhansi-WryW3XfviTS1QvrQsK
https://giphy.com/gifs/trt-network-horse-action-alparslan-Aid8B0SFOAQS7cAAQc
https://giphy.com/gifs/goawayunicorn-ytv-go-away-unicorn-5nqwBeIMm8dCle26jz
https://giphy.com/gifs/xbox-xbox-series-x-s-marvels-midnight-suns-VxHixRra5rtEMMw7b0
https://giphy.com/gifs/shooting-shoot-weapon-yMGev5qpDZXb2
https://giphy.com/gifs/justice-league-aquaman-jason-momoa-xUA7b84dYaAEYubU8E