Commit Graph

20 Commits

Author SHA1 Message Date
bbb1b3dfa9 Bound C++ line function to python... idk why I forgot to do this. 2024-10-13 16:01:19 -04:00
29e3ba208e Another python demo, (enter to toggle between editor and demos, T to switch between demos), added code to delete modules from python VM so they get reloaded properly on code changes. 2024-10-12 19:34:16 -04:00
611b6def6a small change 2024-10-11 00:30:26 -04:00
028348691a various changes, read the code. too lazy to write description 2024-10-10 23:26:54 -04:00
5f1ed533cf Quick test will delete 2024-10-06 02:11:32 -04:00
cf74541678 Line number detail if > 999, click to set cursor pos, page scrolling (using shift for now, will change) 2024-10-06 02:04:40 -04:00
0a35d9ab22 Added vertical scrolling 2024-10-01 22:09:37 -04:00
6e19d50a5a syntax tweak 2024-09-28 23:43:50 -04:00
f02815b1aa Python syntax highlighting 2024-09-28 23:31:19 -04:00
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