blx = 0.5
bly = 0.5
id = 1
$data_animations = load_data("Data/Animations.rxdata")
for frame in $data_animations[id].frames
for i in 0..frame.cell_max
pattern = frame.cell_data[i, 0]
if pattern == nil or pattern == -1
next
end
frame.cell_data[i, 1] = (frame.cell_data[i, 1] * blx).to_i
frame.cell_data[i, 2] = (frame.cell_data[i, 2] * bly).to_i
frame.cell_data[i, 3] = (frame.cell_data[i, 3] * (blx + bly) / 2).to_i
end
end
save_data($data_animations, "Data/Animations.rvdata")
p "zoomed."
exit
以下引用Vernon126于2008-5-3 0:36:30的发言:
用來做地圖ARPG啊
等神手中...
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |