Assignment2_The Mysterious Underwater World_Shiyu Qiu

Inspiration: The Mysterious Underwater World

Visual Reference and Description:
A mysterious world hidden beneath the shallow seas, teeming with rich marine life and ancient shipwrecks. The player's goal is to explore this unknown realm, unveiling its hidden secrets. The underwater landscape varies greatly, from smooth sandy bottoms to complex coral reefs.

Definition: Exploring Underwater Swimming Interactions
What interaction or behavior are you trying to explore here?
The primary focus is on how players swim in an underwater environment, including moving forward, floating up, and diving down. The game's water will trigger a transition of the character's animation from walking to swimming, allowing players to control the character's movement through simple input.

Paper Prototype:
Logic Breakdown:

- Automatically switch to swimming mode when the player approaches water.
- Use mouse and keyboard input to control the direction and speed of swimming.
- Automatically play swimming animation when the character touches the water.
Did you consider any alternative solutions?
- Considered using trigger zones to detect when the player enters the water and whether different swimming animations are needed underwater.

Share an image of your paper prototype.

Blueprint Walkthrough: Creating a Basic UE5 ScriptBlueprint Walkthrough: Creating a Basic UE5 Script

Image and Verbal Description of Your Script:
- Input Control: Set up input controls in the character's blueprint, allowing the use of the keyboard's WASD keys and the mouse to control the direction and speed of swimming.

Successes and Challenges
What Went Well?
- Successfully created the logic for different swimming animation.
- Implemented basic swimming controls, allowing free movement in the water.

Next Steps
- Scene: Will buid the underwater scene construction.
- Setting Trigger Zones: Place a trigger zone (Box Collider) at the edge of the water. When the player's character enters this area, it triggers the swimming state.
- Swimming State Transition: Use a simple blueprint logic to detect when the player enters the trigger area, switching the character's animation state from walking to swimming.
- Encountered some issues when transitioning animation states, especially when switching from swimming back to walking.And need to further study UE5's animation system.

Leave a comment