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.
@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
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?
Hey dude, why don't you use an integer array for gravity with something similar to a "parabolic" progression? Let's say an array with 10 or 12 elements. And instead of 'Y = Y - 1' you can use something like 'Y = Y - Vector[Index]' within the for loop, where each element of the array contains the values of the parabola function. In that way you'll get a more "realistic" gravity effect without a "complex" algorithm.
@RungAaz you're complaining? making a dot move and being able to program collision is only a sign that you're moving towards the right direction! keep it up! :)
@zephiro309 For me too, but I know I won't code some graphic stuff, probably some stuff for WindowsMobile when I get the CeGCC compiler working under Windows (without cygwin) because VSC# sucks so much ass I can't even express :D
DUDE this is great, but why do you keep ignoring me? can you please give me source code to this? I use dev c++ and SDL i would do anything for the source code :) ty so much man
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).
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)
can you please make a tutorial?
somerandomguy64 3 months ago
Terrible physics.
nzlhacker 5 months ago
Goes to slow but other then that its good
123ilikecheese456 6 months ago
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.
Invisibrah 6 months ago
@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
HotPocketsBoy 4 months ago
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?
swu880 7 months ago
@swu880
You just put a boolean value in all of them. If it's false, then the program won't even consider them for collision.
Invisibrah 6 months ago
Nice. You should fix the gravity.
uriituw 9 months ago
I can make better with Blitz3D and BlitzPlus...
pufixas 10 months ago
Nice work though. Congratulations!
InertLoop 10 months ago
Hey dude, why don't you use an integer array for gravity with something similar to a "parabolic" progression? Let's say an array with 10 or 12 elements. And instead of 'Y = Y - 1' you can use something like 'Y = Y - Vector[Index]' within the for loop, where each element of the array contains the values of the parabola function. In that way you'll get a more "realistic" gravity effect without a "complex" algorithm.
InertLoop 10 months ago
@InertLoop Continue to ignore me...you'll regret it.
FinallyBacktoBasics 10 months ago
HAWT! =)
MrMelonBread 1 year ago
cool :D
MrMadewriter 1 year ago
Dude, you are awesome.
The best I got right now is a red dot on the screen, I can move it around, and the best, it collides with the screen borders :D
And I'm not yet using any pic, just a SDL_Rect.
RungAaz 1 year ago
@RungAaz you're complaining? making a dot move and being able to program collision is only a sign that you're moving towards the right direction! keep it up! :)
zephiro309 1 year ago
@zephiro309 Yes, but there are these times, when I don't have much time, when I want code something else, and so on...
I'm not getting any further in this area.
RungAaz 1 year ago
@RungAaz I know what you mean xD Thankfully, there's some free time, for these next couple of weeks... for me, anyway.
zephiro309 1 year ago
@zephiro309 For me too, but I know I won't code some graphic stuff, probably some stuff for WindowsMobile when I get the CeGCC compiler working under Windows (without cygwin) because VSC# sucks so much ass I can't even express :D
RungAaz 1 year ago
@RungAaz yeah, i just can't see myself ever using c#... xD
zephiro309 1 year ago
@zephiro309 Well I'm using windows, but this the ONLY MS-Software I will ever use :D
RungAaz 1 year ago
Nice..
blackcoder41 1 year ago
DUDE this is great, but why do you keep ignoring me? can you please give me source code to this? I use dev c++ and SDL i would do anything for the source code :) ty so much man
mnmboy9147 1 year ago
i'll give u 5$ if u publish this game with a price of 10$
grizzezza 2 years ago
Nice Job!
123ponco 2 years ago
????????????????????????????????
randell1able 2 years ago
its like mario meets golden axe
jvaughn94 2 years ago 4
nice i want to test this programm :)
Cr4ck4lack 2 years ago 4
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
@Agressor3400 One thing that should be noted is in scrolling games, it's not the camera that moves. It's the map that does the scrolling.
Martyj2009 1 year ago
lol @ the end u just like fall off xD
sk8rz21 2 years ago 7
sweet, i will sub!
snasebrase 2 years ago 7
Great work. It's definitely a good start.
dandymcgee 2 years ago 10
OMG!!! Mario got an axe! :)
Nice job!
SneakySteeve 2 years ago 16
Do you have a tutorial? I want to make a game like that... :)
markjordanco 3 years ago 18
Nice job, keep up the good work! :)
NeedHelpIGotYa 3 years ago 13
Thanks :)
avvoltoio31 3 years ago