GGJ is coming up, is HTML5 ready?

@XeduR @vlads
I have a big announcement to make, I’m so Happy and excited … I’m celebrating right now literally :slight_smile:

But First of All:
Thank you very much @Qugurun … your code is very important for me specially when I’m creating an app that has to be accessed via a laptop or desktop web browser, because I can’t just tell all users to zoom out to 25%, and i can’t force it programmatically

The project I’m working on, has quiet a few objects, and applying your code to it from the beginning would be very easy, but since i already wrote the code and positioned the objects, and had to hard code a few stuff (because of Arabic Characters that gives you a hard time aligning) so applying your code was something inevitable because i need clarity and i don’t want blurriness, but I was worried that it will take me a long time to go back to each object and I was more worried that a few stuff might not work, so i said i will start tomorrow line by line…

Buttttttt, i was playing with my phone, and opened my website, and opened the browser’s settings and hit the button Desktop Site … that was heaven … the website became crystal clear as if i was working on a laptop and zoomed out to 25% !!! or almost as good as an android app.

I was half happy … to be fully happy i had to make sure that this can be set programmatically, and it has to work on all browsers, you can’t just ask users to go and set it as a desktop site … just like you can’t ask them to zoom out

Just one line of HTML code needed to be modified in index.html and there you go
Finally … i have been waiting for years for this…

This only solves the problems for HTML5 Apps that need to be accessed via phone which is my case here … but for laptop or desktop browsers, your code enhances the graphics but doesn’t reach the level of zooming out

Just wanted to share with you all, because i keep giving Solar2D guys a hard time for this :slight_smile:

by the way below are the line of code that need to be replaced:

Original:

<meta name="viewport" content="width=device-width, initial-scale=1.0">`

Replace with:

<meta name="viewport" content="width=1024">
1 Like