Quantcast
Channel: iOS Game Development » force
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Drag a body to follow the mouse

Source files can be found here: Link Often we have a requirement where the b2Body is to be dragged by the user. This can easily be accomplished using a b2MouseJoint. Sample code shows how the joint is...

View Article



Image may be NSFW.
Clik here to view.

Using swipe to flick a body

A few days back, a reader ( Chris ) wanted to know how to flick a body using a swipe. So i created a sample for him that uses swipe variables to flick the body in the given direction. Frist we will...

View Article

Image may be NSFW.
Clik here to view.

How to make a Balloon (goes against gravity)

A reader on my blog by the name of Dillion presented a problem where an air balloon has to travel up against the force of gravity. There can be multiple approaches to the problem. However, we will...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images