I've been working on a JavaScript framework to render pixel art in web browsers and wanted to share my progress. This started out as an attempt to render DOM-based animation on an iPhone. Two years later, I've developed an API at:
http://www.bigblockframework.com/ The core idea behind the framework... div = pixel. All artwork is rendered using div's. I've created two fonts that render characters using div's. You can attach both touch and click events to individual div's or a collection. There's also a particle generator. You can play with it via a web form to configure the settings: http://www.bigblockframework.com/utils/framework_utils/emitter_add The core code is JavaScript 1.2 and CSS2 compliant meaning apps will run on a wide range of browsers... IE6 to Mobile Safari. I don't have an Android device for testing. But I've borrowed my friends' phones and confirmed compatibility. I've also incorporated some HTML5 features like Audio, MySQL and LocalStorage for targeting modern browsers. You can see some of these features in a game I recently created with the framework. http://www.ittybitty8bit.com/e/0Pfbc Note: You don't need a browser that supports HTML5 to play. Older browsers will simply not incorporate HTML5 specific features. The framework is still in an alpha stage meaning there's still some features I'd like to incorporate. I've also entered the full-time working world and don't have the free time that I used to. So while it's fresh, I wanted to put it out there.... any comments or questions are welcome. Thanks! -Vince -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
