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 / HMTL 5 - How to make agk app html5 Responsive ?

Author
Message
patmaba
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: Belgium
Posted: 9th Apr 2021 13:11
Hello,

Can an app agk application exported as a web page can be responsive?

The export result of an agk application in a web page is rendered in a canvas zone.
How to make this agk app area responsive by increasing its size according to the size of the window.

Is it possible to adapt automatically the zone according to the available space on the web page ?
Is it possible to adapt the graphic area according to the reduction of the web window size?
Is it possible to maximize the graphic context of the page if the user requests it?

Can an animated agk application in a page be responsive ?

Is there an example code somewhere?

thanks
TamBam
12
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 19th Apr 2021 19:26
I think not possible because its focus on games .
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 20th Apr 2021 22:58
Quote: "Is it possible to adapt automatically the zone according to the available space on the web page ?
Is it possible to adapt the graphic area according to the reduction of the web window size?
Is it possible to maximize the graphic context of the page if the user requests it?"


javascript

Quote: "Can an animated agk application in a page be responsive ?"


not directly no, AppGameKit is effectively a sandbox in the webpage, you could link the game and the page via some kind of flat file system, or edit/rewrite the wrapper.

Login to post a reply

Server time is: 2024-03-28 17:50:13
Your offset time is: 2024-03-28 17:50:13