Gaining Access to a new Code Block - Hawthorn-Games/ProjectScrapped GitHub Wiki

Goals

  • Reward the player for exploration
  • Create a sense of progression
  • Smooth the learning curve by locking certain mechanics behind arbitrary gates

Needs

The player is able to use Logic Editing on Editable Objects to edit their behaviour in game and the most straightforward way to do this is by accessing their class in Engine Mode, but if all Code Blocks were available from the start the amount of things to learn at once would be unbearable. We noticed first hand how a new player that has never played the game before just ignores the Code Blocks that they don't understand.

To prevent this issue, the player should gain access to more Code Blocks as they play and they can see only the Code Blocks they already gained access to.

To unlock a block, the player needs to approach and interact with a dormant Golem using the Player Interaction mechanic.

Constraints

Features

A Features (Required)

  • The Code Blocks in the Logic Editing mechanic can be unlocked by designers by calling an apposite function.
  • When the player unlocks a new Code Block, the player character performs an animation. When the animation is finished, a UI popup informs them of the new Code Block that they have Unlocked. Now, when they open Engine Mode, the new Code Block can be seen among the others on the list. image|400

B Features (Desired)

  • A cheerful tune is played along with the animation
  • VFXs to convey the feeling of "power" being transferred from the Golem to the Player

Reference

Metroid Prime

Dormant Golems act much like the statues in classic Metroid games that grant the player a new power, whenever they find a new one. Prime

⚠️ **GitHub.com Fallback** ⚠️