How To Make Cut The Rope Game

  • 25 favourites

Index

Stats

4,924 visits, 13,460 views

Translations

This tutorial hasn't been translated.

Tools

Gameplay Coding: Part Three

The final coding for the game!

When the cheese collides with rope area and the wheel is overlapping the rope area, create a rope on layer 1, Wheel.X & Wheel.Y+35 (half height size from origin) and set rope id to wheel’s id. Plus create a revolute joint from wheel to rope at image point 1.

Then set cheese’s position to Rope.X & Rope.Y+360

And pin cheese to rope.

Then we need the blower logic: When touch is touching Blower spawn air, and change animation.

Then when air collides with rope create physics impulse of 10 at angle with respect to air position if it is X less than rope (left) or bigger than rope (right)

Then when Title is touched request fullscreen (Optional)

  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!