hackinc2000's Recent Forum Activity

  • When I face the box2d vertex limit problem, resolved in some way in r198, and looking to the problem I found some solutions at least for other engines. One of the solution was to implement polygon decomposition, It could be a good idea implement this on the editor. It works creating a Body with several Fixtures. Those fixtures will have max 8 vertices and will share some of the vertices, so ill will simulate a bigger piece using smaller parts, which are stuck together.

    In the editor maybe It can be implemented in a way to auto decompose the main polygon into pieces. Or maybe after adding more than 8 vertices it will auto decompose to the next polygon.

    This way we don't decrease performance or project size importing multiple images.

    The Actual Output of the Construct2 polygon system as I saw in the project file is:

    <collision-poly>

    <point x="0.163934" y="0.191257" />

    <point x="0.315574" y="0.0846994" />

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

    <point x="0.673497" y="0.0812841" />

    <point x="0.822404" y="0.17623" />

    <point x="0.916667" y="0.326503" />

    <point x="0.956284" y="0.504098" />

    <point x="0.910519" y="0.681011" />

    <point x="0.818306" y="0.822404" />

    <point x="0.678962" y="0.919399" />

    <point x="0.528689" y="0.948941" />

    <point x="0.529201" y="0.58312" />

    <point x="0.469603" y="0.584785" />

    </collision-poly>

    so maybe we could ending having something like:

    <collision-poly>

    <vertices set="0">

    <point x="0.163934" y="0.191257" />

    <point x="0.315574" y="0.0846994" />

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

    <point x="0.673497" y="0.0812841" />

    <point x="0.822404" y="0.17623" />

    <point x="0.916667" y="0.326503" />

    <point x="0.956284" y="0.504098" />

    <point x="0.910519" y="0.681011" />

    <vertices>

    <vertices set="1">

    <point x="0.818306" y="0.822404" />

    <point x="0.678962" y="0.919399" />

    <point x="0.528689" y="0.948941" />

    <point x="0.529201" y="0.58312" />

    <point x="0.469603" y="0.584785" />

    <vertices>

    </collision-poly>

    note: this post was posted by error on the closed bugs section, I delete it from there and re post it here!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, My name is Waldemar. I'm from the Caribbean Island of Puerto Rico, yep! Ricky Martin!!!!!. I'm 34 becoming 35 in one month. And I am an Game Addict Too. I'm a Web Designer/Developer during the day. And Convert myself into Hackinc200 during the night to combat Crime!!! Ups, just to develop some Mobile Apps. jajaja!!! My Favorite Game saga its Gears Of War and the only MMORPG i have play its Guild Wars. In the case You haven't notice yet my first language its Spanish. I enter here a year ago for the first time, then I never came back. Until now That I found a Construct almost a mature product. I just need to get a license. And Start playing around whit it.

hackinc2000's avatar

hackinc2000

Early Adopter

Member since 9 Feb, 2011

Twitter
hackinc2000 has 12 followers

Connect with hackinc2000

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies