Share your repls and programming experiences

← Back to all posts
Epic Mario game!
h
Coder100 (1197)

Mario Game!

This is the best Mario game ever! There is ice in the middle of the summer lol. It refreezes after you don't touch it for some time (I don't think that's how ice works but ok). Other than that, we have gravity, goombas with arms, bowsers that shoot with a cannon attached to their back? And also the monsters can fly. Other things include mobile support, death support, spike support, and more! Please vote this up if you liked the game/characters/gravity/ice/blocks/sprites/this whole project!

Has

  • Mobile Support
  • Characters are drawn from memory lol
  • Goombas
  • Bowsers
  • Marios
  • Luigis (haven't implemented them yet but the pics are there)
  • A camera that follows the player
  • Spikes
  • Trampolines
  • Grass blocks

Why I took time to make this

I did this because a friend said he would give me $2 if I made this.

Oh yeah, forgot how to tell you how to move lol

Mobile

  • Swipe left to move x velocity left (move left)
  • Swipe right to move x velocity right (move right)
  • Swipe up to jump
  • Swipe down to reset all movement (stop Mario from moving because when you swipe, he doesn't stop to save your hands from dying)

Computer

  • Arrow keys to move

All levels are possible on PC. Idk about mobile, but I'm pretty bad at these games anyways

OFFICIAL YOUTUBE VIDEO: https://youtu.be/c8ZcNLsjsiQ

Made with p5.js

Vote up if you like this!

CHECK OUT THE BETA: https://YAAAAA-GIMME-dollar1.coder100.repl.co

ALL IMPROVEMENTS ARE VERY MUCH NEEDED!

Websites

Commentshotnewtop
JamesGordon1 (106)

@Coder100 thx what is on the first level? besides the pipe like is there an easter egg?

Coder100 (1197)

Nothing lol. It's an "experiment" level where I see if everything works lol @JamesGordon1

Coder100 (1197)

Never thought anyone would pay such close attention lol @JamesGordon1

JamesGordon1 (106)

@Coder100 ya you should make a level maker and loader

xolyon (140)

Bruh looks amazing - how does mobile support work wanna test - some room for improvement:

  • Mobile support
  • Menu
  • Help option
  • dank memes

Wanna do s Collab I just randomly ask cuz I am also making games

Coder100 (1197)

Sure, I'll fork it and we can release it later. Do you have discord? So I can DM you @xolyon

xolyon (140)

I do but I forgot my username ( it's some weird ASCII stuff) @Coder100

raphaelrk (1)

Love this! You should add a timer so people can speed run it :)

Rileygamer21 (35)

How does the touch screen thing work? I wanna add that to my own game.

Coder100 (1197)

I used hammer.js but that's just for swiping. Try exploring with the touchstart feature. @Rileygamer21

SeamusDonahue (4)

completed it, it was easy for me but only bc I was using mario maker(the level editor for this not the switch/wii u game) which got me used to the physics I can see this being hard for newer players though

mamamia5x (72)

I made a forked version of this game here, in script.js and lines 598-629 have been changed. All that has been changed is that you can use the WASD keys to play aswell.

Coder100 (1197)

Ok, I'll update my code to yours! Thanks! @mamamia5x

ChristianTS (1)

I think it's amazing what you've managed to do here, genuinely impressive, but we can all improve in some ways and I have a little bit of input. The movement definitely needs to be improved as it feels rather unnatural for a game, consider adding counter-movement to Mario so it feels like he's building up a little bit more when he's moving and so he stops faster and doesn't slide so much. Also consider changing the way Mario jumps so that we have control over his height. If you make the pipes a rigid body the same way you made the ground one and put a small sliver of teleport on top of it the game would play out better as multiple times out of habit i didn't consider that bumping into the pipe would teleport me to the next level, there is no warning. There is no phase between levels, it is all very confusing and directionless.

Coder100 (1197)

Thanks! What do you mean by no phase between levels? @ChristianTS

ChristianTS (1)

@Coder100 Like, you just sort of appear in the next level. No buffer in between it got me a little bit confused at the start. Still though doing all of this is an achievment for sure.

Coder100 (1197)

Sure, I'll make a "transition" @ChristianTS

ChristianTS (1)

I think it's amazing what you've managed to do here, genuinely impressive, but we can all improve in some ways and I have a little bit of input. The movement definitely needs to be improved as it feels rather unnatural for a game, consider adding counter-movement to Mario so it feels like he's building up a little bit more when he's moving and so he stops faster and doesn't slide so much. Also consider changing the way Mario jumps so that we have control over his height. If you make the pipes a rigid body the same way you made the ground one and put a small sliver of teleport on top of it the game would play out better as multiple times out of habit i didn't consider that bumping into the pipe would teleport me to the next level, there is no warning. There is no phase between levels, it is all very confusing and directionless.

SixBeeps (1324)

Wow, this looks outstanding. This was done in pure HTML? I'm rather impressed.

Coder100 (1197)

Thank you! Yes, I did this in pure HTML with p5.js :) @niorg2606

SixBeeps (1324)

@Coder100 I wouldn't be the one to ask for projects like these, I don't know much about p5 at all :/

Rileygamer21 (35)

I don't like how easy it is...but its cool. But I use pygame a lot more for making games so maybe its super impressive and I just don't know.