06-27-2019, 03:19 AM
That line doubles for:
They're essentially the same, doing the same thing though written with a different syntax. This code should be in the 'refresh' method (at least in RPGMaker XP and such). And the item window (assuming we're talking Scene_Item) only updates when the Item window is initially created, and when you're done with targeting. It shouldn't be updating all the time.
Code:
for i in 0...@item_max
draw_item(i)
end
They're essentially the same, doing the same thing though written with a different syntax. This code should be in the 'refresh' method (at least in RPGMaker XP and such). And the item window (assuming we're talking Scene_Item) only updates when the Item window is initially created, and when you're done with targeting. It shouldn't be updating all the time.