Day 9
Geometry
Unity
- Quaternions:
- Identity
- Euler
- Slerp
- Parenting: head inside character
- Separation of rotation around x and y axis if using function.Rotate()
- Mathf.
- Clamp
- SmoothDamp
- Functioning POV Camera: Quaternion used
- Walking: forward, not axis (works)
- RotateAround()
- Sprites:
- Layered character of sprites
Graphics (3D and 2D)
- Drew a sprite
Day 10
Physics
Unity
- Horizontal Movement works (no acceleration; over multiple scripts)
- Camera: Follows player (2D, orthographic)
- Gravitation works (no acceleration, mass etc.)
- PolygonBoxCollider2D()
- CheckSphere()
- Gizmos in Unity: Definition
- Collision:
- 2D Linecast to layer successful
- Left/Right Wall-check without cancelling each other out
- Jump mechanics created (no acceleration)
- Background follows player
Graphics
- Background painting in Photoshop
Day 11
Geometry
- Minimum Bounding Box: Definition
Unity
- Animation:
- Idle state
- Walk left/right states (incomplete)
- Jump state
- Falling state
- Landing state
- Water default
- Animator:
- Default set to idle
- Animations loop when needed
- Transitions and triggers for Walk L/R, Jump, Falling, Landing work
- Animation handler that can sit() out the input when player can’t move due to animation running
- InstaDeath tile works temporarily
- Facing direction
- Gizmo functions:
- DrawRay()
- DrawLine()
- Flip sprites: Flips all animations as well
- Water:
- Collision works
- Reduces velocity
- Allows for multiple Jumps
- Input Monitor: knows whether player is idle or not
- Jump: now chargeable
Graphics
- Different body parts and poses for the 4 animations
- InstaDeath tile drawn
- Water tile drawn
Leave a comment