Commit Graph

11 Commits

Author SHA1 Message Date
798ac17939 Editor State foundation 2024-05-13 14:39:52 -04:00
f788fffac7 Added font drawing support, and one font 2024-05-10 15:17:47 -04:00
7c4c6d5bcb A better triangle fill algorithm 2024-04-28 14:50:02 -04:00
c93eab9963 Added triangle demo scene, triangle algo needs work, probably needs to be rewritten 2024-04-27 23:14:48 -04:00
d6c8ad3641 Differnet palette test, added mouse pressed and mouse held 2024-04-27 18:17:04 -04:00
df9e305828 Key pressed, key down, rectangle, python demo scene 2024-04-26 23:53:53 -04:00
5845ad2e8d Errors output to screen, python text function accepts all types now 2024-04-26 16:21:17 -04:00
12ed3d3cb1 GameState loads python scripts, anything but main.py is loaded as module 2024-04-26 12:45:07 -04:00
cb6369ad30 New binding method that allows c++ to call graphics functions as well as python. Testing setting vm vars like mouseX and mouseY 2024-04-22 13:07:23 -04:00
65ffe5d39b note for last commit
it doesn't race condition on macos...
2024-04-21 23:58:31 -04:00
66ce48776a Testing out python bindings, needs refactor
A disgusting little race condition has appeared, running will result in a black screen 70% of the time >:(

TODO:
lambda functions referencing non static graphics methods instead of making graphics methods static
state manager (everything is hodge podged into graphics and pycron objects)
sort math functions into relevant places (trig, random etc)
2024-04-21 23:33:39 -04:00