Commit Graph

47 Commits

Author SHA1 Message Date
2b23a6a7f1 New line numbers 2024-10-05 17:43:22 -04:00
efc9b0fe5e Refactored text window bounds, added initial GUI art 2024-10-03 23:40:00 -04:00
dde45cb306 Aseprite editor concept 2024-10-03 19:53:21 -04:00
0a35d9ab22 Added vertical scrolling 2024-10-01 22:09:37 -04:00
8b1f403c87 Initial cursor implementation 2024-10-01 20:52:51 -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
f084c715bf Font tweaks, start of editor, start of python tokenizer for syntax highlighting 2024-09-28 17:53:57 -04:00
322a0960d7 Added text buffer to editor state, foundation for the text editor 2024-09-28 01:01:54 -04:00
e23be1cd58 StateManager and States now have their own reference to Graphics instead of being passed into Draw(), Added image class and test images
Image class is just array of palette indices converted from the rgb data of any image by using euclidian distance between palette rgb and pixel rgb. Works well.
2024-05-22 16:09:19 -04:00
798ac17939 Editor State foundation 2024-05-13 14:39:52 -04:00
cd8ce2e4a0 small fix 2024-05-10 20:39:31 -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
9e48025846 Added buffer, reimplemented some drawing functions on cpu 2024-04-27 23:27:27 -04:00
b53fc267cb Testing 2024-04-27 19:30:56 -04:00
5b5feca0ea Merge remote-tracking branch 'origin/Development' into Development 2024-04-27 18:17:30 -04:00
d6c8ad3641 Differnet palette test, added mouse pressed and mouse held 2024-04-27 18:17:04 -04:00
1c61642c47 Temp naming and bumped down cmake version 2024-04-27 00:57:04 -04:00
df9e305828 Key pressed, key down, rectangle, python demo scene 2024-04-26 23:53:53 -04:00
603d764c15 bugs 2024-04-26 21:23:38 -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
581ed013f3 Renaming stuff, it was confusing without 2024-04-26 00:05:07 -04:00
631f9e3612 Refactor, added state manager, abstract state, game state, implemented pipeline based on architecture drawing
work on relieving circular dependencies in the future
2024-04-25 20:16:58 -04:00
16733fdb0e pocketpy 2024-04-24 20:54:23 -04:00
936d8addf9 I clearly don't know what i'm doing. 2024-04-24 19:52:45 -04:00
458d4edfe7 Merge remote-tracking branch 'origin/Development' into Development 2024-04-24 12:08:48 -04:00
e208b30511 fixed "race condition" mentioned previously. It was not a race condition, it was me being an idiot. 2024-04-24 12:08:18 -04:00
40fbe6facf Config mod 2024-04-22 14:46:13 -04:00
eaeb9fabd0 Temp removal of pocketpy to migrate to my repo 2024-04-22 14:40:49 -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
d7966bdcae bug fix 2024-04-21 17:14:29 -04:00
542626e2b2 Created Development branch, renamed project to Pycron 2024-04-21 14:18:46 -04:00
4c35be70df Refactor 2024-04-21 14:06:56 -04:00
4bdb4fca29 Initial refactoring
This is a mess, do not check out
2024-04-20 21:14:52 -04:00
d5271eea09 rough draft of design plan 2024-04-19 23:51:57 -04:00
2427e3b672 Color palette test, Mouse test 2024-04-19 15:51:57 -04:00
b8fcb14d0c Testing out render texture pixel manipulation and fixed full screen resize bug 2024-04-19 14:31:11 -04:00
905cb90588 Fixed submodules? 2024-04-18 12:58:28 -04:00
Bobby Lucero
93914527ff
Create cmake-multi-platform.yml 2024-04-18 12:31:23 -04:00
50ed165578 Added raylib, drawing bounds and tests 2024-04-17 22:05:28 -07:00
b3d6996437 Set up pocketpy 2024-04-17 18:31:31 -07:00
590c028d9a Initial Commit 2024-04-17 15:34:25 -07:00