CC Zone - Chip's Challenge Forum
javascript frustrations - Printable Version

+- CC Zone - Chip's Challenge Forum (https://forum.bitbusters.club)
+-- Forum: Non-Chip's Challenge (https://forum.bitbusters.club/forum-6.html)
+--- Forum: General (https://forum.bitbusters.club/forum-21.html)
+--- Thread: javascript frustrations (/thread-2190.html)



javascript frustrations - geodave - 20-Apr-2012

It's part of my long-term plan to make both a CC emulator and a level editor in javascript -- which would allow you to both play and edit CC online or locally.

The problem is, javascript is difficult to debug. So, if anyone has any knowledge -- I'd appreciate another set of eyes.

My first problem: When I recursively call my "timing" function, I get "too much recursion" error after one iteration. That's ridiculous! Using setTimeout recursively is standard practice.

Any ideas?