Pumpkin - A Syntax Compact UI Library

I and @Ruuuusty at NightLapse Studios were working on our game, Clash, when we decided that programming UI could be better. Up to this point, we had been programming UI with the Roact library. While the switch from vanilla UI code to Roact was an enlightening one, Pumpkin makes it even better. It gives Roact a smooth shell, if you will.

Pumpkin has super short syntax, easy animations built in, and generalized properties. It’s built on Roact and Flipper, heres a sneak peak:

local tween = I:Tween(0):spring(1, 4, 0)

I:ImageButton(P()
	:BackgroundTransparency(tween)
	:Size(1, 0, 1, 0)
	:Center()
):Children(
	
)

Check it out!

6 Likes