3 ms·
If anyone else is wondering how the characters are generated: states = { // policeman "0": decodeEntities("👮"), ... // octopus "3
by mmahemoff 14y ago
If anyone else is wondering how the characters are generated:
states = {
// policeman
"0": decodeEntities("👮"),
...
// octopus
"3": decodeEntities("🐙"),
// explosion
"4": decodeEntities("💥")
};
From http://www.patrick-wied.at/projects/tough-title-city/game.js http://www.patrick-wied.at/projects/tough-title-city/game.js
- TazeTSchnitzel 14y agoThat's weird, I'm fairly sure JS strings are Unicode.