Hi there JGO,
currently I am working on the Inventory. I had an idea to make some items bigger then 1 cell:
http://img571.imageshack.us/img571/6001/0af8.png
But if you can see it is only rendering a bit of the item. I had some ideas to make a few variables, and then just try things out. But it doesn’t seem to work that good. The only part that was good is the selection of multiple Cells:
public List<Integer> biggerCell() {
List<Integer> cells = new ArrayList<>();
for(int x = 0 ; x < item[0].getWidth(); x++){
for(int y = 0 ; y < item[0].getHeight(); y++){
cells.add(this.x + x + (this.y + y) * maxWidth);
}
}
return cells;
}
So my question is: Are there any tutorials on how to make cells that are ‘bigger’ than 1 cell?
Or if you have any ideas, just post them and I will do something with it! (Please do not post any codes, I am still learning and it is not learning if I am copying stuff).
Thanks already!
-RoseSlayer