Timbuk2
01-04-2006, 06:40 AM
Ok, this is hard to explain but here it goes....
I was following noi_max's tutorial on movement and jumping, found here (http://www.xtremevbtalk.com/showthread.php?t=177598).
Now I know that but I am making a small game, based on that code. It is a super Mario side scrolling game, except its not Super Mario, but the same type of game, where you jump up on boxes and then it stops. Now following the tutorial, I have set the Integer StartPoint as the original place where the picturebox started. But if the jump comes down on top of a "box" that is floating in the air, I want it to stop there. I have tried to do this by setting StartPoint to the top of the box. It works but when you walk off the box it still stays on the level of the floating box, as if "Mario" was walking on the air!!
None of you probably got that so I attached a picture of what I want...
If you are still lost I will post some code!!!!
Thanks in advance because I know people are so good at answering here
I was following noi_max's tutorial on movement and jumping, found here (http://www.xtremevbtalk.com/showthread.php?t=177598).
Now I know that but I am making a small game, based on that code. It is a super Mario side scrolling game, except its not Super Mario, but the same type of game, where you jump up on boxes and then it stops. Now following the tutorial, I have set the Integer StartPoint as the original place where the picturebox started. But if the jump comes down on top of a "box" that is floating in the air, I want it to stop there. I have tried to do this by setting StartPoint to the top of the box. It works but when you walk off the box it still stays on the level of the floating box, as if "Mario" was walking on the air!!
None of you probably got that so I attached a picture of what I want...
If you are still lost I will post some code!!!!
Thanks in advance because I know people are so good at answering here