Main Menu
  • Welcome to The RPG Maker Resource Kit.

[XP] "Simple" Lighting System

Started by Mr_Wiggles, December 13, 2009, 03:25:31 AM

0 Members and 1 Guest are viewing this topic.

Mr_Wiggles

OK, i see that a lot of people are asking about this on nearly every form alive.
I even wanted to learn how to do Light effects for a Characters Flash light or a lantern.
So i decided to try it out and make an event system that does such a thing.
Every thing that is needed to do such a task is enclosed in the demo, along with a few exsamples on how to use the flash light:

use by an item
use by a button
use by a switch

There are also detailed comments on why i did this or that to help explain what i was thinking.

Whats being used: "These can be changed to what ever you want them to be"

- Switches -
1 = Flash light                   - for use with button togle and Item
2 = Flash light button on     - for Button comon event to be Parallel

- Variables -
1 = Screen X - for X placement of Light Picture
2 = Screen Y - for Y placement of Light Picture

- Commons -
1 = Flash Light
2 = Toggle on and off
3 = Button Pressing


NOTE: This is realy basic, it works yes but its not like true light... it will pass through walls and objects, and does not cast any shadows.




Post your questions/ comments bellow.
[spoiler]
METALFRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.

We also

    Refinish decks
    Do custom interior painting
    Strip wallpaper
    Refinish cedar siding
    Metal front doors and sidelights
    Metal garage and service doors
    Grained fiberglass doors

    If your structure is *RUSTED *FADED *CHALKING *IN NEED OF COLOR CHANGE, we can fix it with a guarentee!

northern Illinois and southern Wisconsin.

http://metalfreshcoatings.com

[/spoiler]

stripe103

This was really good. I'm going to use this in my game.

Mr_Wiggles

@stripe103 -
Glad you like it, im useing it as well for my zombie game, im hopeing to have a demo soon....
[spoiler]
METALFRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.

We also

    Refinish decks
    Do custom interior painting
    Strip wallpaper
    Refinish cedar siding
    Metal front doors and sidelights
    Metal garage and service doors
    Grained fiberglass doors

    If your structure is *RUSTED *FADED *CHALKING *IN NEED OF COLOR CHANGE, we can fix it with a guarentee!

northern Illinois and southern Wisconsin.

http://metalfreshcoatings.com

[/spoiler]

gameface101

@mr_wiggles - simple and helpful = good job

can't wait to see this zombie shooter in action ^,^

~=[G@/\/\eF@Ce101]=~

Sashikinaroji

#4
Well, now all that remains is to make this something that runs out after a certain amount of time (which, I assume would be very easy) and then we have a special item that you need to stock up on to use (like batteries, or latern oil or somthing) that you use to make it keep on working!


EDITed in response to below post: Well, I would have figured it out eventually...

-_-

I feel stupid.
Ok, DON'T EXPECT HELP FROM ME~! I will perhaps rant a bit, but don't expect me to do graphics for you, even if I say I will... I won't.

Mr_Wiggles

that wound be that hard make a common event that checks for "batteries" and then make a "wait" for so long then remove one batteries and then when no more batteries then the light gets turned off by the switch its turned on by...

i hope that wasn't too much to be explained.... ;)
[spoiler]
METALFRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.

We also

    Refinish decks
    Do custom interior painting
    Strip wallpaper
    Refinish cedar siding
    Metal front doors and sidelights
    Metal garage and service doors
    Grained fiberglass doors

    If your structure is *RUSTED *FADED *CHALKING *IN NEED OF COLOR CHANGE, we can fix it with a guarentee!

northern Illinois and southern Wisconsin.

http://metalfreshcoatings.com

[/spoiler]

stripe103


Mr_Wiggles

@ Sashikinaroji - your not stupid... and if you have any more questions feel free to ask them... :)
[spoiler]
METALFRESH is a paint contractor that specializes in refinishing metal and vinyl siding. We paint metal buildings as well as siding on homes.

We also

    Refinish decks
    Do custom interior painting
    Strip wallpaper
    Refinish cedar siding
    Metal front doors and sidelights
    Metal garage and service doors
    Grained fiberglass doors

    If your structure is *RUSTED *FADED *CHALKING *IN NEED OF COLOR CHANGE, we can fix it with a guarentee!

northern Illinois and southern Wisconsin.

http://metalfreshcoatings.com

[/spoiler]