🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Debug logging

A topic by Deps created Jan 26, 2016 Views: 319 Replies: 4
Viewing posts 1 to 4


Started to play around with Superpowers today but can't get the simple example in the documentation to work. I just get a black screen. (http://docs.superpowers-html5.com/en/getting-start...)

I can however start up an game like Snow World to start, so things at least work. (But it crashes on the overworld map with an exception about ShaderUniforms.)

My question is, however, about debug logging. I can't see if it even runs my code. I can set a breakpoint and reload the game but it wont fire. And I can't see a way to use sometning like console.log to get a basic message to the console.

Did I miss something? Is there a way to log messages?

Yes, Sup.log() ^^ You can see it by pressing F12 ^^


Works like a charm! Thanks!

Now I know that the script starts at least! ;)

Aha, good thing ^^ Good luck ^^


And I found out that nothing was visible because the sprite gridsize was not equal to the texture size. Yay!