http://www.omnytex.com/pf/fileexchange/fileexchange.asp
I have to admit I just zipped up the files and am crossing my fingers, hoping it'll all work!

Here is the included readme.txt file:
'Mario' source code
"""""""""""""""""""
*** REQUIRES POCKETFROGPLUS ***
This is the source code to a 'Mario'-style game that I wrote in late 2002. It features platforms, animated sprites, parallax scrolling background and sound to name a few things, along with some basic collision detection. Look in the code hard enough and you'll find it can also handle sloping platforms! (well, just)
The source isn't well documented, and isn't particularly nice either. Those with Half-Life coding experience will notice the inspiration of naming (BaseEntity, BasePlatform etc...) and interfaces/methods. I adopted it for this since, well, I like it

Speaking of uhh, 'inspiration' - some code has been directly 'inspired' (read: copied). There are a couple of SetThink SetTouch lines which come straight from Half-Life, and there is also a 'trace' method for spotting intersections which came from some webpage I forgot to note down. Credit to whoever it was...
Other things to note:
- the game is mostly all done floating-point, but still gets half-decent FPS!
- there is some fixed-point code, but it isn't used (as far as I remember) - nor is it very tested
- the mario sprite is (C) Nintendo
- code is messy and largely uncommented
- all other graphics are original
- lots of things may be broken or not work... remember this is an alpha that I abandoned due to lack of time
That is all for now! I hope someone makes some use of this mess of pointers and classes...
- Dave Johnston
- dave at johnsto d0t co d0t uk
- http://www.johnsto.co.uk/pocketpc/