V
V
Vadim2015-02-12 10:02:30
JavaScript
Vadim, 2015-02-12 10:02:30

How to set the correct window size for Phaser.js in Intel XDK?

Good day.
I'm trying to make my first mobile application using a bunch of these wonderful tools. It is not possible to make the canvas always be the size of the entire screen, even in the emulator, at best, there are stripes on the sides (the Blank Phaser Landscape Template was taken). The application will be exclusively in landscape orientation. I also encountered the problem of size distortion after minimizing / expanding the application on android.
Initially, I focus only on android and crosswalk, other platforms are not interesting at the moment, I will deal with them later.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2017-10-06
@leni_m

$grouped = [];
foreach ($products as $p) {
  $grouped[$p['category-id']][] = $p['name'];
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question