Fix for problem in Quick Engine
Just a heads up for @gilles, or anyone that might be trying to use the Quick Engine
library/demo right now, it currently has an issue where nothing gets drawn on the screen. It's easy to fix, though.
The issue is the code sets the type
field for all its objects (sprites, maps, etc), but that field seems to be read-only. When you print it out it's always object
. And so the if
conditions in Quick.draw
are always false and nothing ever gets drawn.
The way I fixed it on my end was just by renaming all the type
fields to _type
.