News for hackers. Stuff that matters.
Re:The HTML5 boom is coming. Fast by seagaia on Tuesday July 26, 2011 @02:38PM (#2808796)
Where do Flash games come into this? I'm not very familiar with the development of a flash game but some guy in this article claims "Flash will disappear" or something. I assume this means whatever source the games have will just be compiled into some other sort of file compatible with HTML5? Or am I missing something completely?]
Re:The HTML5 boom is coming. Fast by 9999 on Tuesday July 26, 2011 @02:43PM (#2808822)
He is implying that new content (including games) will be created in HTML5 using Canvas and JS instead of in Flash. While google has made a tool that can convert some content from Flash to HTML5 automatically (Swiffy), it only supports very old Flash content.
Re:The HTML5 boom is coming. Fast by talmand on Tuesday July 26, 2011 @03:02PM (#2808941)
I've always wondered how games written with javascript on canvas would handle cheating since you can type javascript code into the web page you are currently looking at.

Adobe also has a tool for converting Flash to Canvas: http://labs.adobe.com/technologies/wallaby/

Re:The HTML5 boom is coming. Fast by andypants on Tuesday July 26, 2011 @04:05PM (#2809249)
If you write the javascript code inside an anonymous function, outside code by the user can't interact with it.

However, the user can still use javascript to manipulate the dom, and hence the canvas (I think).