Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
1.34k
stars
491
forks
source link
Add Camera#centerX, Camera#centerY (Thanks @samme) #600
Closed
rroylance closed 5 years ago
This PR
Describe the changes below: These are read-only properties representing the coordinates of the center of the viewport.
They're convenient for positioning Game Objects.