Skip to content

JonnyBanana/Mario_with_Animated_JavaScript_Background

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


Best VPN

Releases

No releases published

Packages

No packages published

Languages

  • CSS 84.3%
  • HTML 15.7%