@aeva I love seeing progress on mollytime but I never asked what the patch editor uses for its UI!
-
@aeva I love seeing progress on mollytime but I never asked what the patch editor uses for its UI!
Looking at GitHub it seems like SDL?
-
@aeva I love seeing progress on mollytime but I never asked what the patch editor uses for its UI!
Looking at GitHub it seems like SDL?
@heals yup! i wrote it in pygame originally, and later a friend ripped out pygame and replaced it with SDL3. the gui elements are mostly simple box drawing and AABB overlap tests, and I made some aesthetic decisions to simplify things
-
@heals yup! i wrote it in pygame originally, and later a friend ripped out pygame and replaced it with SDL3. the gui elements are mostly simple box drawing and AABB overlap tests, and I made some aesthetic decisions to simplify things
@heals the ui logic is all written in python, and it's a bit horrific because i wrote it prioritizing rapid prototyping over long term maintainability. the structure was loosely inspired by hypercard, where the ui is a stack machine of screens. the each screen had its own event/draw loop, though i've moved much of the common event processing logic into one spot
-
@heals the ui logic is all written in python, and it's a bit horrific because i wrote it prioritizing rapid prototyping over long term maintainability. the structure was loosely inspired by hypercard, where the ui is a stack machine of screens. the each screen had its own event/draw loop, though i've moved much of the common event processing logic into one spot
@heals useful drawing routines like the box buttons are also consolidated into a library of helper functions, which is the precursor to what I'd like to eventually have be a theming system
-
@heals useful drawing routines like the box buttons are also consolidated into a library of helper functions, which is the precursor to what I'd like to eventually have be a theming system
@aeva I shall keep watching closely - I like the looks of the current UI a lot!
-
@aeva I shall keep watching closely - I like the looks of the current UI a lot!