class Cloud
def ready
$p1xx = 384
$p2xx = 380
$p3xx = 383
$p4xx = 480
$p5xx = 480
$p1s = 1
$p2s = 4
$p3s = 6
$p4s = 9
$p5s = 15
$p1x = 0
$p2x = $p1xx
$p3x = -$p1xx
$p4x = 0
$p5x = $p1xx
$p6x = -$p1xx
$p7x = 0
$p8x = $p1xx
$p9x = -$p1xx
$p10x = 0
$p11x = $p1xx
$p13x = 0
$p14x = $p1xx
end
def start
$p1x += $p1s
$p2x += $p1s
$p3x += $p1s
$p4x += $p2s
$p5x += $p2s
$p6x += $p2s
$p7x += $p3s
$p8x += $p3s
$p9x += $p3s
$p10x += $p4s
$p11x += $p4s
$p13x += $p5s
$p14x += $p5s
$game_screen.pictures[1].show("c1.png", 0, $p1x, 0, 100, 100, 255, 0)
$game_screen.pictures[2].show("c1.png", 0, $p2x, 0, 100, 100, 255, 0)
$game_screen.pictures[3].show("c1.png", 0, $p3x, 0, 100, 100, 255, 0)
$game_screen.pictures[4].show("c2.png", 0, $p4x, 27, 100, 100, 255, 0)
$game_screen.pictures[5].show("c2.png", 0, $p5x, 27, 100, 100, 255, 0)
$game_screen.pictures[6].show("c2.png", 0, $p6x, 27, 100, 100, 255, 0)
$game_screen.pictures[7].show("c3.png", 0, $p7x, 72, 100, 100, 255, 0)
$game_screen.pictures[8].show("c3.png", 0, $p8x, 72, 100, 100, 255, 0)
$game_screen.pictures[9].show("c3.png", 0, $p9x, 72, 100, 100, 255, 0)
$game_screen.pictures[10].show("c4.png", 0, $p10x, 97, 100, 100, 255, 0)
$game_screen.pictures[11].show("c4.png", 0, $p11x, 97, 100, 100, 255, 0)
$game_screen.pictures[13].show("c5.png", 0, $p13x, 112, 100, 100, 255, 0)
$game_screen.pictures[14].show("c5.png", 0, $p14x, 112, 100, 100, 255, 0)
#$game_screen.pictures[].show(name,原点,x,y,放大x,放大y,透明度,合成)
if $p1x >= 640
$p1x = 640-3 * $p1xx + 1
end
if $p2x >= 640
$p2x = 640-3 * $p1xx + 1
end
if $p3x >= 640
$p3x = 640-3 * $p1xx + 1
end
if $p4x >= 640
$p4x = 640-3 * $p2xx + 1
end
if $p5x >= 640
$p5x = 640-3 * $p2xx + 1
end
if $p6x >= 640
$p6x = 640-3 * $p2xx + 1
end
if $p7x >= 640
$p7x = 640-3 * $p3xx + 1
end
if $p8x >= 640
$p8x = 640-3 * $p3xx + 1
end
if $p9x >= 640
$p9x = 640-3 * $p3xx + 1
end
if $p10x >= 640
$p10x = 640-3 * $p4xx + 1
end
if $p11x >= 640
$p11x = 640-3 * $p4xx + 1
end
if $p13x >= 640
$p13x = 640-3 * $p5xx + 1
end
if $p14x >= 640
$p14x = 640-3 * $p5xx + 1
end
end
end
class Cloud
def ready
$p1xx = 384
$p2xx = 380
$p3xx = 383
$p4xx = 480
$p5xx = 480
$p1s = 1
$p2s = 4
$p3s = 6
$p4s = 9
$p5s = 15
$p1x = 0
$p2x = $p1xx
$p3x = -$p1xx
$p4x = 0
$p5x = $p1xx
$p6x = -$p1xx
$p7x = 0
$p8x = $p1xx
$p9x = -$p1xx
$p10x = 0
$p11x = $p1xx
$p13x = 0
$p14x = $p1xx
end
def start
$p1x += $p1s
$p2x += $p1s
$p3x += $p1s
$p4x += $p2s
$p5x += $p2s
$p6x += $p2s
$p7x += $p3s
$p8x += $p3s
$p9x += $p3s
$p10x += $p4s
$p11x += $p4s
$p13x += $p5s
$p14x += $p5s
$game_screen.pictures[1].show("c1.png", 0, $p1x, 0, 100, 100, 255, 0)
$game_screen.pictures[2].show("c1.png", 0, $p2x, 0, 100, 100, 255, 0)
$game_screen.pictures[3].show("c1.png", 0, $p3x, 0, 100, 100, 255, 0)
$game_screen.pictures[4].show("c2.png", 0, $p4x, 27, 100, 100, 255, 0)
$game_screen.pictures[5].show("c2.png", 0, $p5x, 27, 100, 100, 255, 0)
$game_screen.pictures[6].show("c2.png", 0, $p6x, 27, 100, 100, 255, 0)
$game_screen.pictures[7].show("c3.png", 0, $p7x, 72, 100, 100, 255, 0)
$game_screen.pictures[8].show("c3.png", 0, $p8x, 72, 100, 100, 255, 0)
$game_screen.pictures[9].show("c3.png", 0, $p9x, 72, 100, 100, 255, 0)
$game_screen.pictures[10].show("c4.png", 0, $p10x, 97, 100, 100, 255, 0)
$game_screen.pictures[11].show("c4.png", 0, $p11x, 97, 100, 100, 255, 0)
$game_screen.pictures[13].show("c5.png", 0, $p13x, 112, 100, 100, 255, 0)
$game_screen.pictures[14].show("c5.png", 0, $p14x, 112, 100, 100, 255, 0)
#$game_screen.pictures[].show(name,原点,x,y,放大x,放大y,透明度,合成)
if $p1x >= 640
$p1x = 640-3 * $p1xx + 1
end
if $p2x >= 640
$p2x = 640-3 * $p1xx + 1
end
if $p3x >= 640
$p3x = 640-3 * $p1xx + 1
end
if $p4x >= 640
$p4x = 640-3 * $p2xx + 1
end
if $p5x >= 640
$p5x = 640-3 * $p2xx + 1
end
if $p6x >= 640
$p6x = 640-3 * $p2xx + 1
end
if $p7x >= 640
$p7x = 640-3 * $p3xx + 1
end
if $p8x >= 640
$p8x = 640-3 * $p3xx + 1
end
if $p9x >= 640
$p9x = 640-3 * $p3xx + 1
end
if $p10x >= 640
$p10x = 640-3 * $p4xx + 1
end
if $p11x >= 640
$p11x = 640-3 * $p4xx + 1
end
if $p13x >= 640
$p13x = 640-3 * $p5xx + 1
end
if $p14x >= 640
$p14x = 640-3 * $p5xx + 1
end
end
end