Jump to content


Photo

Internal Windowing System


  • Please log in to reply
7 replies to this topic

#1 Mr Game

Mr Game

    GMC Member

  • New Member
  • 177 posts
  • Version:GM8

Posted 02 May 2012 - 01:14 PM

Hi everyone!
I was searching on GMC for something that can make appear "non-Windows(I mean the OS)" windows inside the GM game window,
but I didn't find anything.

Can someone help me?
  • 0

#2 Jack Indie Box

Jack Indie Box

    GMC Member

  • GMC Member
  • 1460 posts
  • Version:GM:Studio

Posted 02 May 2012 - 01:55 PM

it does exist already, your in luck search the gmc for winapi (as i cant remeber the best ones name)

http://www.gmtoolbox.com/

has a few window and windows results which i think you want.

I know people have made dll, gex and even a full gml port of the support you want. so keep looking as i cant remember the best one
  • 0

#3 Mr Game

Mr Game

    GMC Member

  • New Member
  • 177 posts
  • Version:GM8

Posted 02 May 2012 - 02:17 PM

it does exist already, your in luck search the gmc for winapi (as i cant remeber the best ones name)

http://www.gmtoolbox.com/

has a few window and windows results which i think you want.

I know people have made dll, gex and even a full gml port of the support you want. so keep looking as i cant remember the best one

I know hat Winapi is, but I need something different... I meant GML windows inside GM, not Windows windows inside GM....
  • 0

#4 Jack Indie Box

Jack Indie Box

    GMC Member

  • GMC Member
  • 1460 posts
  • Version:GM:Studio

Posted 02 May 2012 - 02:41 PM

oh you mean for the player to script gml ingame? or even just to display text ingame?

if so then you could either code it yourself, or use a message box for the player to type into and then when they press enter, you would have some code to take that string and input it into "execute_string" function. or you could use the win api and add one of the windows text boxes or similar and take the typed in text and do my previous step.

is that what you meant? else please go into detail on what you want the player to see and do

ps. though execute string function and all runtime creation of Objects (not instances) and running of uncompiled code, is no longer supported for game maker studio and futher versions of game maker.
  • 0

#5 loverock125

loverock125

    GMC Member

  • GMC Member
  • 1609 posts
  • Version:GM8

Posted 02 May 2012 - 02:48 PM

I think he only wants a number of panels(windows) with different depths.

This is not really hard to achieve. Search the manual for "depth".
All you have to do is to re-arrange the depth of the panels so that the active panel appears on top of the others (has the lowest depth).
You will probably want to use an array or data structures for your own convenience.
  • 0

#6 Mr Game

Mr Game

    GMC Member

  • New Member
  • 177 posts
  • Version:GM8

Posted 25 May 2012 - 05:26 PM

Nevermind. I already solved my problem.
  • 0

#7 Futhark

Futhark

  • GMC Member
  • 682 posts
  • Version:GM8.1

Posted 25 May 2012 - 07:28 PM

Nevermind. I already solved my problem.


Please share your solution with the rest of us, so we can also learn.
  • 0

#8 Mr Game

Mr Game

    GMC Member

  • New Member
  • 177 posts
  • Version:GM8

Posted 26 May 2012 - 05:30 AM

Here' what I needed:

As Windows XP has it's own windows inside the screen, I wanted my game to have it's own windows inside the game window


How did I achieve that:

Before a window is opened, a screenshot is taken, and saved to a surface. Then, all the objects are deavtivated, except for the one that opens the window.
Then, the window is shown, while drawing the surface under it.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users