Reply: 【脚本】伪3D脚本
2/10
·
attr_accessor :plus_y
#----------------------------------------------------------------------------- alias setup_or :setup def setup(map_id) setup_or(map_id) @pitch = $da... |
||
Reply: 【脚本】伪3D脚本
2/10
·
for i in 0..2 # For each layer
for j in [0, (($height / 2) - (($height * 60) / @pitch) + @oy) / $strip_size].max.to_i..[... |
||
Reply: 【脚本】伪3D脚本
2/10
·
return @name
end #----------------------------------------------------------------------------- def overworld? return @name.scan(/[OV]/).size > 0 end #-----------... |
||
Reply: 【脚本】伪3D脚本
2/10
·
=begin
Mode07 on the Map! Includes: Mode07 v0.6 Overworld Sprite Resize Written by mewsterus Special Thanks: Fanha Giang (for a rever... |
||
Reply: 【脚本】伪3D脚本
2/10
·
@bitmaps[@priorities[pos]].blt(x * 32, y * 32, @tileset, src_rect)
elsif pos >= 48 and pos < 384 # If it is an autotile id... |
||
Reply: 【脚本】伪3D脚本
2/10
·
Bitmap.new($game_map.width*32, $game_map.height*32+$strip_size),
Bitmap.new($game_map.width*32, $game_map.height*32+$strip_size)] # Generate blank sprites @sprites = [[], [],... |
||
Reply: 【脚本】伪3D脚本
2/10
·
#===============================================================================
$width = 640 # Screen width (will not change resolution, $height = 480 # Screen height... |
||
Reply: 【脚本】伪3D脚本
2/10
·
@pitch = $data_map[$game_map.map_id].pitch.to_f
self.zoom_x = self.zoom_y = ((@character.screen_y - 16) - ($height / 2)) * (@pitch / ($height *... |
||
Reply: 【脚本】伪3D脚本
2/10
·
#-----------------------------------------------------------------------------
def dispose # Dispose all sprites for i in 0..2 for j in @sprites[i] j.... |
||
Reply: 【脚本】伪3D脚本
2/10
·
#请把分开了的脚本全部插入同一页在main之前
#=============================================================================== $width = 640 # Screen width (will not change resolution, $height = 480 #... |
||