Commit graph

40 commits

Author SHA1 Message Date
Alex Clink
58850c7f0a Add voice, remove voice from sounds array if finished 2022-02-04 00:07:41 -05:00
Alex Clink
bddc1fe211 Add audio synthesis 2022-02-02 00:34:52 -05:00
Alex Clink
c43dfbd90e Use PF::Keys instead of LibSDL::Scancode, add fill_rect method 2022-02-02 00:33:53 -05:00
Alex Clink
4aae686c45 Add noise 1d example - experimental 2022-01-27 23:04:24 -05:00
Alex Clink
635927465d Add animation class 2022-01-25 23:32:48 -05:00
Alex Clink
60a9254583 Prefer bracket notation for vector 2022-01-25 00:14:53 -05:00
Alex Clink
15929e4bb1 Add animated sprite example 2022-01-24 22:05:04 -05:00
Alex Clink
7be005de2f Fill snowflakes 2022-01-24 22:04:35 -05:00
Alex Clink
09196b6542 Add procedural generation example 2022-01-23 16:20:47 -05:00
Alex Clink
257090e927 Consolidate vector classes 2022-01-17 14:52:13 -05:00
Alex Clink
f9a9fdfecb Update examples, extend SDL2 with streaming texture access 2022-01-09 18:50:21 -05:00
Alex Clink
4a9c451743 Small refactor 2022-01-07 00:06:51 -05:00
Alex Clink
c0d6d0ba90 Refactor drawing methods onto Sprite class 2022-01-06 20:25:39 -05:00
Alex Clink
5f7880c171 Add transform2d class 2022-01-06 00:38:47 -05:00
Alex Clink
f4409b4496 Update examples to use Vector instead of Point 2022-01-06 00:37:27 -05:00
Alex Clink
0846fd525b Update emitter to use Entity 2022-01-03 20:55:39 -05:00
Alex Clink
c8753f51a3 Remove CrystalEdge dependency 2022-01-03 00:17:23 -05:00
Alex Clink
56b5cc198b Fix variable reference in sprite 2022-01-02 20:41:17 -05:00
Alex Clink
ce0f055bf5 Refactor, entity / sprite 2022-01-02 19:39:17 -05:00
Alex Clink
bca45e1b9d Add arbitrary shape filling method 2021-12-30 23:17:25 -05:00
Alex Clink
a0508f806a Add snow scroll example 2021-12-23 22:27:29 -05:00
Alex Clink
c8edef4db3 Make controller implementation specific to subclass 2021-12-22 22:18:14 -05:00
Alex Clink
0a93395b2d Update memoization / Cleanup 2021-12-20 23:33:09 -05:00
Alex Clink
a03670e9f6 Cleanup 2021-12-20 22:45:08 -05:00
Alex Clink
f2bccd41da Fix shading, better obj loading, fix sorting 2021-12-20 22:02:09 -05:00
Alex Clink
8238374c30 Refactor 2021-12-19 23:17:51 -05:00
Alex Clink
4d841b8d3d Add clipping 2021-12-18 16:47:12 -05:00
Alex Clink
c2c545fe80 Add camera mobility 2021-12-14 21:16:21 -05:00
Alex Clink
1a7f4e45c6 Fix inverted y axis 2021-12-12 23:42:58 -05:00
Alex Clink
1164cf50d6 Add length method 2021-12-12 21:33:10 -05:00
Alex Clink
3d4470216e Add pixel text rendering example 2021-12-12 00:24:38 -05:00
Alex Clink
1e409ac22b Cleanup 2021-12-07 21:43:37 -05:00
Alex Clink
76c0ba1cf0 Add sorting and lighting 2021-12-07 00:34:45 -05:00
Alex Clink
ba4758691a Only show surfaces facing the 'camera' point 2021-12-06 01:03:58 -05:00
Alex Clink
199b8fbdf4 Fix fill triangle method 2021-12-05 22:02:11 -05:00
Alex Clink
10dd27dd43 Add cube example 2021-11-30 23:05:07 -05:00
Alex Clink
873c12a0cf Optimize triangle fill - don't allocate array of points 2021-11-30 20:02:59 -05:00
Alex Clink
60f1e39ae9 Clarify the line drawing algorithm 2021-11-29 22:32:55 -05:00
Alex Clink
db5a1747fa Fix draw_point bounds, add Point struct 2021-11-29 22:04:31 -05:00
Alex Clink
1f293b1bb3 Add drawing functions 2021-11-29 02:26:51 -05:00