hi, i'm making a school project where i recreate the famous SuperMario game.
i'm in the fase of maping and walking code
you any of oyu have ideas, codes or useful links/resources please post here. i need all help possible.
THANKS
21 replies to this topic
#1
Posted 19 February 2011 - 01:22 PM
|
|
|
#2
Posted 20 February 2011 - 12:52 PM
You may try these.
vbProgramming | VB.NET Tutorials
Abut half way down the page there's a game tutorial section.
Good luck ~ Committed.
vbProgramming | VB.NET Tutorials
Abut half way down the page there's a game tutorial section.
Good luck ~ Committed.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#3
Posted 20 February 2011 - 02:51 PM
thanks man.
#4
Posted 22 February 2011 - 07:38 AM
one thing. in SuperMario game, when we are moving, the map is also "moving/changing", do you know how i can do that in visual basic.
i wont make a huge screen xd !!
if anyknow now, please post
i wont make a huge screen xd !!
if anyknow now, please post
#5
Posted 22 February 2011 - 10:26 AM
This isn't VB code but I think you'll get it:
Something like that. Just check if Mario is moving, and if so, move the background.
~ Committed.
While(Mario.Speed >= 1) background.Location.X -= 1
Something like that. Just check if Mario is moving, and if so, move the background.
~ Committed.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#6
Posted 22 February 2011 - 10:54 AM
humm, something like that yes; thanks; i needed the idea
thanks again,
thanks again,
#7
Posted 26 February 2011 - 07:34 AM
I still couldnt make the map move , but i trying. now i need another thing. when we jump with mario, it is supposed that he falls to a flat surface, a block or eventually the floor,
he cant stand in the air. i've tried "if statementes" and haven't succed yet. any ideas..
thanks.
he cant stand in the air. i've tried "if statementes" and haven't succed yet. any ideas..
thanks.
#8
Posted 26 February 2011 - 10:08 AM
Well im not really an expert in VB, Im not sure how to create a gravity.
You can try this although its in C#
Gravity and Collision Simulation in C# - CodeProject
~ Committed.
You can try this although its in C#
Gravity and Collision Simulation in C# - CodeProject
~ Committed.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#9
Posted 01 March 2011 - 02:12 PM
hi. my mario game is going very well, so far, taking into account my knowledge of visual basic.
i have many picturebox(s), one is the character and one of the others are the famous yellow coins.
and i'm using the following code;
if Character.Bounds.IntersectsWith(Coin.Bounds) then
label2.text +=10
end if
when the character hits the coin his score increase 10 points. the problem is: while the character is is the position of the coin, even when the coin is invisible, its keep adding points. when the character leaves that position its stops. i'm stressed about this, xD.
any ideas ? ?
thanks
i have many picturebox(s), one is the character and one of the others are the famous yellow coins.
and i'm using the following code;
if Character.Bounds.IntersectsWith(Coin.Bounds) then
label2.text +=10
end if
when the character hits the coin his score increase 10 points. the problem is: while the character is is the position of the coin, even when the coin is invisible, its keep adding points. when the character leaves that position its stops. i'm stressed about this, xD.
any ideas ? ?
thanks
#10
Posted 01 March 2011 - 02:54 PM
Thats because you never delete the coin, which I would assume you would want to do right?
Should be something like,
Should be something like,
if Character.Bounds.IntersectsWith(Coin.Bounds) then label2.text +=10 pictureBoxCoin.Dispose() end if~ Committed.
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#11
Posted 02 March 2011 - 11:36 AM
humm. thanks. i didn't knew that we can delete the coin and the didn't knew the "dispose" command .
THANKS.
THANKS.
#12
Posted 02 March 2011 - 11:42 AM
i've tried but it didn't worked for now
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









