00:00
00:00
View Profile Eggy
My names Bradley Erkelens (Eggy) and I’m an Indie Game Developer who’s been making games for over 10 years. I make games in Flash, Unity and for Mobile. I hope you enjoy my games.

Bradley Erkelens @Eggy

31, Male

Game Developer

NASHS

Perth, Western Australia

Joined on 5/22/05

Level:
50
Exp Points:
27,318 / 27,750
Exp Rank:
405
Vote Power:
9.09 votes
Rank:
Pvt. First Class
Global Rank:
2,687
Blams:
195
Saves:
2,975
B/P Bonus:
20%
Whistle:
Normal
Trophies:
20
Medals:
386
Supporter:
2y 10m 29d
Gear:
1

A coded Mario Engine To Download

Posted by Eggy - December 11th, 2013


A while ago as practice for fun I had a go at recreating mario, the physics still arn't perfect, but I think I got them pretty close. Was fun programming an old classic. This is a good way to practice making platformers smooth and seeing how mario did it. Play and/or download the engine below.

Click below to play the engine. Arrow keys to move.

http://www.eggysgames.com/other/Mario.swf

Click below to download the flash file

http://www.eggysgames.com/other/Mario.fla

It's in Actionscript 2.

Hopefully this helps with making your platformers smoother. All graphics are mario owned of course. Also testing this new posting and it's pretty cool editing on the fly instead of going back and forth correcting mistakes.

1222128_138674431562_marioengine.jpg

 


Comments (4)

Oh, poor Mario! Remakes after remakes...

They are good for learning. We need to learn from our history to progress. But people shouldn't make a mario remake, they should use the code to make an original platformer.

functions pretty well I must say, but it also looks like mario is floating on the tiles sometimes.

Yeah that can be edited a bit by moving the _y hittest down or moving the graphic inside the movieclip.

Nice man. The code is a little cray cray at some parts, however I learned something new (that ? could be used as an if statement) so thank you. Keep up the good work.

Cheers man. Yeah some bits are a tad messy. Great! glad you learn't something new!

mmmm, dude? suspendedpage.cgi ...

Sorry I needa get the hosting paid