How To Make Cut The Rope Game

1

Index

Stats

13,250 visits, 29,792 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 21 Aug, 2014. Last updated 19 Feb, 2019

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

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