GUI blocks clicks on hotspot (SOLVED)

Started by theatrx, Tue 24/01/2006 21:24:09

Previous topic - Next topic

theatrx

I have my iconbar and inventory which work fine.

I have a room where there is an object that has 9 hotspots... and they need to have the player use inventory items on them... that works.

I also have a text bar GUI that when typed on in English translates what has been typed into Hieroglyphs.

This also works.  However, when I put the two together in the room, the iconbar, inventory and Hieroglyph text bar all work but the Interactible Object does not respond.

Since it's an object z-Order doesn't work so why is the text bar blocking my object from working?  I've tried changing the baselines etc. but that does nothing.
Life is a banquet and most poor sonsofbitches are starving to death

strazer

Try changing the translation GUI's visibility from "Popup modal" to "Normal" in the GUI Editor.

theatrx

That worked perfectly Strazer but I only need the damn thing in one room.Ã,  Does this mean I have to go back into every room and turn the damn thing off!?Ã,  I know you have the answers!Ã,  Come on... spit it out.
Life is a banquet and most poor sonsofbitches are starving to death

strazer

Just leave it at Normal and turn it off in the game_start function using
  gGuiname.Visible = false;
Then you can turn it on in this room.

theatrx

#4
You are awesome Strazer... I have one thing to finish and the game is finished. Right now I'm just trying to tweek it so you guys don't give me crap when I upload it.

I finished the licenses and walkthrough today.

I fixed the fonts so they work the way I want.

The Hieroglyph mess is almost done.  And with this new
tidbit of info ... which I'll try tonight... It's done!

It's finally done!  Thanks for all the help.

I know I've been a bit of a pain looking at how many
messages I've posted but I want to finish!  It's so hard to keep up the energy to finish!  I can understand totally how complicated this is and how much one needs others to finish the task.  Thanks.

Edit:

It Worked!

Strazer you're awesome. Such a simple problem and
you had the answer!

Many thanks

As I said... This was the last problem I didn't know what
to do about.

The last problem is me drawing the last 40 sprites for my main character's walking...

I hate the drawing part.  It's very boring.

Expect an upload this week.  I'm so excited that I'm finally done... Well, almost done... Everyone is going to be yelling at me... How do you do this and how do you do that?!

Then I'll know what you feel like.

By the way, would you mind if I thank you in the credits
and include your avatar?  Your avatar is already in the
coffee house scene since you've been so helpful.
Thanks again. Steve
Life is a banquet and most poor sonsofbitches are starving to death

strazer

Glad I could help. No, I don't mind if you use my avatar in your credits.

Btw, the problem was that GUIs that are set to "Popup modal" pause the game when activated and by default no mouse clicks are processed when the game is paused (see on_mouse_click function).

SMF spam blocked by CleanTalk