love2d-community / love2d-book

A book about LÖVE, Games and Lua.
https://love2d-community.github.io/love2d-book
Other
112 stars 5 forks source link

Error in livecodes #5

Open desk467 opened 8 years ago

desk467 commented 8 years ago

For some reason, the last livecode in "Better Steering" does not work. An image with the state of livecode and the console log:

Screenshot

s-ol commented 8 years ago

I know about this, but I don't know why it happens, it's consistently the last example but on it's own it works fine.

Paging @TannerRogalsky I don't know how to debug love.js

I have a feeling that it has to do with the number of modules running in parallel, and that it might resolve itself once I do lazy-initialization (creating modules when they get focus)

TannerRogalsky commented 8 years ago

You need to use the debug build to get anything close to a usable error message. https://github.com/TannerRogalsky/love.js/tree/master/debug