Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

on "animate" not working when calling (clear)

A topic by bytezen created Sep 24, 2025 Views: 194 Replies: 1
Viewing posts 1 to 2

Per a previous response I did a little more testing and found this strange behavior.  The following code will only work when the (clear) line is commented out.  When the line is not commented out nothing prints to the console. This is similar behavior with the spiral.lisp example. The  code after clear will not run.

(defn foo ()
   (clear)
   (debug "working"))
(on "animate" foo)

Developer

That's bad, let us have a look :)