Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Lighting effects
Skurge
post Jun 22 2012, 10:43 PM
Post #1


Criminal scum
Group Icon

Group: Revolutionary
Posts: 186
Type: None
RM Skill: Skilled




Ok simply put, I've searched everywhere before asking here to avoid spamming the forums ( im sure many have asked this before )

I'm making a survivial horror game based on john carpenter's " The Thing"
It's going well. Really well but there are missing factors such as lighting

I need to know how I can put down a simple lighting effect for events like lights, lanterns and such.

I would prefer it to be a simple as possible and hopefully I can avoid that annoying method of adding light effects on a screenshot of the map in a photo manipulation program, I would really appreciate some help smile.gif
Go to the top of the page
 
+Quote Post
   
thatbennyguy
post Jun 22 2012, 11:18 PM
Post #2


Aspiring Indie Game Dev
Group Icon

Group: Revolutionary
Posts: 197
Type: Developer
RM Skill: Undisclosed
Rev Points: 40




You haven't specified the game maker.

Never mind, here's lighting scripts for each:
RPG Maker VX Ace: Khas Awesome Light Effects
RPG Maker VX: Kylock's Light Effects VX
RPG Maker XP: Dynamic Lighting Effects

Hope this helps.


__________________________



.

Completed Games:


Games Under Devlopment:
(Recruiting testers, PM me)

I Support:


My Award:
Go to the top of the page
 
+Quote Post
   
Skurge
post Jun 27 2012, 03:49 AM
Post #3


Criminal scum
Group Icon

Group: Revolutionary
Posts: 186
Type: None
RM Skill: Skilled




Thanks man that helped out!

I forgot to ask if there's a possible way for held torches? Like there shinning a space or so infront of the player? And if possible a script for smokey lights such as Flares or fire?
Go to the top of the page
 
+Quote Post
   
Decedent
post Jun 29 2012, 01:24 PM
Post #4


Level 6
Group Icon

Group: Member
Posts: 86
Type: Developer
RM Skill: Advanced




I don't understand the smokey lights part, but for torches you can do this;

Create a black image 640 X 480. At the center of the image using photoshop, cut out a circle in the center with some fading around the edges so it's not a sharp edge. Then in the map, have an event 'Show' that picture at 100% size, and it should make it look like you can only see so much around you.

Alternatively if you want to use a flashlight and get creative, make 4 images just like the one described above, only have the V shape cut out for the torch's light radius. Have one picture for each direction (Up, down etc) and have a parallel process that goes something like;

Loop
Wait 1 Frame
If Player is Facing Up, Show Picture 1 "Torch Up"
Else if Player is Facing Down, Show Picture 1 "Torch Down"

etc etc,

End

The Wait 1 Frame is important because otherwise your game will just freeze from constantly showing picture.

Another feature you may be interested in is using Fog to create all the shadows and lighting effects. There once was a tutorial on this sight about sunbeams that may help, but the idea is like this;

You create a black picture the same dimensions as the map in question (By default they are 20 by 15, with each grid being 32 pixels, therefore 640 x 480). Take a screenshot of the map, and using Photoshop make the black picture translucent. From there you just cut and erase sections of the map where you would have lights or shadows. Delete the screenshot of your map so you are left with a black picture and finally, change the map fog graphic to this saved picture. Set the Fog Zoom to 100% (it defaults at 200) and there you have it.

I may not have explained it very well, there are topics around here on the method I described above.


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 05:26 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker