gallant
|
660fe25234
|
Add timer and windows support (#6)
Reviewed-on: #6
Co-authored-by: gallant <vincentknightwork@gmail.com>
Co-committed-by: gallant <vincentknightwork@gmail.com>
|
2023-04-09 22:14:57 -05:00 |
|
Yash Karandikar
|
07198829cf
|
oops
|
2022-10-06 16:12:07 -05:00 |
|
Yash Karandikar
|
884b23c5a5
|
Minor fixes
|
2022-10-06 16:09:53 -05:00 |
|
Yash Karandikar
|
b891ff76b4
|
Use proper error handling and not unwrap()
|
2022-10-06 16:08:59 -05:00 |
|
Yash Karandikar
|
bf1b7ed39c
|
Fix doctest
|
2022-10-06 08:50:47 -05:00 |
|
gallant
|
d372aedfa2
|
Made pathing AsRef but with more bounds due to thread shenanigans, locked behind audio feature
|
2022-10-02 23:50:54 -05:00 |
|
gallant
|
22b71a3ffe
|
Made pathing AsRef but with more bounds due to thread shenanigans, locked behind audio feature
|
2022-10-02 23:48:08 -05:00 |
|
gallant
|
b8ddcdb423
|
moved function and added docs
|
2022-10-02 11:12:05 -05:00 |
|
gallant
|
8658fabc8e
|
added music theory
|
2022-10-01 14:15:43 -05:00 |
|
Yash Karandikar
|
0d32a3d9ec
|
impl Clone and Display for CatboxError
|
2022-06-21 15:35:56 +05:30 |
|
Yash Karandikar
|
fbf2532189
|
Fix clippy warnings and make macro for error types
|
2022-06-21 15:29:27 +05:30 |
|
Yash Karandikar
|
f5a040680c
|
Make everything accept a Vec2Int and add docs
|
2022-05-28 09:51:46 -05:00 |
|
Yash Karandikar
|
26d6746065
|
Merge remote-tracking branch 'gallant/master'
|
2022-05-25 21:51:36 -05:00 |
|
gallant
|
68b82fe1e0
|
FIXED
|
2022-05-25 21:45:42 -05:00 |
|
Yash Karandikar
|
f591049858
|
hotfix: gaming
|
2022-05-25 21:43:01 -05:00 |
|
gallant
|
4888a3c424
|
missing by missing by piece
|
2022-05-25 21:26:11 -05:00 |
|
Yash Karandikar
|
50d955e34b
|
Re-export sdl2, Event, Scancode, and Color
|
2022-05-22 18:24:16 -05:00 |
|
gallant
|
ef3d09a54a
|
pr prep
|
2022-05-22 18:14:18 -05:00 |
|
Yash Karandikar
|
ad20a2771d
|
Add ability to set a Sprite's position
|
2022-05-11 13:34:34 -05:00 |
|
Yash Karandikar
|
aae911f81b
|
Add ability to construct Sprites from byte slices
|
2022-05-11 13:28:15 -05:00 |
|
Yash Karandikar
|
49619bd141
|
Add collision detection methods
|
2022-04-12 13:13:51 -05:00 |
|
Yash Karandikar
|
3eb772cbd5
|
Update docs, fix doctests, and bump version number
|
2022-03-31 11:36:41 -05:00 |
|
Yash Karandikar
|
cc033efe05
|
Create wrapper around mouse and keyboard
|
2022-03-30 16:53:26 -05:00 |
|
Yash Karandikar
|
9899ea9d9e
|
Add documentation and bump version number
|
2022-03-29 15:16:58 -05:00 |
|
Yash Karandikar
|
b1c40979df
|
Add utility methods to SpriteCollection
|
2022-03-29 13:21:55 -05:00 |
|
Yash Karandikar
|
8afa9e2485
|
Create SpriteCollection struct
|
2022-03-29 11:36:51 -05:00 |
|
Yash Karandikar
|
51f16b8fec
|
Final preparations
|
2022-03-16 12:01:38 -05:00 |
|
Yash Karandikar
|
0e2bc757bc
|
Rustfmt
|
2022-03-16 11:54:51 -05:00 |
|
Yash Karandikar
|
70cd3e2102
|
Update documentation
|
2022-03-16 11:53:26 -05:00 |
|
Yash Karandikar
|
2392e2acce
|
Make draw_text take an AsRef<str>
|
2022-03-16 11:33:12 -05:00 |
|
Yash Karandikar
|
bfe0d3bf26
|
Add ability to draw text
|
2022-03-16 11:26:25 -05:00 |
|
Yash Karandikar
|
32921cd14f
|
Add ability to set drawing colour
|
2022-03-15 11:36:33 -05:00 |
|
Yash Karandikar
|
e0ff30463b
|
Document Context and make translate() actually make sense
|
2022-03-15 11:19:47 -05:00 |
|
Yash Karandikar
|
58187f9703
|
Clear in the event loop instead of in draw()
|
2022-03-15 11:04:18 -05:00 |
|
Yash Karandikar
|
0902130e7d
|
Refactor to use custom Context struct
|
2022-03-14 12:32:42 -05:00 |
|
Yash Karandikar
|
b7b8b38543
|
Rename crate because I'm bad at this
|
2022-03-13 13:21:32 -05:00 |
|
Yash Karandikar
|
9c2ded512f
|
Add documentation
|
2022-03-11 15:18:00 -06:00 |
|
Yash Karandikar
|
77b8414c48
|
Expose sprite angle
|
2022-03-09 12:00:06 -06:00 |
|
Yash Karandikar
|
ea8da5e990
|
Expose sprite position
|
2022-03-09 11:59:04 -06:00 |
|
Yash Karandikar
|
3f2ba9285d
|
Enable Vulkan
|
2022-03-09 11:41:12 -06:00 |
|
Yash Karandikar
|
c75e2ded4c
|
Add ability to set a sprite's angle
|
2022-03-09 11:37:29 -06:00 |
|
Yash Karandikar
|
9d0ce1aafb
|
Use RenderCopyEx instead of BlitSurface
|
2022-03-09 11:19:21 -06:00 |
|
Yash Karandikar
|
5e933dca67
|
Rustfmt and remove dead code
|
2022-03-07 13:00:51 -06:00 |
|
Yash Karandikar
|
7d41502e9e
|
fix flickering and add movement
|
2022-03-07 12:58:02 -06:00 |
|
Yash Karandikar
|
056f470a82
|
Finish sprite rendering
|
2022-03-07 11:08:58 -06:00 |
|
Yash Karandikar
|
6e7a72d856
|
Create custom events interface
|
2022-03-07 10:20:05 -06:00 |
|
Yash Karandikar
|
adee07fbc7
|
Initial Sprite struct
|
2022-03-07 10:19:09 -06:00 |
|
Yash Karandikar
|
2d8e75acd3
|
Use FnMut instead of Fn
|
2022-03-06 14:23:10 -06:00 |
|
Yash Karandikar
|
475166b573
|
Give downstream a Vec instead of the pump
|
2022-03-06 13:19:04 -06:00 |
|
Yash Karandikar
|
c344049fd3
|
Rustfmt
|
2022-03-06 13:08:05 -06:00 |
|