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 ProgrammingJavaScriptComputer Games
2 Comments1 Solution69 ViewsLast Modified:
Hi

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.

Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
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