SGDK Version 1 > Script

Switch layers quickly

(1/3) > >>

SmartBoy16:
is there some kind of map script that you can switch layers with the push of a button? this would be very useful for my Basic3-D since it uses 3 layers to create an effect.

bluemonkmn:
I thought GameDev 1.4.6 was delivering a VBS file to do that, but maybe not.  You can download the script from http://gamedevprj.sf.net/files/GameDevVBS.zip.  Just put the VBS file in your GameDev.exe directory and the rest takes care of itself, I think.

tprime:
Keep in mind there is one problem when using the script. If placing a path with the letter key used to switch the layer, I think it was L or something, it may add your path to the next layer.

i.e.
The key used to switch layers = "L".
The Layer I have are: Background, Main, and Foreground. I am currently on Main.
I make a path on Main.
The path's name is "Lime".
When pressing the letter "L" in the typing area, it also switches me to the next layer, Foreground.
My path has been created on Foreground and not Main.

SmartBoy16:
i noticed that too. is there a way to disable the script temporarily when making paths or functions?

bluemonkmn:
Maybe the script should be changed to use different keys like Alt-L instead of L or something.

Navigation

[0] Message Index

[#] Next page

Go to full version