Sunday, December 5, 2010

jsplatformer Part 1 - Figuring out Links

Experimenting with using Google Sites as a way to host both code files and final runnable version of the tutorials.

This is an addendum to my earlier post, jsplatformer Part 1 including links to individual code files and working examples of the final pieces.

Assets

Both versions use the same Image file




HTML5 Canvas

Here we have the html and javascript files that go together.

jsplatformer.html
jsplatformer.js

>

Your browser doesn't support the canvas element.





Next, figuring out the Flash posting....

Flex

Here we have the mxml file that is used to produce the swf and the actionscript file that it references for the actual 'game' logic.

Simple1.mxml
SimpleCanvas.as

No comments: