I’m comming with some questions about JavaScipt and HTML5.
- What would you say about making games in HTML5 (with JS), where there will be connection with database – where players scores will be stored (with usage of PHP and MySQL for instance).
- How about security matters within above topic? Is it possible, to make such thing secure?
- Is it possible to encrypt JS code, to make someone not to copy/use it in any way instead of online gaming?
- Is it a good idea, to write such game from scratch, or some kind of HTML5 game framework?
I use PHP and MySQL in conjunction with HTML5/JS by using AJAX and json_encode to pass data between javascript and php. Works pretty well so far, just experimenting.
As far as game frameworks, I’m using easeljs right now. It’s alright but I’ve been having sprite animation whike key down issues with it lately.