A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    24

    Unhappy What's the problem??????

    Hi,
    This is a pixel-perfect collision detection. I've got the kit and I wrote this code. I think the problem is small.

    If someone would kindly check and fix it or tell me what's the problem so I can understand and proceed my game

    Here's the file WITH the collision kit

    Collision test.zip

  2. #2
    Is the best Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    327

  3. #3
    Junior Member
    Join Date
    Jul 2012
    Posts
    24
    Quote Originally Posted by Basses6 View Post
    I've already seen those and downloaded them. I tried to understand I didn't.
    I tried to customize it I couldn't since the script didn't work anymore.

    All I want is a pixel-perfect collision detection and as soon as they touch, it goes and play frame 2 for example

    My example, I took it from Cory O'Neil's example. I just modified it. I need someone expert to fix it or tell me where is my problem

    But thank you for your post

  4. #4
    Is the best Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    327
    that thing only has the file so it doesn't detect everything as square.

    I only know as2 but you need to make it like on hitTest gotoAndPlay(2); something along those lines

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts




Click Here to Expand Forum to Full Width


HTML5 Development Center