Scrolling Game Development Kit Forum
Welcome, Guest. Please login or register.
2010-09-09, 04:46:09 PM

Login with username, password and session length
Search:     Advanced search
8920 Posts in 1007 Topics by 168 Members
Latest Member: mogzdogz
* Home Help Search Login Register
+  Scrolling Game Development Kit Forum
|-+  SGDK Version 1
| |-+  Script
| | |-+  Switch layers quickly
« previous next »
Pages: [1] Print
Author Topic: Switch layers quickly  (Read 6989 times)
SmartBoy16
Contributor
Fanatic
**
Posts: 554


Current Project: RANAT: BtT

joelag_2009@hotmail.com
View Profile WWW Email
« on: 2008-02-07, 08:00:00 AM »

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.
Logged

SmartBoy16


The RANAT Foundation: Before the Truth http://www.box.net/RANAT-BtT
bluemonkmn
SGDK Author
Administrator
Fanatic
*****
Posts: 2146


2678251 BlueMonkMN@gmail.com
View Profile WWW Email
« Reply #1 on: 2008-02-07, 05:55:27 PM »

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.
Logged

TonyX
Fanatic
***
Posts: 353


Games Developed: 4 Developers: 8 || Fans: 28

tonyxna@live.com
View Profile WWW
« Reply #2 on: 2009-10-07, 11:35:23 PM »

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.
Logged

SmartBoy16
Contributor
Fanatic
**
Posts: 554


Current Project: RANAT: BtT

joelag_2009@hotmail.com
View Profile WWW Email
« Reply #3 on: 2009-10-08, 12:20:54 AM »

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

SmartBoy16


The RANAT Foundation: Before the Truth http://www.box.net/RANAT-BtT
bluemonkmn
SGDK Author
Administrator
Fanatic
*****
Posts: 2146


2678251 BlueMonkMN@gmail.com
View Profile WWW Email
« Reply #4 on: 2009-10-08, 06:05:18 AM »

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

bluemonkmn
SGDK Author
Administrator
Fanatic
*****
Posts: 2146


2678251 BlueMonkMN@gmail.com
View Profile WWW Email
« Reply #5 on: 2009-10-08, 06:07:42 AM »

This D.phype character is very curious -- some bot that posts computer-generated text once in a blue moon.  What is the purpose?
Logged

durnurd
Lead Lemming
Expert
Fanatic
*****
Posts: 1155


Games completed so far: 0

durnurd@hotmail.com
View Profile WWW
« Reply #6 on: 2009-10-08, 08:49:33 AM »

Essentially it assumes that we don't know it is a bot, so it posts to gain some level of forum members recognition before it starts sending out links to questionable websites with text like, "Hey, I think this is neat, you should look at it"
Logged

Edward Dassmesser
TonyX
Fanatic
***
Posts: 353


Games Developed: 4 Developers: 8 || Fans: 28

tonyxna@live.com
View Profile WWW
« Reply #7 on: 2009-10-08, 11:45:10 PM »

His personal website is something about Russian Women and dating!!??

He does seem suspicious. Considering this is more of a development site, very different from a dating forum.
 laugh

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

Maybe we can use a key that doesn't matter. Like "/" or "\". Maybe :
Logged

bluemonkmn
SGDK Author
Administrator
Fanatic
*****
Posts: 2146


2678251 BlueMonkMN@gmail.com
View Profile WWW Email
« Reply #8 on: 2009-10-09, 06:28:48 AM »

Is anybody still actually using the script, or are we just discussion obsolete topics revived by a bot?
Logged

SmartBoy16
Contributor
Fanatic
**
Posts: 554


Current Project: RANAT: BtT

joelag_2009@hotmail.com
View Profile WWW Email
« Reply #9 on: 2009-10-09, 09:16:18 AM »

i was just going to ask about that, can you reorder the topics so that version 2 topics are first on the page? this way we dont need to keep scrolling down to see the only topics that are ever used.
Logged

SmartBoy16


The RANAT Foundation: Before the Truth http://www.box.net/RANAT-BtT
bluemonkmn
SGDK Author
Administrator
Fanatic
*****
Posts: 2146


2678251 BlueMonkMN@gmail.com
View Profile WWW Email
« Reply #10 on: 2009-10-09, 02:26:34 PM »

Wow, that was easy.  Hope people notice the difference and don't assume that the second one is SGDK2 still.
Logged

Jam0864
Contributor
Fanatic
**
Posts: 742


marmalade0864@hotmail.com
View Profile WWW Email
« Reply #11 on: 2009-10-09, 06:15:30 PM »

I noticed it straight away because the two sections have a different amount of boards in them. It's better this way I think, it shows the primary section of the forum first. Seems more logical.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!