Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tiles for midp 2.0  RSS feed

 
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!
 
Something about .... going for a swim. With this tiny ad ...
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!