4_Dwarf Ale Dungeon
This platformer was made during 4th week of 3WA Unity Training Course.
- Goal : Get all beers and get out of the dungeon
- Controls :
- Move : Arrow keys
- Jump : Space
- Double jump : Space + Space (while in the air)
- Note : To destroy pillars, just run toward them -_-'
- Topics studied :
- 2D Animation using Animator and Animation Panels
- GameObject flip using transform.localScale
- Rigidbody2D.gravityScale property to manipulate the gravity force on the player
- Vector2.Lerp to add a smooth camera movement
- Physics2D.OverlapCircle() to detect when the player is on the ground + Gizmos.DrawWireCircle() to draw physically the position overlap circle
- Physics Material 2D to remove friction on player Rigidbody2D
- Mobile platforms composed of a GameObject with SpriteRenderer component + two empty GameObjects as StartPoint and EndPoint + Vector2.Lerp() for the movement
- Player on mobile platform : Player added as child of the platform using SetParent(platform) and removed from platform while jumping using SetParent(null)
Have fun!
Status | Prototype |
Platforms | HTML5 |
Author | dabfredo |
Genre | Platformer |
Made with | Unity |
Leave a comment
Log in with itch.io to leave a comment.