Game Developtment Task 3 - Prototyping
Week 5-8
Justin Averill Prasetya / 0355048Game Dev / BDCM / The Design School
Task 3 - Protoyping
INSTRUCTIONS
Prototype
Parallax Background
This script I've made ensures that the background in my game moves with the player but at a slower pace, creating a depth effect known as parallax. It adds visual immersion by making distant objects appear to move slower than closer ones, enhancing the overall feel of my game world.Firstly is a declaration which functioned as Define and initialize variables used throughout the script
Fig 1.1.2
Void start is used for initialization tasks that need to be performed once at the beginning of the script's execution or when the GameObject is enabled.
Fig 1.1.4
Jump
First, I made the character movement frame by fame I compiled it in the unity, and applied it to the script modifierFig 1.1.5
if (isOnGround): Checks if the player is on the ground.
animator.SetBool("IsIdle", true); and animator.SetBool("IsRun", false);: Sets animation states based on whether the player is moving (IsRun) or idle (IsIdle).
animator.SetBool("IsIdle", true); and animator.SetBool("IsRun", false);: Sets animation states based on whether the player is moving (IsRun) or idle (IsIdle).
Fig 1.1.6
Crate
To ensure the crate doesn't glitched out and go anywhere
Fig 1.1.7
Video Presentation
Fig 1.1.8
Comments
Post a Comment