Initial commit

This commit is contained in:
Michael Mikovsky
2025-07-30 14:02:34 -06:00
commit 309c94dec6
32 changed files with 2085 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
config:set_size(1920, 1080)
config:set_background_color(Color(20, 20, 30))
config:set_fps(60)
config:set_num_layers(5)
layer(0)
draw(Rect(Point(100, 100), Size(200, 150), Color(255, 100, 100, 255)))
layer(1)
draw(Circle(Point(400, 300), 50, Color(100, 255, 100, 255)))
draw(Line(Point(50, 50), Point(750, 550), Color(255, 255, 100, 255), 5.0))
render(5)
layer(0)
animate(Animation(
Rect(Point(100, 100), Size(200, 150), Color(255, 100, 100, 255), true, 0.0),
Rect(Point(500, 350), Size(100, 100), Color(100, 100, 255, 255), true, 0.0),
3.0,
EaseInOut()
))
layer(2)
animate(Animation(
CircleOutline(
Point(400.0, 300.0),
50.0,
Color(100, 255, 100, 255),
10.0
),
CircleOutline(
Point(200.0, 150.0),
100.0,
Color(255, 150, 50, 255),
10.
),
3.0,
Bounce()
))
render(3.0)