• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

v21.1 Movement Restrictions 1.0

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
Non-applicable
Couple of fun features from Pokémon Uakitite people might enjoy:
  • Restrict which ways someone can move (for example, force them to go up).
    • pbRestrictMovement is a function for quick setup with the release parameter affecting whether this restricts or releases restrictions on movement in certain ways. For example, pbRestrictMovement("vertical",true) allows the player to move up and down if they weren't able to before.
    • You can also just set the game switches linked with each direction if needed. If you just want downwards movement restricted, you just set that game switch on.
  • Restrict scrolling (perhaps you have a panorama that extends horizontally but not vertically and you don't want to break the illusion).
    • VERTICAL_SCROLL and HORIZONTAL_SCROLL are just game switches, so no function linked to them. Important to note that these switches restrict scrolling TO that option, so VERTICAL_SCROLL will actually restrict horizontal scrolling and having both on restricts all scrolling in case you want to keep the camera on a certain part of the map.
    • Be careful! The player can still walk in the direction even if the scrolling is off, so the player can walk out of the screen. This can be useful for fun features like a hallway that loops one way (could make for some interesting puzzles), but generally it's a good idea to make it impossible to walk off screen.
  • Forced direction terrain tags (most useful for emulating chairs).
    • All you need to do here is set the tiles you wish to force the player direction-wise to their respective terrain tag (of which you can modify in Directional Terrain Tags).

There's no specific version for this though I'm not certain if the modified functions were different in earlier versions. It should work in most newer versions (I know it works in v21.1).
Credits
Atlat
Author
Atlat
Downloads
229
Views
1,115
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Atlat

Back
Top