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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:51:37+00:00 2026-05-24T00:51:37+00:00

I want to draw a hexagonal tile map. The TMX files they include is

  • 0

I want to draw a hexagonal tile map. The TMX files they include is more heavyweight than simply the hex grid I need. I don’t need images just a black/transparent background with the hex outline on top.

So far I have this:

CCTMXTiledMap *map = [CCTMXTiledMap tiledMapWithTMXFile:@"hexa-test.tmx"];

Is there a built-in routine or standard approach for doing this?

(I am new to cocos2d for iOS.)

Thanks

  • 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-24T00:51:42+00:00Added an answer on May 24, 2026 at 12:51 am

    As far as I’ve seen in Cocos2D, the tilemap is the only built-in way to draw a hex map. If you want anything else, you’ll have to roll your own — but I don’t think it’s going to be all that difficult to do.

    Try this page for info on a basic hex drawing algorithm.

    There’s also this page which draws many hexagons in a map.

    Hope that helps.
    Mike

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

Sidebar

Related Questions

I want to draw 10 by 10 grid that defines ground plane such that
I want to draw on the canvas of a cell in a string grid.
I want to draw a grid of 10 x 10 squares on a HTML5
I want to draw a couple of simple bar plots to include in a
I want to draw DirectX content so that it appears to be floating over
I want to draw a shadow around a thumbnail in my software. It seems
I want to draw a HBITMAP onto HDC, I used StretchDIBits. It works fine.
I want to draw some lines and rectangles on a panel. Sometimes it does
I want to draw line on UIImageView. I already draw line on UIImageView but
I want to draw some listview items disabled and would like to mimic the

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.