Hello all! I'm new to game development and new to Lua as well. I'm trying to develop a simple game for my iPhone. I'm struggling here to create a working physics body.
I want to throw a ball from a particular point, Just say there is a straight ball holder Image and a triangle Stand on which the ball holder Image is placed such that the stand is at the center of the ball holder. I want to drag the ball bolder only down wards and based on the force the ball should be thrown, and i don't want the ball to stuck on the edge of the screen, i mean it should move freely as long distance it can cover and at the same time the background images should move so that it looks like a animation.
please anyone help me on this...
Hope the question is clear to all..
Thank you, and waiting for the answer with some examples.
Comments
Here are some box2d basics to get you started:
http://appcodingeasy.com/Gideros-Mobile/Gideros-Box2D-basics
http://appcodingeasy.com/Gideros-Mobile/Dragging-Box2d-object-in-Gideros-Mobile
After that you can check Box2d slingshot example:
http://appcodingeasy.com/Gideros-Mobile/Gideros--Box2d-Slingshot
And here is a camera move example for the flying object:
http://appcodingeasy.com/Gideros-Mobile/Gideros-Camera-Move
Thanks for the reply....
Going to through it...
I've gone through the examples mentioned above, but i'm unable to rotate ball holder.. Can anyone help me out for this....