本帖最后由 匿名 于 2011-7-12 18:26 编辑
顺路丢一段黑幕脚本。
当这个世界学会了自己生成自己
从此谁还需要画地图捏?- def gtr_beta_16_random_room
- #覆盖基本所有区域
- $game_map.map.width = 30
- $game_map.map.height = 25
- for x in 0...$game_map.width
- for y in 0...$game_map.height
- sys_set_mapdata(x,y,0,384)
- sys_map_autotilereset(x,y,1,49)
- end
- end
- Graphics.update
- sx = 10 + rand($game_map.width - 20)
- @enter_x = sx
- @enter_y = $game_map.height - 1
- sy = $game_map.height / 2 #+ rand(10) - 19
- w = 6 + rand(14)
- h = 8 + rand(12)
- dig_up_room(sx,sy,1,w,h)
- Graphics.update
- for yy in sy..@enter_y
- sys_map_autotilereset(@enter_x,yy,1,0)
- end
- make_wall(1,48+28,401,409)
- Graphics.update
- make_things_nearwall_16mix
- make_big_things_inspace_16mix(12)
- Graphics.update
- $game_player.moveto(@enter_x,@enter_y)
- end
复制代码 |