The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.


Reply
 
Thread Tools
  #1    
Old August 18th, 2013, 11:59 AM
Ookiiushidesu's Avatar
Ookiiushidesu
Lead Mapper/Eventer at Gen0
 
Join Date: Jan 2012
Age: 23
Gender: Male
Send a message via Skype™ to Ookiiushidesu
Hey guys.

So, earlier I had a question on how to do torches. The wonderful people here both showed me how to make a torch and even call a script for the flash effect.

But while thinking, I had a cool idea. There's already the light effects that make shadows... But what if you could incorporate the whole light radius into one of those objects?

Like you could set up a lamp post and then some surrounding events that when you step over them, going towards the light it increases the light radius, but when you move away it decreases.

As far as the switches and stuff goes, I can do that fine. But what I'm wondering is how can I edit

darkness=$PokemonTemp.darknessSprite
return false if !darkness || darkness.disposed?
$PokemonGlobal.flashUsed=true
while darkness.radius<176
Graphics.update
Input.update
pbUpdateSceneMap
darkness.radius+=4
end

to make it where it only raises the darkness by a bit, or lowers it. I tried messing with the "while darkness.radius<176" and the "darkness.radius+=4" but I couldn't get it to work.

Any help?
__________________
~TBC
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 08:20 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.