So how do i do my game? How might you add a background, give your character the ability to jump, or include text?


No errors... Just fun!

Here's my html

<!DOCTYPE html>
    	<title>Super Mario!</title>
        <link rel='stylesheet' type='text/css' href='stylesheet.css'/>
		<script type='text/javascript' src='script.js'></script>
        <img src=""/>

And here is the css..

img {
    position: relative;
    left: 0;
    top: 0;

div {
    position: absolute;
    width: 100%;
    height: 76px;
    background: #00ff00;
    z-index: 10;

body {
    margin: 0;

My script doesn't change.

And ... also I know if I can change the jpg with a png can make the gnome to not show his white background when he is falling under ground


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.