Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey, I was trying to make a game like Pokemon.

This game has nice animations and when running. I need to hit a collision and stop, and face the direction that I was previously running, and THEN have the ability to hit a diffrent arrow key and go a diffrent direction. I fail to figure this out. I get hung..

 

This : If Ctl.Bounds.IntersectsWith(Player.Bounds) doesn't do what I want it to do.. When I collide I get stuck.. Any help would be very appreciated!

Posted

once that condition is true; you have an intersection; so you need to then move the objects next to each other and stop the movement.

 

You'll need to detect the collision, then move the objects next to each other.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...