Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
JRNTexas
13
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 7th Sep 2011 10:32
Is there a way to loose the title bar in a Windows AppGameKit application(go fullscreen)? I've searched this forum and found nothing.
Rampage
16
Years of Service
User Offline
Joined: 4th Feb 2008
Location: New Zealand
Posted: 7th Sep 2011 10:39
In Tier 1:
Open the setup.agc source file under 'sources' in your project tree.

Where you see fullscreen = 0 change 0 to 1.

You may also need to configure resolution.

Regards,

Max
JRNTexas
13
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 7th Sep 2011 10:50
Works like a charm! Thanks!
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 7th Sep 2011 15:05
LOL
Just don't forget to have an Exit button built in.

JRNTexas
13
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 7th Sep 2011 17:29
Here is a small piece of code that recognizes a mouse click then exits and another one that looks to see which sprite was pressed then exits. Also, the mouse click could be a screen touch.

As long as the code is in the loop, you have an exit.

Short version:



This version looks to see which sprite was pressed:
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 7th Sep 2011 17:40
If you're writing your code on a computer with a keyboard, put this in your main loop, and all you need do is hit the ESC key.



JRNTexas
13
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 28th Oct 2011 06:14
I like the ESC exit!
Cwaldo39
13
Years of Service
User Offline
Joined: 28th Oct 2011
Location:
Posted: 29th Oct 2011 01:46
You could always Ctrl + alt + delete it! Or maybe play a prank on someone and make sure that you can't close haha

http://www.kraftwurx.com
Impetus73
13
Years of Service
User Offline
Joined: 28th Aug 2011
Location: Volda, Norway
Posted: 29th Oct 2011 12:29
Alt + F4 terminates the app.

----------------
AGK user - novice
Did Amiga / AMOS programming in the 90's, just started programming again with AGK.
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 8th Nov 2011 18:13
Remember your app can potentially be running on many devices, even those without an escape key! A virtual button or sprite button with an END command will ensure you app can be terminated from any platform.

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2024-11-22 09:41:54
Your offset time is: 2024-11-22 09:41:54