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.39k stars 66 forks source link

Fix restart-frames -- D #139

Closed Gleefre closed 5 months ago

Gleefre commented 5 months ago

Set the %restart to 1 initially (and not to *restart-frames* = 2) so that setup is called before calling draw for the first time.

This doesn't change the fact that draw is called even when %restart > 1, which kinda seems buggy to me, as it makes it so that setup is called right after the first successful (finished without errors) call to draw.