Jump to content
  • entries
    21
  • comments
    39
  • views
    20,296

[KM] Collision Detection in progress


Hornpipe2

707 views

Banging out some collision detection. Right now I can tell if the danger point (one pixel X/Y location where hits are checked) is within the 40 x (sprite height) area of an enemy. Next I'll need to write a small 'more precise' function to put on both banks with image data - this will check if the dangerous pixel does or does not collide with real image data.

 

Ignore the ugly colors below, that was part of my WIP color-decode.

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   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...