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.
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.
Posted: 7th Sep 2011 10:50
Works like a charm! Thanks!
Posted: 7th Sep 2011 15:05
LOL
Just don't forget to have an Exit button built in.
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:

+ Code Snippet
do
   if ( GetPointerPressed ( ) )
     end
   endif

    sync()
loop


This version looks to see which sprite was pressed:
+ Code Snippet
do
if ( GetPointerPressed ( ) )
        sprite = GetSpriteHit ( GetPointerX ( ), GetPointerY ( ) )
endif
if sprite = 5
   gosub _splashScreen
endif
if sprite = 6
   gosub _endScreen
endif
sync ()
loop
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.

+ Code Snippet
if GetRawKeyReleased(27) then end
Posted: 28th Oct 2011 6:14
I like the ESC exit!
Posted: 29th Oct 2011 1:46
You could always Ctrl + alt + delete it! Or maybe play a prank on someone and make sure that you can't close haha
Posted: 29th Oct 2011 12:29
Alt + F4 terminates the app.
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.