Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

resolution problem of my free experimental strategy game

A topic by iashu created 76 days ago Views: 127 Replies: 2
Viewing posts 1 to 3
(2 edits)

Hello

My HTML5 game is uploaded here and while I was coding it offline, I had the idea of 800x600 resolution. All the images and clicks are from 

X: 0-800 and Y: 0-600

It's working ok on my laptop and also the uploaded version is also working ok when I open it from https://iashu.itch.io/rivers with password: parola

When I open it from browser on my andoid phone I can't see the bottom 180 pixels (so I see 800x420 pixels scaled to fill the whole phone screen)

I tried changing a lot of values in my index.html (usually I don't have to change it... I am starting from a empty project https://drive.google.com/file/d/1YVQ2ZV6rGjPNvJ1Hh_G9PTbyNXGMdYYX/view?usp=drive...

and only code everything in the game.js file)

I also tried changing settings on the site here, but nothing seems to work.


Can you also give some advise about how to understand when all the pictures are downloaded (preloader over)

the dimensions required to run on HTML and your phone would be two separate processes. 

Typically, you wouldn't need to change the code's dimensions, except for the viewport dimensions that the site sets to view the project. That is, when you decide which version to opt for. From what I learned is that if you specify the dimensions for a cellular device, it can also run on a PC device but not vice versa...

Hope this helps. Feel free to comment or correct me if I'm wrong.

(1 edit)

the game is released. There is almost full version for free at iashu.itch.io/rivers


I hope you like it and try the multiplayer with friends.

You can play the full version for few bucks... It doesn't give you much more options, but helps for more games


Cheers