Git Product home page Git Product logo

mario_with_animated_javascript_background's Introduction

mario

An animated Mario made in HTML & CSS, and a little bit of JavaScript

alt text

...Before the fork the animation was completely written in css and html. I just added a bit of javascript code to animate the background a little, I added some catchy bacgrounds, and the sounds that start in autoplay. The code works well with the latest generation of browsers (Opera, Chrome), Mozilla works well (apart from the audio that does not work) while IE can not manage the background in motion and give white screen ...

I inserted six backgrounds and five songs that you can easily change as you please.

The six backgrounds are:

Sky:

alt text

Sky2:

alt text

Universe:

alt text

Matrix:

alt text

Equations:

alt text

Pepe Cash Meme WATCHES YOU!:

(is a surprise, if you want to see it, download and try)

alt text


To change the background it is enough to replace the name of the image in the string highlighted in the image
(find the images inside the images folder)


alt text


The 5 Sounds are:

-OverWorld Theme
-UnderWorld Theme
-UnderWater Theme
-Castel Theme
-StarMan Theme

(All from Super Mario Bros 1)

You can find the playlist with animations and sound here:
https://www.youtube.com/watch?v=58vCUBjnwDE&list=PL_L_96uzfo-zQ_24f9iUvhOWQM-Z3cS8W
(or if you prefire by clicking on the gif below)

Mario


To change the sound it is enough to replace the name of the track in the string highlighted in the image (find the tracks inside the sounds folder)


alt text


enjoy it and play mario!





alt text

mario_with_animated_javascript_background's People

Contributors

gautamkrishnan91 avatar jonnybanana avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.