An exclusive gaming industry community targeted
to, and designed for Professionals, Businesses
and Students in the sectors and industries
of Gaming, New Media and the Web, all closely
related with it's Business and Industry.
A Rich content driven service including articles,
contributed discussion, news, reviews, networking, downloads,
and debate.
We strive to cater for cultural influencers,
technology decision makers, early adopters and business leaders in the gaming industry.
A medium to share your or contribute your ideas,
experiences, questions and point of view or network
with other colleagues here at iVirtua Community.
The (minified) code weighs in at about 11 Kb, but unlike the Mario gamefrom last month, this one uses several external image files. This wasmore a test of how smooth I could get a game like this to feel, anyway,so filesize wasn't an issue. I think it runs pretty ok, though.
Thereare a couple of rendering settings you can play with. "Quality"controls how many horizontal lines are rendered, "Screen scale"controls the size of the screen (duh). Both trade visual appearance forperformance.
There are also two different rendering modes. The"Single canvas" mode seems the fastest for all browsers. For thetechnically curious, the difference is in the way each horizontal lineis rendered. In the single canvas mode every line is drawn unto thesame large canvas, whereas in the "Per-line canvas" mode, each line hasit's own canvas. They both give different visual appearances, so trythem out if you want.
The sprites were all found at The Shyguy Kingdom and the maps were found at Rick N. Bruns' snesmaps.com, so thanks to those two sites!
Sofar, it's just racing. No weapons or any of that fancy stuff. At themoment, you can choose from 3 different drivers (Mario, Luigi andPrincess Peach) and 2 different maps (Mushroom Cup Round 1 and 2).There is no lap count, no timer and no finish. You can just race aroundforever and try to beat the others (it's not hard, especially if cut afew corners). The AI is rather crude, but seems to work ok for the timebeing.
There is (simple) collision detection against theboundaries of the map and the colored "blocking" blocks, but notagainst the karts, so you can't crash into the other drivers. Drivesafely, anyway!