• 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.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
GameplayGifs

v21.1 GameplayGifs 1.0.0

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
This plugin instantly allows you to display gifs on the screen anywhere without disrupting gameplay.

Usage

To activate this script, just type the following with agif in the Graphics/Pictures/ folder with the same name (location can be changed in the main script file)
pbShowgif("name")

there are a few more parameters, shown below; all of these are the defaults
pbShowgif("name",30,0,0,false)
In order:
name: Is the name of the gif (can't be left blank)
frames: Is the amount of frames it will appear on screen (60 is one second)
x: Is the x position
y: Is the y position
Wait: Is whether or not it should wait for a message box to be closed

In further detail, when it comes to the frame count, this is simply how long it lasts on the screen after other conditions are considered.

For x and y positions, Ive allowed you to be able to set up in the code shortcuts. In the code, you will see if there is a statment for "centre." Instead of inputing a number, you can input "center" to make it move to the center of the x or y position (example below). Being predefined, these spots don't need to be calculated every time they are used. Using elseif statments, you can add more predefined spots. Included comes a "save" I use on the y axis for an animation added to the save screen (simular to gen 5 black and white)
pbShowgif("banana",30,"center","center")

Finally, the true or false "wait" condition just detects if it should wait for a message box to close. Frame counts will not be considered until a messagebox is closed either. If you set this to true, the frames should be set low (preferably 1) in order to make sure its closed once the message box is. This also means the script should be called before a message box; otherwise, it will not leave as it'll keep waiting.

Installation

The easiest part to understand, just move the plugin folder into your main folder (or the GameplayGif folder inside the plugin folder into your plugin folder!) and recompile your game by holding CTRL while starting in debug, and that's it! It can instantly be used right away!

Plausable updates (depends how lazy I am)

  • Ability to have the animated gif wait for multiple messages (most important to me)​
  • Ability to have it close only when a game variable is <= >= or == (maybe a warning to get back in bounds tracking players cords)
  • Ability to have it close only when a game switch is true or false (maybe a fun gif when you game over, or safari zone is currently active)

Known Bugs
Sometimes tabbing out on long-lasting gifs can sometimes mess up the timer, making the gif last till the next proper disposel.​
Credits
Plugin Credits:

Creator: PotatoCant
Author
PotatoCant
Downloads
46
Views
382
First release
Last update

Ratings

0.00 star(s) 0 ratings
Back
Top