Commit graph

80 commits

Author SHA1 Message Date
Alex Clink
2cf7bf3df9 Refactor audio synth 2022-02-16 00:45:54 -05:00
Alex Clink
22e6f007c4 Fix incorrect argument type 2022-02-06 10:52:24 -05:00
Alex Clink
b1e8752751 Remove PixelText class 2022-02-04 00:09:09 -05:00
Alex Clink
58850c7f0a Add voice, remove voice from sounds array if finished 2022-02-04 00:07:41 -05:00
Alex Clink
f659763ed8 Only create link if it doesn't exist 2022-02-04 00:05:57 -05:00
Alex Clink
95adcb54f5 Add LFO to oscillator, allow note math 2022-02-04 00:05:14 -05:00
Alex Clink
e0fe525cfa Remove dependence on external asset for drawing pixel text 2022-02-04 00:03:51 -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
3db76bcd44 Add script to build all examples 2022-02-02 00:31:38 -05:00
Alex Clink
cef302ec1b Add queue audio function 2022-02-01 23:49:23 -05:00
Alex Clink
4aae686c45 Add noise 1d example - experimental 2022-01-27 23:04:24 -05:00
Alex Clink
e601c7fb87 Update sdl2 2022-01-27 22:43:51 -05:00
Alex Clink
d43cbb11ae Fix default seed initializer
Namespace was overridden
2022-01-26 20:19:55 -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
38dbaea4af Add fill_circle drawing method 2022-01-24 22:03:49 -05:00
Alex Clink
cc1757ab4f Improve matrix speed by using stack allocated memory 2022-01-24 19:47:14 -05:00
Alex Clink
bf2fcaef58 Add more characters to pf-font 2022-01-23 19:57:39 -05:00
Alex Clink
09196b6542 Add procedural generation example 2022-01-23 16:20:47 -05:00
Alex Clink
3ff375493d Add Lehmer32 random number generator 2022-01-23 16:20:30 -05:00
Alex Clink
acff191dab Add method to check if any key is pressed 2022-01-23 16:20:14 -05:00
Alex Clink
829ee59c54 Add ability to set background when drawing 2022-01-23 16:19:51 -05:00
Alex Clink
39d5a87ce1 Add type overloads 2022-01-22 23:46:12 -05:00
Alex Clink
67ad23efe3 Improve transform2d 2022-01-22 23:44:44 -05:00
Alex Clink
5456adad4e Add specs 2022-01-22 23:43:34 -05:00
Alex Clink
686c6bd006 Fix documentations 2022-01-17 15:44:42 -05:00
Alex Clink
0bb7902e4d Version 0.0.5 2022-01-17 15:12:31 -05:00
Alex Clink
a63effac65 Remove Mat4 in favor of Matrix(T, W, H) 2022-01-17 15:03:43 -05:00
Alex Clink
257090e927 Consolidate vector classes 2022-01-17 14:52:13 -05:00
Alex Clink
7ddb90c040 Clean up repeated code 2022-01-15 13:59:33 -05:00
Alex Clink
61542eb691 Implement some 3d transforms relevant to 4x4 matrices with the class 2022-01-13 23:18:51 -05:00
Alex Clink
0658e23ecd Add more methods, cleanup 2022-01-11 21:48:23 -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
e5237337ed Change Point to Vector, remove Point 2022-01-06 00:36:48 -05:00
Alex Clink
1a76662f62 Add more vector and matrix methods + specs 2022-01-06 00:35:47 -05:00
Alex Clink
ad4af6b49f Add vector and matrix classes 2022-01-05 01:37:57 -05:00
Alex Clink
0795925440 Fix old references 2022-01-03 22:31:49 -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
40f0cf717b Add Sprite#sample method 2022-01-02 23:08:13 -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
3e7685c613 Add more point methods 2022-01-02 11:45:53 -05:00