开发者

If one object is touched by another object, do something? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_StackOverflow Closed 11 years ago.

I am making a game in which you move the character with the arrow keys, and I want to do something when it collides with a certain step. (See picture below). I want the top value of my character to increase every time it touches the steps, and the second flight of stairs, I want it to descend. I have tried and tried to no avail. Any help?

If one object is touched by another object, do something? [closed]


Doing a Bing search on Collosion detection with VB6, I found a few articles out there.

Try looking at:

  • http://www.vb6.us/tutorials/rectangular-and-circular-collision-detection-vb6

But as @Matt Ball is trying to say, is in order to help you we need to see what code you have tried. Otherwise anything we come up with is just a guess of what your problem is.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜