2

i want to draw i grid like

Link

can some one please help me to create this grid programmatically in android

i am new to android game development and this is required for project

requirement is to create grid of tiles

Thanks in advance

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Amit
  • 391
  • 3
  • 15
  • i have already checked these places but i didnt find the exact answer 1) http://stackoverflow.com/questions/2264024/in-a-triangulated-isometric-grid-what-triangle-is-a-given-point-in 2) http://www.gamedev.net/topic/445320-isometric-tile-coordinates/ 3) http://www.cocos2d-x.org/ 4) http://stackoverflow.com/questions/7016981/efficiently-getting-isometric-grid-positions-within-a-bounding-box – Amit Dec 06 '11 at 11:09

1 Answers1

0

You might need to draw this you self. If seems doable. But if you dont know how drawing is done, these tutorial should help.

Just use a combination of drawRect and drawLine to get this drawn.

blessanm86
  • 31,439
  • 14
  • 68
  • 79
  • 1
    i have already seen this tutorial but i did not found it useful what i need to do is i need to draw a grid then in that grid i need to draw hero i.e. small boxes on random places please help me by giving some links to good android isometric views – Amit Dec 06 '11 at 12:17