Commit graph

25 commits

Author SHA1 Message Date
Richard Feldman
9c72e5e8ed
Remove unnecessary -> () function return types 2022-05-18 08:29:40 -04:00
Richard Feldman
3dce2a00df
Animate breakout, give blocks a border 2022-04-17 20:42:17 -04:00
Richard Feldman
cf97f8099d
Add basic animation system, add basic gravity 2022-04-17 11:37:23 -04:00
Richard Feldman
bb9e30e361
Move the paddle left and right 2022-04-15 13:08:22 -04:00
Richard Feldman
1b2ae94591
Fix Rgba conversion in breakout 2022-04-15 12:54:52 -04:00
Richard Feldman
ee7c5ad2e1
Wire up update in breakout 2022-04-13 10:48:11 -04:00
Richard Feldman
3746161c42
Fix init returning the wrong model 2022-04-13 10:39:32 -04:00
Richard Feldman
105730fc1b
Reproduce init returning wrong floats 2022-04-12 22:35:32 -04:00
Richard Feldman
82b55ae4c9
Initialize both model and elems at once 2022-04-12 22:34:16 -04:00
Richard Feldman
566e7f9a79
Call init and render on app startup 2022-04-12 22:14:31 -04:00
Richard Feldman
e7a298e7b9
Incorporate TEA into breakout 2022-04-12 19:05:03 -04:00
Richard Feldman
154a36398d
Simplify app_render 2022-04-12 17:32:31 -04:00
Richard Feldman
999dbfd9d1
Send Event to breakout main 2022-04-10 10:15:43 -04:00
Richard Feldman
6bbc0b5edb
Gracefully handle resizing in breakout 2022-04-10 00:52:43 -04:00
Richard Feldman
0f6e1bac73
Drop unused functions 2022-04-08 10:56:47 -04:00
Richard Feldman
ce4f22fd15
Use Rect position for drawing 2022-04-08 10:56:34 -04:00
Richard Feldman
cf91390e56
Avoid unnecessary request_redraw() calls 2022-04-07 21:32:57 -04:00
Richard Feldman
78feb45d82
Draw rects 2022-04-07 21:17:31 -04:00
Richard Feldman
82a0376666
Drop the borderWidth field to avoid segfault 2022-04-06 21:57:03 -04:00
Richard Feldman
1e2dcde6c2
Use a List of rects, add top and left coordinates 2022-04-06 21:29:09 -04:00
Richard Feldman
7b5bc8e85f
Use Ayaz's repr(packed) workaround for #2803 2022-04-06 11:32:51 -04:00
Richard Feldman
d6858ef15e
Use Rgba over ButtonStyles 2022-04-06 09:22:52 -04:00
Richard Feldman
0e187469c2
wip 2022-04-06 08:58:51 -04:00
Richard Feldman
fee7fd7956
Breakout: Button → Rect 2022-04-04 11:26:52 -04:00
Richard Feldman
a111f510a4
Add examples/breakout 2022-04-04 10:02:13 -04:00