• 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

Resource Adjustable Darkness Circles 1.0

DerxwnaKapsyla

Overseer of the Abyss
Member
Joined
Apr 24, 2017
Posts
157
DerxwnaKapsyla submitted a new resource:

Adjustable Darkness Circles - Allows recreation of Dewford Gym-style dark circle puzzles


Adjustable Dark Circles
Ft6tPce.gif




This plugin is a port of Mej71's "Adjustable Dark Circles" script that was made for the PokeCommunity Halloween 2016 Game Jam, "Blinded by the Fright". It has had its code updated to reflect how code is handled in 20.1 No other functionality has changed.

The way the script works is as follows:
Available Commands:
Expand Collapse Copy
beginDarkCircle...

Read more about this resource...
 
Hi, I really like this plugin and would really like to take it with in v21. It's actually working but the circle is actually really really slow if it expands. Thank you :)
 
and another question: If you would update it, could you make also a command that the circle increases for every time you use the command. For example you win against a trainer and the circle increases about 5.
 
You could use a variable to keep track of the radius for that. You start with the variable with a value of 5. Each time the player wins against a trainer, you add five to the variable like that:
1690037381392.png

Right after changing the variable's value, add this in a script (you know, the script option in event commands):
Ruby:
Expand Collapse Copy
newRadius = $game_variables[1]  # newRadius = pbGet(1) does the same
changeDarkCircleRadius(newRadius)
Or the changeDarkCircleRadiusSlowly(newRadius) version.
And you'll just have to copy and paste the 3 lines. Making a command for what you ask would probably be similar, with a variable keeping track of the value of the radius and adding any value you put there. Maybe with a conditional so you can put 0 to reset it or something.
 
Back
Top