I believe i need to change these lines, but i cant seem to get it right
The faces are in the Pictures folder and are named using the name of the character
The faces are in the Pictures folder and are named using the name of the character
Code:
for i in 0...@characters.size
bitmap = RPG::Cache.character(@characters[i][0], @characters[i][1])
cw = bitmap.rect.width / 4
ch = bitmap.rect.height / 4
src_rect = Rect.new(0, 0, cw, ch)
x = 300 - @characters.size * 32 + i * 64 - cw / 2
self.contents.blt(x, 68 - ch, bitmap, src_rect)
end