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

Messages - gatewayer

#1
Thank you very much, i've tested some of the solutions
and i got all fine now.

I appreciate very much so much help one gets in this forum.
Thanks Calin, Ryan and Khris.

See ya!
#2
Hello everyone, this is my first post, and i wanna say first that AGS is
the best tool for adventure games i've ever seen. Thanks very much
for this Chris!

I want to make an inventory window that doesn't pause the game
when it is visible, but i want also to make it draggable with the mouse,
like all windows in windows xp for example.

I've tried it with a button that seems like the title bar, and made an OnClick
event were i've simply put:

function btnMainInvTitle_Click(...)
{
   gMainInventory.X = mouse.x; gMainInventory.Y = mouse.y;
}

The result is very bad. The Gui jumps to the new pos, instead of moving smoothly.
I also tried mouse.IsButtonDown(...), inside the button event function, but it also doesn't work.

I've searched in the forums for the problem but i came with a similar
solution for objects that doesn't help me.
Sorry if there was one post about guis i missed.

Bye!
SMF spam blocked by CleanTalk