Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tiles for midp 2.0  RSS feed

 
bab javier
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
seems like i've ran out of logic
i have 5 separate png files and i want them to populate my tiles. i got used to invoking methods of the TiledLayer class but using 1 whole file only.
problem is how do i assign an integer/index for a specific image file and use it for the fillCell(col, row, numCols, numRows, tileIndex)?
am in a state of mental block!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!