diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6f3a291 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/assets/img/marioJump.gif b/assets/img/marioJump.gif new file mode 100644 index 0000000..0ec8ac9 Binary files /dev/null and b/assets/img/marioJump.gif differ diff --git a/assets/projects/superMario/css/style.css b/assets/projects/superMario/css/style.css new file mode 100644 index 0000000..1b0bd37 --- /dev/null +++ b/assets/projects/superMario/css/style.css @@ -0,0 +1,94 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +.game-board{ + width: 100%; + height: 500px; + margin: 0 auto; + border-bottom: 15px solid rgb(35, 160, 35); + position: relative; + overflow: hidden; + background: linear-gradient(#87CEEB, #E0F6FF); +} + +.player { + width: 150px; + position: absolute; + bottom: 0; +} + +.jump { + animation: jump 500ms ease-out; +} + +.clouds { + position: absolute; + width: 550px; + animation: clouds-animation 20s infinite linear; +} + +.pipe{ + position: absolute; + bottom: 0; + width: 80px; + animation: pipe-animation 1.5s infinite linear; +} + +.scores-cards{ + justify-content: center; + display: flex; + font-size: 2rem; +} + +.score { + text-transform: uppercase; + letter-spacing: 0.1rem; +} + +.score-number { + margin-left: .5rem; +} + +@keyframes pipe-animation { + from { + right: -80px; + } + + to { + right: 100%; + } +} + +@keyframes jump { + 0% { + bottom: 0; + } + + 40%{ + bottom: 180px; + } + + 50% { + bottom: 180px; + } + + 60% { + bottom: 180px; + } + + 100%{ + bottom: 0; + } +} + +@keyframes clouds-animation { + from { + right: -150; + } + to { + right: 100%; + } +} \ No newline at end of file diff --git a/assets/projects/superMario/images/clouds.png b/assets/projects/superMario/images/clouds.png new file mode 100644 index 0000000..4ddc808 Binary files /dev/null and b/assets/projects/superMario/images/clouds.png differ diff --git a/assets/projects/superMario/images/game-over.png b/assets/projects/superMario/images/game-over.png new file mode 100644 index 0000000..3681da3 Binary files /dev/null and b/assets/projects/superMario/images/game-over.png differ diff --git a/assets/projects/superMario/images/mario.gif b/assets/projects/superMario/images/mario.gif new file mode 100644 index 0000000..9199d1e Binary files /dev/null and b/assets/projects/superMario/images/mario.gif differ diff --git a/assets/projects/superMario/images/pipe.png b/assets/projects/superMario/images/pipe.png new file mode 100644 index 0000000..b20d387 Binary files /dev/null and b/assets/projects/superMario/images/pipe.png differ diff --git a/assets/projects/superMario/index.html b/assets/projects/superMario/index.html new file mode 100644 index 0000000..bf5b8c9 --- /dev/null +++ b/assets/projects/superMario/index.html @@ -0,0 +1,21 @@ + + +
+ + +