Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Rainbow Guy

#1
I'm not sure where to start on this one, but here goes,
I'm creating a GUI (we all do ) but have run into a wierd problem, i have this script :-


else if (GetGlobalInt(10) > 5 ){Ã,  Ã,  Ã, 
Ã,  ProcessClick( mouse.x,mouse.y, 8 );
Ã,  SetCursorMode(MODE_WALK);
Ã,  StrFormat ( output, "Walk To 2 @OVERHOTSPOT@" );
Ã,  SetLabelText (0, 11,output);
Ã,  SetGlobalInt (10,0);Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, ***this is the problem line***
Ã,  Display("222");


when the Else If statement "runs" it seems to process down to the SetGlobal statement before doing the Process Click, how can i make the program "wait" until the Process Click has finished, or can't i ?
Ã,  }

( if i take this line out with // it works. If i leave it in it passes 0 to Process Click )
#2
I'm having trouble deseleting an inventory item, i have this in my GUI


if (button==6) {Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, // My Use Button
Ã,  SetCursorMode(MODE_USE);
Ã,  SetMouseCursor (4);
Ã,  SetLabelText (0, 11, "Use @OVERHOTSPOT@");
Ã,  display ("222");
Ã,  SetActiveInventory(-1);
Ã,  }

It displays "222" but the last item selected still comes upÃ,  Ã, :o What's going onÃ,  ???

======================================
Solution !

put the line :-

Ã,  SetActiveInventory(-1);

before you set the mode :-

Ã,  SetCursorMode(MODE_USE);
Ã, 

I don't know why but it worksÃ,  ;D
#3
Where Do You Upload Avatars  ??? (can't find it anywhere)
#4
Beginners' Technical Questions / Use Modes ?
Wed 11/08/2004 02:03:07
That's the difference between the USE and USEINT modes, i'm confused  :o
#5
I know this has been covered allot before but....

Could we go over again how to create an inventory window with working scroll bar/buttonsÃ,  ;)

all the threads i've read so far, seem to be from people who are half in to it, but where do you start. For example this bit :-

//Ã,  DEFAULT INVENTORY WINDOW
//Ã,  InventoryScreen();
//Ã, 
//Ã,  Ã, CUSTOM INVENTORY WINDOW
//Ã,  Ã, GUIOn (1);

which do i go forÃ,  ???

and where do i go from there ???
thanx
#6
Hi, so i thought i'd have a go at doing my own interface thing. So i created a button and gave it an Image and a MouseOverImage, but when i test it, it does swop the images but not when the cursor is fully over the Image.
The "area" is the right size but its shifted up and to the leftÃ,  ???

What am i doing wrong ?

====
Update : O.k. i seem to have it nailed down to the GUI backgroung image (when i used a small image it works ), but its the right size and all the Graphics line up
#7
Has any body pulled the character graphics out of Maniac Mansion so you can see how the animation works,
I'm having real trouble diciding on how many frames i should use and what they should be like :-(
#8
Hi, So far all the Tutorials i have found deal with Leisure Suit Larry type interfaces but how do you do a Maniac Mansion Deluxe type game ?

Any links,

Thanx
#9
Hi,

Ã,  Ã, sorry to bring this up again but i ask yesterday about Web Based Tutorials for beginners, i only got one reply (before the thread was locked) which pointed me to a thread that was two years old.
Needless to say most of the links were broken.

So does anybody have any current likns to a good Tutorial ?

95% Of the Links are on graphic design, but theres almost nothing on the Nuts and Bolts of getting things to work.

Please Please Help

#10
O.k, I've created a couple of ajoining rooms, and i have a Door that disapeares when you use a key on it (crummy, but i'm new) what i need to do is extend the Walkable Area after the "Door" object disapears (i'll animate it later) But all i could find is "Room - Enable Hotspot".

So whats the best way of exstending the Walkable Area after an event has happened ?

Rb
#11
Hi sorry,

  I solved the first problem i had ( you can probably guess what it was  :-*)

but i do have a second question :-

What is the best charactor editor,designer, tutorial ?

thax

Rb
SMF spam blocked by CleanTalk