Ler em Português do Brasil
This project is a 2D Platformer sandbox created in order to test and study 2D features using Unity. Feel free to fork and test it out.
I see you've met Ryzen already. He is our sharpshooter never missing arcane archer. At least he likes us to treat him that way. Err... let me tell me more about the project:
Here are some of the features working already.
We have built an State Machine for Ryzen and it works really well as we tested.
I believe it could save many hours of dealing with Unity's Animator Controller transitions cause it turns scaling the project much easier. Feel free to give it a try.
You can find it's code under Assets/_Scripts/State Management and all Ryzen's code under Assets/_Scripts/Playable Characters/Ryzen.
- Unity Input System
- Pixel Perfect Camera
- Canvas visual affordance for power shooting throug a Slider
- Character events prepared to be triggered. Currently as of Ryzen starts a jump a visual affordance of that event will be set off through a blinking diamond positioned on the right upper corner of the screen.
- CineMachine used so camera will follow ryzen's steps.
- We now have a multiple layers scenario.
- We can now experience an "parallax effect" while moving Ryzen around.
- "Loading to Shoot" time
- Power Shooting if attack button is pressed for a minimum given amount of time
- Arrow projectile being instantiated and destroyed upon collision detected
- Idle, Running, Loading Shoot, Shoot, Ascending and Descending animations
- Ryzen can now Dash (rolling on the ground). He can only do this if grounded.
- Case Primary Attack Button is pressed during dash or jumping time (and remains this way upon finishing the action) he will automatically engage on attack.
- Dashes and Jumps Cancel attacks in progress
- Both jump and dash actions trigger events wich can be listened to any other game entity.
Huge thanks and shout out to my dear artists listed bellow. You guys are angels providing assets for us crazy coders who need to test stuff out. For real. Thanks.
- astrobob's Arcane Archer
- Free Pixel Art Forest by edermunizz
Tested on 2020.3.25f1 LTS
