Door to Another World

Type: Game Mechanic Brain
Level: 3 star
Pages: 1
Description: This brain is designed to link you to another game level. When the player interacts it starts a timer which fades out the world you are in and loads your new one. This brain does not work correctly until you add a linking level to its brain.

Note: Since shutdown you cannot link to Community Games so the first page you come to when adding a link will be completely blank. Click on Change feed. It takes a while, but it should give you the option of linking to My Worlds. You can link to any game level here. Please note that when in test mode if you load the new level that is what you will access in test mode when you select edit again, not your original level , so make sure you save before you test any level that level links.

Kode

  1. WHEN [detect][player][and][not][has power] DO [say][text: Interact with this…]
  2. WHEN [interacted] DO [toggle][has power]
  3. WHEN [has power]
  4. …WHEN [countdown timer][0.9] DO [pace][equals][0] // freezes all characters
  5. …WHEN [detect][player]
  6. …/…WHEN [duration timer][3]
  7. …/…./…WHEN DO [display][text:Leaving this World][screen bottom centre][x large font]
  8. …./…./…WHEN DO [display meter][blue][timer seconds remaining][max][3][screen bottom center]
  9. …/….WHEN [countdown timer][3] DO [fade]
  10. …./…/…WHEN [countdown timer]
  11. …/…./…./…WHEN DO [campaign][objset:send objects][equals][player][plus][it][allies][objects closer than][10] // This determines what objects are also sent to the new level (in this case the player and any allies standing within 10 meters plus any objects in the send objects set).
  12. …/…/…/….WHEN DO [go to world][your level here]
  13. …/…./…/….WHEN [display][text:Opps Which world…][screen center][x large font] // This only works if you havent chosen a level to link to in the brain. If you have added one you can safely remove this line.
  14. …/…./…/….WHEN [countdown timer][3] DO [power off]
  15. …/…WHEN [else] DO [power off]
  16. WHEN [no longer][has power] DO [pace][equals][1]
  17. WHEN [once][previous world]
  18. …WHEN [for each of][campaign][objset:send objects] DO [create][it]

 

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: