[WIP] Lluita contra jefes.
+ Redisseny de mapa + Ajustada la vista abans del combat i fixada en la vertical [NEW] Objecte point
This commit is contained in:
@@ -24,9 +24,11 @@ function viewport.new(_width, _height)
|
||||
}
|
||||
end
|
||||
|
||||
function viewport:fixed(range)
|
||||
function viewport:fixed(range, _x, _y)
|
||||
self.range = range
|
||||
self.fixed_coord = {x=self.x, y=self.y}
|
||||
_x = _x or self.x
|
||||
_y = _y or self.y
|
||||
self.fixed_coord = {x=_x, y=_y}
|
||||
end
|
||||
|
||||
function viewport:free_move()
|
||||
|
||||
Reference in New Issue
Block a user