Simple mario like 2d game. (programming with SDL) part1
Uploader Comments (avvoltoio31)
Top Comments
-
Do you have a tutorial? I want to make a game like that... :)
-
OMG!!! Mario got an axe! :)
Nice job!
Video Responses
All Comments (36)
-
can you please make a tutorial?
-
@Invisibrah he should also turn off the graph hex editor and turn down GUI physics to run down frame rat eissues. in my experience a larger GUI is more important than a expended hex probe
-
Terrible physics.
-
Goes to slow but other then that its good
-
You just put a boolean value in all of them. If it's false, then the program won't even consider them for collision.
-
The jumping looks really jagged.
Instead of adding just one number to his Y position, try in turn adding a number to that as well, it'll make him jump smoothly because of the acceleration.
-
hi, is it possible to get the source code for this? It looks like an awesome start.
Im totally confused about how the collision detection works. How do you know that theres a floor under "mario" to run on? cuz you got all these "hills" and drops so what do you use to compare & check for?
-
Nice. You should fix the gravity.
-
I can make better with Blitz3D and BlitzPlus...
-
@InertLoop Continue to ignore me...you'll regret it.
I have a question: How do you did the scrolling? You have a very large picture and just scroll the screen around it? Or you did something else? (I already know SDL, and I'm interesting in do something like this).
Agressor3400 2 years ago 7
the background pic with the hills is a very large(it is in the other video about this game) pic.
The foreground(the place where the dwarf can move, or the red bricks) are 32*32 blocks, the resolution of the game is 320*240, so when the dwarf X reach 260 the dwarf not move more only the background move. To move the background, i only need to add the dwarfSpeedX value to the BlockX value(i only move the blocks as i moved the dwarf)
avvoltoio31 2 years ago
Nice job, keep up the good work! :)
NeedHelpIGotYa 3 years ago 13
Thanks :)
avvoltoio31 3 years ago