Link to home
Start Free TrialLog in
Avatar of James Hancock
James HancockFlag for United States of America

asked on

Must Javascript Phaser games code start off specially for graphics / touch?


In Phaser, what is the expected way to start off a solid phaser game?..

What I mean is if Phaser games study the dimensions of the device or the input capabilities? ( as they vary amongst devices.. and might even alter the game, - desktop/tablet/phone)
When do games deduce if they are desktop/mobile? Some, like Slither probably don't care.
I'd like to put up a script that prepares my game which involves pics and nearby text selection.
How do I put up such a script that loads images onto the screen, draws text, lines. - and includes mouse selection and touch? The image object!
Avatar of lenamtl
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of James Hancock



I can see everything i need is in there.

What is the best section for loading in and preparing images for display and potential selection, both in touch and minotor-click?