3
\$\begingroup\$

If I use the isometric plugin for Phaser, I end up with something like the third case of the following picture:

enter image description here

I would like to create a world in pseudo isometric, with only one axis tilted. This would be the second case in the picture.

Is it possible to achieve that with Phaser? With or without the Isometric plugin? If Phaser can't handle it, is there an open-source/free alternative for this kind of setup?

\$\endgroup\$
2
  • \$\begingroup\$ I never worked with Phaser, but any engine handling the first case should handle the second just fine if it is able to determine the draw order of sprites by the y-coordinate and supports sprites of arbitrary size. \$\endgroup\$
    – Philipp
    Jan 19, 2016 at 9:09
  • 2
    \$\begingroup\$ The style you're looking for is a parallel projection commonly called a "3/4 View" (examples from GD.SE, TV Tropes) - you may get better hits for this term than "pseudo-isometric," since even as sloppy as we are with the term "isometric" in games, we usually apply it only to views that show three sides rather than two. \$\endgroup\$
    – DMGregory
    Jan 24, 2016 at 16:02

1 Answer 1

3
\$\begingroup\$

Phaser handles this out of the box using sorting based on the y index. I have used this exact technique too to create stacked sprites so the elements at the bottom of the screen are drawn over the ones above.

https://phaser.io/examples/v2/groups/depth-sort

The trick used in Phaser is to sort the z index based on the y index so the characters sprite is drawn at the correct depth.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .