jfahrenkrug / VertexHelper

Lets you graphically define vertices of sprites for Box2D and Chipmunk bodies/shapes.
http://springenwerk.com
BSD 3-Clause "New" or "Revised" License
242 stars 68 forks source link

Added text field so the Box2D ratio constant (PTM_RATIO) can be redefined. #4

Closed derosa closed 12 years ago

derosa commented 13 years ago

Sometimes there's the need to use a value different than PTM_RATIO. I learnt it when I had the need to change more than 30 PTM_RATIO instances with "100.0" as dictated in one example from the "Learning Cocos2D" book. Being the lazy I am, I decided to modify Vertex Helper instead of replacing all those values.

jfahrenkrug commented 12 years ago

Thank you for this, @derosa! You are the only one who has requested this so far.

Is there any one else who needs this? Do you need it often?

It if turns out a good number of people need this, I'll think about adding it!

Thanks,

Johannes

derosa commented 12 years ago

Hehe, don't worry. I guess you can leave it out :)