Learn to build games for web and devices using Starling framework. Take advantage of Adobe Flash Player's Stage3D feature and hardware-accelerate your 2D games.

In this episode, create the Obstacle class. Also define the watchout sign animation, obstacle art and crash art. Finally animate the obstacles from the right side at random vertical points and remove them once they go out of the screen on the left.

To comment or discuss about this episode, visit hsharma.com/tutorials/starting-with-starling-ep-7-obstacles/

For more such tutorials, visit and subscribe to hsharma.com/tutorials

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…