troubleshooting Question

How is horizontal / vertical and game-object size best dealt with?

Avatar of James Hancock
James HancockFlag for United States of America asked on
Game ProgrammingComputer GamesJavaScript
2 Comments1 Solution69 ViewsLast Modified:

Do device/browser games verify what the venue (desktop/tablet/phone) being played on is to assist with GUI and UI?

My gameplay will obviously be different for various venues.
My game will need a different structure based on horizontal /vertical, tablet/desktop and doing percentages of width and height won't be perfect, also considering sprite and font sizes. Think of a solitaire spread across a phone top edge versus device top edge (longer) or desktop. Some games are much better turned on their sides. The card sizes would need to adjust, also.
How is horizontal / vertical layout and game-object size best dealt with? I am using Javascript.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros