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 9192423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:55:10+00:00 2026-06-17T20:55:10+00:00

Below is a screenshot from a famous structure building game. As you can see

  • 0

Below is a screenshot from a famous structure building game.

enter image description here

As you can see rods are attached together with ball joints. I’m trying to achieve something similar with Cosos2d on iPhone. I’ve got two questions here:

  1. Should I draw those ball joints or should I just add them as sprites?
  2. I guess the rods are not drawn bur are rather images. But considering that the length of the rods will change depending on need, how do I make rods with different lengths from just one image?
  • 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-06-17T20:55:12+00:00Added an answer on June 17, 2026 at 8:55 pm

    I am not sure what would be the best approach for one. I would imagine that either way would be fine, but it would be harder to achieve whatever visual affect you want through drawing them. I think the hardest part would be making sure that they are anchored to vertices in a grid system that has the dimension that you want.

    As for (2) you can always scale your image.

         CCSprite *rod = [CCSprite spriteWithFile:@"rod.png"];
         rod.scaleY = 2.0; //or scaleX 
    

    Then rotate and change its anchor points as needed.

    Again I imagine the most difficult part would be anchoring them and positioning them correctly, so that align properly with the vertices.

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

Sidebar

Related Questions

As you can see from the screenshot below, the titlebar is getting these ugly
As you can see from the screenshot below I have a ListView with multiple
So I am trying to alter my sql code (see below for screenshot of
My stored procedure runs fine from sql studio as you can see from below
Please check this app: Screenshot from that app is shown below: Can you please
I have an Adorner which adornes a Border (please see screenshot below). The MouseDown
Screenshots Below. As you can see, my menubutton is showing up in the actionBar's
After trying a lot sorry for asking such a trivial question. Given below screenshot
I currently have a <select> element populated by data from a DB (See screenshot
Below is a small screenshot from within RubyMine 3.1. I am just starting to

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.