Windowed Mode

The place to discuss all things Lugaru.
Post Reply
User avatar
ThorPrime
Posts: 10
Joined: Fri Feb 04, 2005 2:46 am

Windowed Mode

Post by ThorPrime » Fri Feb 04, 2005 2:49 am

First off, I have to say this game is awesome. I love pulling out my laptop and playing it during lectures. Getting comments from behind like "Did that rabbit just cut that other rabits throat?".

I just wanted to know if there is a way to run it in windowed mode so one could run in and out of IM chats and the like.

User avatar
Blorx
NOT A FRIGGIN PROGRAMMER
Posts: 3272
Joined: Wed Jan 26, 2005 4:01 pm
Location: South Carolina, United States
Contact:

Post by Blorx » Fri Feb 04, 2005 7:34 am

Not that I know of. I've played all of Wolfire's games and the only windowed one (that I remember) is "Sword" and I never figured out how to play it. :(

David
Project Leader
Posts: 1995
Joined: Wed Nov 19, 2003 10:45 pm
Contact:

Post by David » Fri Feb 04, 2005 9:41 am

You cannot play it in windowed mode at this point, because I'm not sure how to do that using Carbon AGL. However, all my future games will support windowed mode 8)

User avatar
Blorx
NOT A FRIGGIN PROGRAMMER
Posts: 3272
Joined: Wed Jan 26, 2005 4:01 pm
Location: South Carolina, United States
Contact:

Post by Blorx » Fri Feb 04, 2005 10:41 am

Besides SOS, David do you have any other games planned?

David
Project Leader
Posts: 1995
Joined: Wed Nov 19, 2003 10:45 pm
Contact:

Post by David » Fri Feb 04, 2005 11:11 am

Yes, but they are top secret 8)

User avatar
Blorx
NOT A FRIGGIN PROGRAMMER
Posts: 3272
Joined: Wed Jan 26, 2005 4:01 pm
Location: South Carolina, United States
Contact:

Post by Blorx » Fri Feb 04, 2005 11:35 am

That sounds like fun! I just hope one of the secret ones are out before next January. I'd be glad to pay 20 to 30$ for just about anything you'd make. :D Wait, let me guess! Hmm...is one of them Lugaru 2? if you're wondering where I came up with the idea, check the first page of the "Lugaru 2?" post on the second page of the "Wolfire" forum. That should just about answer it. :) David said himself that he wanted a Lugaru 2,
*quote* Yes. *unquote*
Zip too,
*quote* Even though there isn't a Lugaru 1 yet...yep. *unquote*

Nayr
wicked bad-ass title
Posts: 643
Joined: Wed Jul 07, 2004 9:35 am

Post by Nayr » Sun Feb 06, 2005 12:13 pm

take a look at this (Common.h and Common.c): http://203.79.121.211/svn/repos/QTValuePak/

User avatar
Blorx
NOT A FRIGGIN PROGRAMMER
Posts: 3272
Joined: Wed Jan 26, 2005 4:01 pm
Location: South Carolina, United States
Contact:

Post by Blorx » Sun Feb 06, 2005 2:30 pm

Nayr, WHAT IS THAT? Sorry, I got a headache, my mind is bursting and so are my thoughts.

Nayr
wicked bad-ass title
Posts: 643
Joined: Wed Jul 07, 2004 9:35 am

Post by Nayr » Sun Feb 06, 2005 3:16 pm

that's for david :wink:

Guest

Post by Guest » Sun Feb 06, 2005 4:57 pm

Well, if you want to make windowed mode using AGL, what you'll have to do is kill the current AGL_fullscreen window, make a new non-fullscreen window, and recreate your OpenGL context. This means rebinding all your textures, setting all your GL variables, and rerendering all of your display lists, etc. Depending on how you have everything set up, where you're storing your textures, etc, it shouldn't be _that_ hard to implement a fullscreen/windowed toggle.

Nayr
wicked bad-ass title
Posts: 643
Joined: Wed Jul 07, 2004 9:35 am

Post by Nayr » Sun Feb 06, 2005 5:46 pm

yes. But david may not know how to bind the AGL context to the window.

rkn
Posts: 118
Joined: Tue Dec 09, 2003 6:34 pm
Location: US East

Post by rkn » Sun Feb 06, 2005 9:05 pm

Have faith. David knows all. :D

Post Reply