• Post Reply Bookmark Topic Watch Topic
  • New Topic

tiles for midp 2.0

 
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!
 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!