Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Implementation of a working lighting script?

Notices
For all updates, view the main page.

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 May 31st, 2012 (06:24 AM).
Alucard2050 Alucard2050 is offline
 
Join Date: May 2012
Gender: Male
Posts: 4
Hello guys!

I'm not very skilled with scripting and just started working with the Essentials Pack recently. In the demo maps, I noticed the shadow script and wanted to ask, if there is any compatible lighting script (lantern emitting light when the world is in 'night mode') working with it?

I tried several scripts, but after I implemented them, they seem to have gotten in the way of other scripts, the game gave me some script errors and crashed.

So, is there any way to implement such a script? It would be really helpful!

Greetings, Alucard2050
Reply With Quote
  #2    
Old May 31st, 2012 (07:19 AM).
Riansky's Avatar
Riansky Riansky is offline
Purr
 
Join Date: Jan 2012
Location: Slovenia
Gender: Male
Posts: 199
The best way to do that woudl be puting a fog over your map. You create your fog layer in photoshop or any other program which have layers and make the light parts on lets say windows and lanterns. Then you create an event which will put fog on the map on the nigh t time
__________________
Reply With Quote
  #3    
Old May 31st, 2012 (07:35 AM). Edited June 1st, 2012 by Alucard2050.
Alucard2050 Alucard2050 is offline
 
Join Date: May 2012
Gender: Male
Posts: 4
That's a nice idea. But then the light will be on fix points, or am I wrong?

I mean, the player moves and then the camera scrolls the map. Wouldn't the fog move with the player and then gets shifted, so that the light spots are on the wrong position then?

Greetings, Alucard2050

€dit: Okay, now I got what you meant :D I created the lightmap, used it as fog and it looks great. Thanks for your post!
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

Forum Jump


All times are UTC -8. The time now is 07:35 PM.