forked from replit/play
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: start on rewrite * chore: fix _radius issue * chore: re-organize some code and speed up some functions * chore: re-organize a lot of code * chore: re-organize even more code * fix: add image back * feat: add database system, hopefully? and add tests * chore: fix black and pylint * chore: remove test files * chore: upgrade version and add more descriptive docstrings * fix: pylint and black issues * chore: add more pylint fix: use more efficient keyboard check code, and fix multiple keys pressed at same time * chore: fix black * Delete test.py Signed-off-by: Koen <[email protected]> * chore: organize _game_loop into it's own file and DON'T expose it to the user * fix: add when_touching * fix: black and pylint * chore: optimise the `when_touching` code and fix some bugs * chore: remove exceptions.py * chore: cleanup some code, and add click for lines * fix: maybe don't share _when_touched_callbacks with EVERY SINGLE SPRITE * fix: make @when_touching be called every frame while keeping optimizations --------- Signed-off-by: Koen <[email protected]>
- Loading branch information
Showing
28 changed files
with
959 additions
and
1,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.