-
Notifications
You must be signed in to change notification settings - Fork 0
issm/mario
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME mario.js - Mario on your website. SYNOPSYS // create Mario var mario = new Mario({ x: 100, // pixels from LEFT y: 100, // pixels from TOP }); mario.JUMP(); // create Mario controllable with keyboard var mario_controllable = new Mario({ x: 200, y: 200, scale: 2, // 1 or 2 status: 'SUPER', // 'MINI', 'SUPER' or 'FIRE' }); new Mario.Controller({ target: mario_controllable }); // create Luigi var luigi = new Luigi({ x: 300, y: 300 }); DESCRIPTION Mario/Luigi class that create and can control Mario/Luigi. INSTALLATION(?) * Load "mario.js". * No other libraries are required. NOTE This library is unavailable on InternetExplorer (< 8), because uses "data scheme (data://...)" to load animation images.
About
Mario on your website.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published