Back to Home

Unity WebGL Game - 2D Platformer

Role: Developer

Game

Brief Instructions

Note: This game uses a fixed resolution and is best experienced in a fully expanded desktop browser window.
Mobile support is not guaranteed.
If loading appears slow, try using Open in a new tab for better performance.

Click the Start button on the Welcome page to begin the game.

Controls

  • Left / Right Arrow Keys — Move horizontally
  • Space — Jump
  • Double Space — Double Jump
  • If you get tripped and fall on the ground, use Double Jump to get up.
    (It may require more than one attempt depending on where and how you fall.)

Navigation

  • Reset (top-left corner): Return to the Welcome page
  • Previous (top-right corner): Restart the current level from the beginning

Enjoy your exploration!


Dev Log (Rubric Friendly)

【Title】

Stumble Jump

【Game Flow】

  • Welcome
    ↓ Start Button
  • Level 1
    ↓ Exit Object
  • Level 2
    ↓ Exit Object
  • Level 3
    ├─ YOU WON!
    └─ Reset Button → Go Back to Welcome page

2D Character Movement

  1. Run (Horizontal Movement)
    Move left or right using the Left / Right Arrow keys.

  2. Jump (Vertical Jump)
    A physics-based vertical jump triggered by pressing Space once.

  3. Double Jump (Mid-air Recovery and Mobility)
    Triggered by pressing Space twice.

    • Only available once per airborne state.
    • The player must return to the ground to regain the ability.
    • Double Jump is also used as a recovery action after falling.
  4. Rotate and Fall (Physics-based Failure State)
    When the player hits uneven edges or comes to a sudden stop at high velocity, the character may rotate due to physics and fall.

    • During this state, horizontal movement is locked.
    • The player can recover by performing a Double Jump, which resets the rotation and restores control.

【Camera】

Camera Follow
A camera-follow system keeps the player and nearby action within the frame at all times during gameplay.

【Non-player Objects with Distinct Behaviors】

  1. Trampoline — Ejector
    When the player lands on it from above, the trampoline launches the player high into the air, enabling access to elevated terrain beyond normal jump reach.

    • Side collisions do not trigger the effect.
    • Can be activated multiple times if conditions are met.
  2. Trophy-shaped Exit — Level Transition Trigger
    Appears at the end of each level.
    When the player collides with it, the game transitions to the next level.

  3. Apple — Temporary Power-Up
    On contact, the player temporarily becomes larger and gains increased movement velocity, allowing for higher or longer jumps.

    • The effect lasts a few seconds.
    • The apple disappears after being collected, accompanied by an animation.
  4. End-Game Checkpoint — Victory Trigger
    When the player reaches this object, a “YOU WON!” message appears and floats upward.
    A flag animation is triggered to visually mark game completion.

  5. Spikes - Death and Respawn When the player falls into a pit of spikes, they die and respawn at the nearest respawn point.

  6. Triggered Moving Platform — Conditional Transport Mechanism The platform activates when the player is upright and remains on top for a short duration.

    • Once triggered, it moves horizontally toward a predefined target position.
    • While the player is standing on the platform, their horizontal position is locked relative to the platform, ensuring they are carried smoothly without slipping or falling.

【Reset Buttons】

  • Reset (Global Reset)
    Returns the player to the welcome page, restarting the game from the beginning without quitting the application.

  • Previous (Local Reset)
    Restarts the current level from its beginning.
    This is particularly useful in Level 3 when a power-up (apple) is collected but not used effectively to reach the next floating platform.

Technology Stack

UnityC#WebGL

© 2026 shuning li・shannon | All rights reserved.