How do I set the position of a sprite center to viewport?
Develop games in your browser. Powerful, performant & highly capable.
Hi,
Set position : X : (ViewportLeft(0) + ViewPortRight(0))/2
Y : (ViewPortTop(0) + ViewPortBottom(0))/2
Thank you