Ookiiushidesu
Lead Mapper/Eventer at Gen0
- 53
- Posts
- 13
- Years
- Age 34
- Seen May 27, 2016
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?
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?