Compatibility VX only. All methodes are aliased so perfect compatibility!
Screenshot Without AutoLight
Video Tutorial on how to use and make lights, shadows and spots for AutoLight!
Installation Put the script above main. Change the values to your own wish. Make pictures of your maps that needs AutoLight's light- and/or shadowmaps. Make a spot picture or get it from the demo. Make eventlights or get one from the demo. Credit me pls.
FAQ Q: How can I create light- and/or shadowmaps easily?
To create your maps, snap your map (Use Alt+PrintScreen) and put it into Photoshop. Next thing is to resize the picture. Cut off all the unnesasery items from the picture (Use only the WHOLE MAP (inc. the black area)) by drawing a square around the view. Cut the selected area out and create a new composition with the size corrosponding with your map (width=32*X_tiles, height=32*Y_tiles). Paste the cut-out map in this new composition. Now it's up to you where you want your light/shadow. Create the light and/or shadow with the use of the selecting tools. When you're done selecting rightclick in one of the selected area's and choose NewLayer (or feather first). Then rightclick and fill White (also the shadowmaps). Go to save-as and select in the tab fileformat PNG. Set the correct name (Your in the script choosen name+mapID, EG Light1 for map 1) and click save. Go to the script and make sure you have UseLight and/or UseShadow = true so that when you get in to the game a picture is able to be shown when the by you choosen switch is on.
Terms and Conditions Credit me with site, and the script is free for use in NONCOMERCIAL projects. If anyone want some changes, please pm me or post it here, I'll track the topic.
For the past couple of months I've been learning RGSS and I've got the basic stuff down such windows, variables, conditional statements, ect. But, I can't see myself making big scripts such as a jumping system or a side view battle system. I was wondering how you learned to script because I really want to know how to script really well.
Thanks in advance.
Well I don't make battle neither though I can still teach you some things :)... The way I've learned to script is by reading other scripts for the most part. I've allways been interested in other peoples work but this time I though I had to try to make something myself...and it worked!! The most importand thing when you go scripting is (at least in my case) that you want to make something to help an other wich can't script. You also need to feel the competition that's around in the scripting-community. Cause, I have to say, if you get pushed to get a sertain request done before an other scripter does, you feel POWERFULL!! :P So that's an other thing... You also don't need to be afraid to learn from others or helpfiles. When I write my scripts, I actualy always have the helpfiles open to look things up I don't know or remember. Then, you must be calm, cause you need to try the script a lot of times. When I write a script, I test it after almost every changes. First I set up the major structure. Like when I make a window-script or part of a script I start with something like this:
class Window_Name < Window_Base def initialize(x,y,width,height) super(x,y,width,height) refresh end
def refresh self.contents.clear draw_contents end
def draw_contents draw_something(with, some, parameters) end
def update refresh if @something != @what_it_should_be end end
So that's also very important. Then, the biggest thing I learned scripting from is TRIAL AND ERROR. That's the most irritating way to learn something, cause it's more ERROR than TRIAL, but it does the trick realy good.
So that's it how I did it. Now it's up to you. Do some requests (if I didn't do it allready :P) and learn from them.
Hope that helped you out a little. If not, keep your eye on the Scriptology-topic (see my sig) where I'll be updating for my scripting(video)tutorials. Perhaps they're going to be usefull for you one day ;)