Yash Karandikar
|
884b23c5a5
|
Minor fixes
|
2022-10-06 16:09:53 -05:00 |
|
Yash Karandikar
|
bf1b7ed39c
|
Fix doctest
|
2022-10-06 08:50:47 -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 |
|
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
|
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
|
cc033efe05
|
Create wrapper around mouse and keyboard
|
2022-03-30 16:53:26 -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
|
0e2bc757bc
|
Rustfmt
|
2022-03-16 11:54:51 -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
|
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
|
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
|
e2e0d4286b
|
Don't hardcode path
|
2022-03-07 13:10:06 -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
|
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 |
|
Yash Karandikar
|
0e983dd043
|
Create basic example that responds to keypresses
|
2022-03-06 13:07:49 -06:00 |
|