vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

Improved interactive development #157

Open Kevinpgalligan opened 8 months ago

Kevinpgalligan commented 8 months ago

Things to add:

Together, these features would enable something closer to "true" interactive development.

aykaramba commented 3 months ago

I would love to see this feature because Sketch is really annoying in my tiling window manager ... on every recompile the window is restarted and my window manager renders the window in a slightly different place (which is correct for my workflow).

Anyone know what it would take to implement this feature?

Kevinpgalligan commented 3 months ago

I've never been sure exactly how the window gets reinitialized. I imagine it's something to do with update-instance-for-redefined-class - maybe sdl2kit provides an implementation of that method that recreates the window? I'll look into it when I get the chance.

aykaramba commented 3 months ago

I am learning Lisp and don't know enough to dig in to that level my self yet. I will try to help if I can.