Abolished screen border, screenshots are now png format, removed Sprite Resizer scripts, credited mkxp-z

This commit is contained in:
Maruno17
2020-11-24 22:41:05 +00:00
parent 4af57f6501
commit bba24abc1a
18 changed files with 186 additions and 871 deletions

View File

@@ -216,27 +216,13 @@ class CustomTilemap
@tilesetChanged = true
end
def getResizeFactor
return $ResizeFactor || 1.0
end
def ox=(val)
rf = getResizeFactor
if rf!=1.0
val = (val*rf).to_i
val = (val/rf).to_i
end
wasshown = self.shown?
@ox = val.floor
@nowshown = (!wasshown && self.shown?)
end
def oy=(val)
rf = getResizeFactor
if rf!=1.0
val = (val*rf).to_i
val = (val/rf).to_i
end
wasshown = self.shown?
@oy = val.floor
@nowshown = (!wasshown && self.shown?)