2 ms·
> That, alone, is not really an issue. I suppose you could do the same as native games. If a demand is there, an API or libraries to do that will appear. How d
by udp 15y ago
> That, alone, is not really an issue. I suppose you could do the same as native games. If a demand is there, an API or libraries to do that will appear.
How do you propose to obfuscate images and audio in a way that's going to work across all browsers and can't be easily circumvented (and it obviously can't be security through obscurity if it's to be used by more than one game).
> In practice, though, can someone make something out of loads of minified javascript ? Or is it equivalent to reading deassembled C ?
Minified Javascript would be very easy (unless the minifier renamed everything, but even that isn't too bad). Javascript compiled with something like Google's Closure Compiler would be a lot harder, but still a lot easier than disassembled C.
The assets are much more of a problem than the code - although not being able to compile the code means if you do find a way to obfuscate the assets, your deobfuscation code is going to be out in the open.