Avatar of James Hancock
James HancockFlag for United States of America

asked on 

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

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
Game ProgrammingComputer GamesJavaScript

Avatar of undefined
Last Comment
James Hancock
ASKER CERTIFIED SOLUTION
Avatar of lenamtl
lenamtl
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of James Hancock

ASKER

Thanks
JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo