Can someone tell me how to chance the blue ball

Discussion in 'iPhysics [old jailbreak version]' started by normanloco, Feb 6, 2008.

  1. normanloco

    normanloco New Member

    Joined:
    Dec 24, 2007
    Messages:
    85
    Likes Received:
    0
    Device:
    iPod touch
    Can someone tell me how to change the blue ball

    Well I'm making a level pack and want to change the blue ball to something els but i don't know how and I haven't fine anything to help me. Can some tell me how?
  2. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
    you want to "chance" the blue ball, what does that mean?
  3. rebelxtnut

    rebelxtnut New Member

    Joined:
    Oct 27, 2007
    Messages:
    68
    Likes Received:
    0
    i think he meant change, not chance, but im not totaly sure
  4. normanloco

    normanloco New Member

    Joined:
    Dec 24, 2007
    Messages:
    85
    Likes Received:
    0
    Device:
    iPod touch
    Yea I want to change the blue ball
  5. negamaki

    negamaki Member

    Joined:
    Dec 3, 2007
    Messages:
    364
    Likes Received:
    20
    Device:
    iPhone 4S (Black)
    hmm right now i dont believe you can change it. You can only change the backrounds for the levels.
  6. Rawd

    Rawd New Member

    Joined:
    Oct 14, 2007
    Messages:
    2,192
    Likes Received:
    4
    Yes, you can change it..

    Ok... Take out the user ball at the beggining and add something like this under the 'Dynamics':

    (motoball2.png is a 44x44 picture, that's why you'll see it centered at 22)

    (Set the density and friction to what you like)

    (Put anything in for the id... 'type 257' is what makes it the ball)

    (I set no_spin to true, so that the 'shadow' doesn't spin. If you want the textures to spin set it to 'false')

    <dict>

    <key>id</key>
    <string>ball</string>
    <key>type</key>
    <integer>257</integer>
    <key>density</key>
    <real>0.4</real>
    <key>friction</key>
    <real>0.01</real>
    <key>color</key>
    <integer>0xffffffff</integer>
    <key>x</key>
    <real>158</real>
    <key>y</key>
    <real>29</real>
    <key>radius</key>
    <real>22</real>
    <key>image</key>
    <string>motoball2.png</string>
    <key>image_cx</key>
    <real>22</real>
    <key>image_cy</key>
    <real>22</real>
    <key>image_no_spin</key>
    <true />


    </dict>
  7. normanloco

    normanloco New Member

    Joined:
    Dec 24, 2007
    Messages:
    85
    Likes Received:
    0
    Device:
    iPod touch
    Thx Rawd This is what I need to be one step closer to release mi Levelpack
  8. Rawd

    Rawd New Member

    Joined:
    Oct 14, 2007
    Messages:
    2,192
    Likes Received:
    4
    Also, make sure your .png is on a transparent background...

    To make a target, same thing, except it is a 'type 129'

    Have fun!

    Please Register or Log in to view images

Share This Page