cbrem / one-down Goto Github PK
View Code? Open in Web Editor NEWAn Mario-themed runner game written in JavaScript with HTML5 canvas.
An Mario-themed runner game written in JavaScript with HTML5 canvas.
15-237 Spring 2013 Hw1 Project name: 1-Down Group: - Connor Brem (cbrem) - Erik Pintar (epintar) - Leon Zhang (lwzhang) How to play the game: 1-Down is a Mario-themed runner game similar to games like Canabalt (http://armorgames.com/play/4457/canabalt) where the point of the game is to keep up with the camera by jumping pits and avoiding slowing obstacles. Movement is controlled by the arrow keys, and jumping is controlled by the space bar. Controllable jump height is implemented, so holding down the space bar causes the player to jump higher. The game can also be paused by pressing P and restarted by pressing R. Week 1 Ideas and Implementations: - Javascript Objects: - objects are utilized heavily in the game, and most things in the game are objects with appropriate methods - for example: SpriteImage objects have several image handling methods and attributes, while the player has its own set of methods and attributes - Callback functions - callbacks are utilized in the form of the bound functions to keypress/up events - callbacks are also utilized in the creation of a preloader that loads in images for sprites and waits for all images to download before drawing to the canvas - Optional parameters: used to provide more flexible interfaces to object methods - Canvas: Well, the whole game is canvas-based, so.... Sources: All spritesheets from SpritersResource (http://spriters-resource.com/) Sleeping Paper Mario: http://tinyurl.com/a7aj4ru
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.