Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7429509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:58:51+00:00 2026-05-29T08:58:51+00:00

I am new to cocos2d framework but I have good experience in iPhone application

  • 0

I am new to cocos2d framework but I have good experience in iPhone application programming. We can draw lines between 2 points using ccDrawLine command. What I need to do is draw a Rope which connects the two points similar to ccDrawLine

The rope is straight.
I have a png of the rope image which is horizontal.

What I thought was using Open GL Texture to create a Texture which has the above mentioned image and then drawing line with the same. But I donno where to start and how to proceed. Please Help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:58:52+00:00Added an answer on May 29, 2026 at 8:58 am

    Check out this tutorial in Cocos2d site: http://www.cocos2d-iphone.org/archives/1112, which shows you how to setup ropes between two points using a custom class called VRope. You should be able to download the code, and replace the rope.png with your texture.

    Cheers,
    Pras.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to the cocos2d framework, so I took the sample application from
I'm relatively new to iphone programming, and I've been starting out with cocos2d. I
Does Cocos2d iPhone framework work on iPad? My guess would be yes, but wanted
Friends i am new to cocos2d programming and Mac in general! I have noticed
New to WCF, but familiar with COM+ - can I wrap a WCF service
I just finished my new game using Cocos2d (v 0.99.1) for iPhone. Before releasing
I'm rather new to serious programming, so please forgive my dumbness, but I've failed
I'm making a game on iPhone using cocos2d, and I have a question. In
I'm new to cocos2D, and I wanna add an object that can be deformed
I am new to cocos2d and im developing my first iphone game. The requirement

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.