Is it just me or does this not work as it used to? I'm trying to scale the object to fill the screen. Instead, it only fills 1/4 of the screen on the top left.
Sprite:
ViewportLeft(Self.LayerName)+ViewportRight(Self.LayerName)
ViewportBottom(Self.LayerName)+ViewportTop(Self.LayerName)
https://www.dropbox.com/s/w5ma3cybtsbhn0m/scaleToViewportSize.c3p?dl=0
Either you have set the origin of your sprite in the upper left corner or you have to set your sprite in the middle of the viewport. At the Moment you set the middle of your sprite in the upper left corner of you viewport.
Develop games in your browser. Powerful, performant & highly capable.
Thanks! So simple, yet I didn't check the origin point, but the code instead.