Bug: Collision poly has less than 3 points

0 favourites
  • 5 posts
From the Asset Store
Connect the dots in the correct order and draw happy animals!
  • Sorry for the double post but I/ve realised my original post was in "closed bugs" and I thought that it belonged here.

    The error started yesterday when I tried to import a sprite directly to my layout by drag&droping from windows. A bug error poped up saying the sprite has problems with its collision poly.

    Conflicting png

    <img src="http://s16.postimage.org/c12hr3l35/pointed_line.png" border="0" />

    I tried to import this png from the animation editor and it looked to work but today, when I tried to open the caproj, this error appeared.

    <img src="http://s11.postimage.org/4neaf0l4j/Untitled_1.jpg" border="0" />

    Any ideas? Pless tell me I didn't loose my proyect.

    Im working with the b99 on windows 7. Don't have a capx but I may attach the caproj if needed.

    bye and thanks!

  • I attach a capx with the error reproduced.

    antylope.com.ar/less3pointpoly.rar

  • Open your .caproj file with a text editor, go to line 1502 and add a third collision point by yourself.

    Not working:

    <collision-poly>

                                <point x="0.985401" y="0.5" />

                                <point x="0.0145985" y="0.5" />

    </collision-poly>

    Change to:

    <collision-poly>

                                <point x="0.985401" y="0.5" />

                                <point x="0.0145985" y="0.5" />

                                <point x="0.01" y="0.5" />

    </collision-poly>

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks man! It looks so easy now. I should read the error first before freaking out. My mistake.

  • Thanks for the report, it turns out C2 guesses the collision poly incorrectly for this image. Should be fixed in the next build!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)