Render Transforms

Render Transforms

Something I’ve been struggling with in GDevelop is the lack of native shader support, like a shadergraph. One of my main gripes is the lack of being able to do simple render transforms which in most game engines usually is pretty straight forward.

Why?

I often find myself wanting to drive scale, rotation and a slight offset that isn’t bound to the objects actual scale, rotation and positioning for a magnitude of different visual effects.

Being able to independently scale and rotate the visuals of an object while gameplay controls the actual scale and rotation of the object can create some very nice and modern 2D-effects that are borderline impossible to currently achieve, as the math becomes too complicated, difficult to scale and impossible to maintain.

How?

A 2DRenderTransform Behaviour for 2D Objects with Actions for setting it’s render transform (scale/rotation/offset) and ideally a checkbox to originate from Center or Top-left would be my ideal vision of how this would work