Jump to content
IGNORED

Question with collision detection.


STGraves

Recommended Posts

Is this the same as what you posted here:

 

atariage.com/forums/topic/239220-collision-prevention-with-adjustable-sprite-height-and-width/?p=3338067

 

You should probably disable the enemy sprite temporarily and get the collision detection working properly for the player, then once you have that working, use the same technique for the enemy sprite with different variables.

Link to comment
Share on other sites

Yes it's the same well the code a little bit modified, can the collision detection work properly with pfscroll on?, because as far as I can recall you said once that it wouldn't work properly with a scrolling playfield, and that was true because I couldn't tweak it enough to stop the stickiness from the walls.

Edited by STGraves
Link to comment
Share on other sites

Yes it's the same well the code a little bit modified, can the collision detection work properly with pfscroll on?, because as far as I can recall you said once that it wouldn't work properly with a scrolling playfield, and that was true because I couldn't tweak it enough to stop the stickiness from the walls.

 

It might eventually work if you spend time figuring out how to make it work. That's what I do. I play around with the code and try a billion things until it either works or I give up.

Link to comment
Share on other sites

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...