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.

AppGameKit Studio Chat / Full Screen on Itch?

Author
Message
PartTimeCoder
AGK Tool Maker
6
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 3rd Sep 2021 03:30
I could probably figure this out but I am going to bed and I am going to be up against it over the weekend getting the various scenes done for Singularity, anyone know a sure fire way to get my app in full screen (itch.io full screen button, not agk, they don't work together, if I click the itch button it shows the agk page, I want the game fullscreen not the index.html)

For today enough, I'm beat!
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Phaelax
DBPro Master
18
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd Sep 2021 16:52 Edited at: 4th Sep 2021 04:38
Got it figured out in about as simple as I possibly could.

https://phaelax.itch.io/score-test?secret=9puDF0uxLwWMrv2aODZQgrmEHnM

I used this icon:



In your index file, add this CSS:



Then add this line directly under the canvas element:


The icon won't scale with the canvas size, its simply an html element that sits on top of the canvas rather than render it with the canvas (that's trickier).

Oh almost forgot, you need to add this to the outer DIV container (that wraps the canvas and overlay) CSS:
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
Virtual Nomad
Moderator
15
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 3rd Sep 2021 17:08 Edited at: 3rd Sep 2021 17:14
404 on the link, phaelax, but i trust you got it and thanks. I was hoping someone would offer that solution.

I just checked ur profile and it shows u have no projects so i expect the demo was added in Draft mode which means only u can use that link. To allow others, offer the Secret URL generated at the top of the project page, IIRC.
[My Itch.io Home] [Community Apps on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
Phaelax
DBPro Master
18
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd Sep 2021 17:13
Ah, probably because the privacy on the game is set in draft mode. I just made it public.
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
PartTimeCoder
AGK Tool Maker
6
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 3rd Sep 2021 21:42 Edited at: 3rd Sep 2021 21:44
Under the "Draft" icon at the top of the page there is a "Secrete Link" right click and copy link address to share in development or private drafts, no need to make them public for testing.

And thanks for the walkthrough, much appreciated.
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee

Login to post a reply

Server time is: 2021-10-27 04:57:45
Your offset time is: 2021-10-27 04:57:45