A suggestion

Started by Joseph DiPerla, Sun 02/11/2003 17:27:36

Previous topic - Next topic

Joseph DiPerla

Hey Pumaman, been a while since I axed(I Know its spelled wrong) you for a feature.

I really needed a few simple features.

Two are GUI involved.

*Add an option for the GUI to slide in from a certain area to a certain point on screen.  EG: Slide in from right bottom coordinates of the screen to the top left coordinates of the screen. Maybe there could be a script command and an option in the GUI editor.

*I needed a way to make a button invisible in the GUI after a certain amount of time. So I was hoping you could modify a bit "SetButtonPic" to do the following: Maybe you can add a 0 WHICH Parameter  for null and for SLOT, if you put -1, it would make the button disappear and it wont be even clickable. If you put -2, it would still keep the last image it had, but it would just disable it. Sort of how VB works.

Just those two suggestions would do.

JD
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

Scummbuddy

any chance of making the first one an object, and animating it onto the screen, and then taking it away, leaving the real button underneath?  or would you need still your second suggestion to finish that part?
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Pumaman

Quote*Add an option for the GUI to slide in from a certain area to a certain point on screen.

You can do this via the script with SetGUIPosition, I can't really justify adding it as a specific editor feature.

Quote*I needed a way to make a button invisible in the GUI after a certain amount of time.

You could use SetButtonPic to set it to a transparent sprite, or SetGUIObjectPosition to move it out of the visible area of the GUI.

Gregjazz

Yeah -- I did that "sliding GUI" thing in Apprentice. Check it out. All you have to do it use the SetGUIPosition function.

Joseph DiPerla

OK, I will check out apprentice. By any chance, could you show me a bit of the code you used to make it slide?

JD
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

Gilbert

#5
There's also a sliding GUI in Songo. Just do it via something like:


SetGUIPosition(5, 0, 199);
GUIOn(5);
int y=200;
while (y>180){
y--;
SetGUIPosition(5, 0, y);
Wait(1);}

to slide an GUI from the bottom say for example, just simple as that.

Ishmael

There's one in The McReed Case aswell... actually there are two! And a load of script needed...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Joseph DiPerla

OK thanks I will try that code.
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

SMF spam blocked by CleanTalk