设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 6448|回复: 13

[原创发布] 小地图脚本(mini map with out bitmap file)

 关闭 [复制链接]

Lv1.梦旅人

梦石
0
星屑
55
在线时间
0 小时
注册时间
2005-11-22
帖子
7
发表于 2005-11-28 22:34:00 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
give me the credit if you can!

1.5 脚本 的 Screen shot:


用法:
To set the type of blip in the map:
让一个 event 变成在小地图上的 Enemy,将事件添加一个注释,内容为 "enemy"
让一个 event 变成在小地图上的 Event,将事件添加桓鲎⑹停?谌菸?"event"
让一个 event 变成在小地图上的 allied (or NPC),将事件添加一个注释,内容为 "allied"
让一个 event 变成在小地图上的 SavePoint,将事件添加一个注释,内容为 "savepoint"
让一个 event 变成在小地图上的 Teleport,将事件添加一个注释,内容为 "teleport"
让一个 event 变成在小地图上的 Chest,将事件添加一个注释,内容为 "chest"

自己改这些
  1. #--------------------------------------------------------------------------
  2. class Game_System
  3.   attr_accessor :minimap_visible  
  4.   attr_accessor :minimap_corner
  5.   alias initialize_minimap initialize
  6.   def initialize
  7.     @minimap_visible = true   # 一开始就显示小地图
  8.     @minimap_corner = 1       # 小地图的位置 (1,2,3,4)
  9.     initialize_minimap
  10.   end
  11. end
复制代码


在运行时改变小地图
显示小地图
$game_system.minimap_visible = true

不显示小地图
$game_system.minimap_visible = false

换位置
$game_system.minimap_corner = 1 # 2, 3, 4

使用自己的 border, 必须改变一些 (在 Spriteset_MiniMap 内)
  1. bt = 25  # the border size at the top
  2. bl = 5  # the border size at the left
  3. br = 5  # the border size at the right
  4. bb= 5    # the border size at the bottom
复制代码


脚本在楼下。
有一些词语我不会翻译,大家可以帮我改吗?

Lv1.梦旅人

梦石
0
星屑
55
在线时间
0 小时
注册时间
2005-11-22
帖子
7
 楼主| 发表于 2005-11-28 22:34:00 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
give me the credit if you can!

1.5 脚本 的 Screen shot:


用法:
To set the type of blip in the map:
让一个 event 变成在小地图上的 Enemy,将事件添加一个注释,内容为 "enemy"
让一个 event 变成在小地图上的 Event,将事件添加桓鲎⑹停?谌菸?"event"
让一个 event 变成在小地图上的 allied (or NPC),将事件添加一个注释,内容为 "allied"
让一个 event 变成在小地图上的 SavePoint,将事件添加一个注释,内容为 "savepoint"
让一个 event 变成在小地图上的 Teleport,将事件添加一个注释,内容为 "teleport"
让一个 event 变成在小地图上的 Chest,将事件添加一个注释,内容为 "chest"

自己改这些
  1. #--------------------------------------------------------------------------
  2. class Game_System
  3.   attr_accessor :minimap_visible  
  4.   attr_accessor :minimap_corner
  5.   alias initialize_minimap initialize
  6.   def initialize
  7.     @minimap_visible = true   # 一开始就显示小地图
  8.     @minimap_corner = 1       # 小地图的位置 (1,2,3,4)
  9.     initialize_minimap
  10.   end
  11. end
复制代码


在运行时改变小地图
显示小地图
$game_system.minimap_visible = true

不显示小地图
$game_system.minimap_visible = false

换位置
$game_system.minimap_corner = 1 # 2, 3, 4

使用自己的 border, 必须改变一些 (在 Spriteset_MiniMap 内)
  1. bt = 25  # the border size at the top
  2. bl = 5  # the border size at the left
  3. br = 5  # the border size at the right
  4. bb= 5    # the border size at the bottom
复制代码


脚本在楼下。
有一些词语我不会翻译,大家可以帮我改吗?

Lv1.梦旅人

梦石
0
星屑
55
在线时间
0 小时
注册时间
2005-11-22
帖子
7
 楼主| 发表于 2005-11-28 23:07:26 | 显示全部楼层
http://rpg.blue/web/dlFTP/up/FanhaDemoNew.exe

第一步:为了安全,请大家先试用在新的 project
第二步:下载这个图片到 "Graphics\Characters"。(大家可以自己造一个) 给它个名字叫
"point.png"

第三步:下载这个图片到 "Graphics\Pictures"。给它个名字叫 "border.png"。大家可以自己造一个,使用自己的 border 必须改变一些变量 (看楼上)



  1. #==============================================================================
  2. # * Spriteset_MiniMap ver 1.5
  3. #------------------------------------------------------------------------------
  4. # Fanha Giang, 2005/11/18
  5. #==============================================================================

  6. class Spriteset_MiniMap
  7.   def initialize()
  8.     @zoom = 0.25
  9.     @size = 32
  10.     @dsize = @size * @zoom
  11.     @coner = $game_system.minimap_corner
  12.    
  13.     # the viewport for the mini map and the blips
  14.     @viewport = Viewport.new(0, 0, 640, 480)
  15.     @viewport.z = 6000

  16.     # sprite of minimap
  17.     @minimap = Sprite_MiniMap.new(@viewport, @dsize)   

  18.     # bitmap of the minimap
  19.     @bitmap = Bitmap.new($game_map.width * @dsize, $game_map.height * @dsize)   
  20.    
  21.     # drawer object
  22.     @draw_minimap = Draw_MiniBitmap.new(0, @bitmap, 28, 23)
  23.     @draw_minimap.map_data = $game_map.data
  24.     @draw_minimap.priorities = $game_map.priorities
  25.     @draw_minimap.tileset = RPG::Cache.tileset($game_map.tileset_name)
  26.     for i in 0..6
  27.       @draw_minimap.autotiles[i] = RPG::Cache.autotile($game_map.autotile_names[i])
  28.     end

  29.     # the blips in the map
  30.     @mini_sprites = []
  31.     for event in $game_map.events.values
  32.       @mini_sprites.push(Sprite_Mini_Character.new(@viewport, @zoom, 1 , event))
  33.     end        
  34.     @mini_sprites.push(Sprite_Mini_Character.new(@viewport, @zoom, 0, $game_player))

  35.     # viewport of the border and something else addon
  36.     @bviewport = Viewport.new(0, 0, 640, 480)
  37.     @bviewport.z = 6001
  38.    
  39.     # init the border
  40.     @border = Sprite.new(@bviewport)
  41.     @border.bitmap = RPG::Cache.picture("border")

  42.     # init the map name
  43.     @mapname = Sprite.new(@bviewport)
  44.     @mapname.x = 30
  45.     @mapname.y = 3
  46.     @mapname.bitmap = Bitmap.new(200,25)
  47.     @mapname.bitmap.font.name = "Tahoma"
  48.     @mapname.bitmap.font.size = 21
  49.     @mapname.bitmap.font.color = Color.new(255, 0, 0, 255)
  50.     @mapname.bitmap.draw_text(@mapname.bitmap.rect, $game_map.name.to_s, 1)

  51.     update_viewport   
  52.     update
  53.   end
  54.   #--------------------------------------------------------------------------
  55.   # - Release
  56.   #--------------------------------------------------------------------------
  57.   def dispose
  58.     # dispose the bitmap
  59.     ([email protected]?) ? @bitmap.dispose : nil
  60.     # dispose the mini map sprite
  61.     @minimap.dispose
  62.     # dispose the blips
  63.     for sprite in @mini_sprites
  64.       sprite.dispose
  65.     end
  66.     # dispose the map name
  67.     @mapname.bitmap.dispose
  68.     @mapname.dispose
  69.     #dispose the border
  70.     @border.bitmap.dispose
  71.     @border.dispose   
  72.     # dispose the viewport
  73.     @viewport.dispose
  74.     @bviewport.dispose
  75.   end
  76.   #--------------------------------------------------------------------------
  77.   # - Frame renewal
  78.   #--------------------------------------------------------------------------
  79.   def update
  80.     # draw the map
  81.     x1 = (($game_map.display_x - 64) / 128 - 4).to_i
  82.     y1 = ($game_map.display_y / 128 - 4).to_i
  83.     @draw_minimap.draw(x1,y1)
  84.    
  85.     # update the sprites
  86.     @minimap.update(@bitmap)
  87.     for sprite in @mini_sprites
  88.       sprite.update
  89.     end

  90.     if  @coner != $game_system.minimap_corner
  91.       @coner = $game_system.minimap_corner
  92.       update_viewport
  93.     end   
  94.       
  95.     @viewport.visible = $game_system.minimap_visible
  96.     @bviewport.visible = $game_system.minimap_visible
  97.   end
  98. #--------------------------------------------------------------------------
  99.   def update_viewport
  100.     width = (640 + @size * 4) * @zoom
  101.     height = (480 + @size * 4) * @zoom
  102.     bt = 25
  103.     bl = 39
  104.     br = 39
  105.     bb= 5
  106.     case $game_system.minimap_corner
  107.       when 1
  108.         @viewport.rect.set(0 + bl, 0 + bt, width, height)
  109.         @bviewport.rect.set(0 , 0 , width + bl + br, height + bt + bb)
  110.       when 2
  111.         @viewport.rect.set(640 - width - br, 0 + bt, width, height)
  112.         @bviewport.rect.set(640 - width - br - bl, 0 , width + bl + br, height + bt + bb)
  113.       when 3
  114.         @viewport.rect.set(0 + bl, 480 - height - bb, width, height)
  115.         @bviewport.rect.set(0 , 480 - height - bb - bt , width + bl + br, height + bt + bb)
  116.       when 4
  117.         @viewport.rect.set(640 - width  - br, 480 - height - bb, width, height)        
  118.         @bviewport.rect.set(640 - width - br - bl , 480 - height - bb - bt , width + bl + br, height + bt + bb)
  119.     end
  120.   end  
  121. #---------------------------------------------------------------------------------------
  122. end

  123. #--------------------------------------------------------------------------
  124. #--------------------------------------------------------------------------  
  125. class Game_System
  126.   attr_accessor :minimap_visible      # to set the minimap visible or not
  127.   attr_accessor :minimap_corner      # to set the corner of the minimap 1, 2, 3, 4
  128.   alias initialize_minimap initialize
  129.   def initialize
  130.     @minimap_visible = false
  131.     @minimap_corner = 1
  132.     initialize_minimap
  133.   end
  134. end
  135. #--------------------------------------------------------------------------  
  136. #--------------------------------------------------------------------------  
  137. class Game_Map
  138.   # add by the script mini map of Fanha Giang
  139.   def name
  140.     text = $map_infos[@map_id].clone
  141.     text.gsub!(/\\[Nn]\[([0-9]+)\]/) do
  142.       $game_actors[$1.to_i] != nil ? $game_actors[$1.to_i].name : ""
  143.     end
  144.     return text
  145.   end
  146.   # end of the add by Fanha Giang
  147. end
  148. #--------------------------------------------------------------------------  
  149. #--------------------------------------------------------------------------  
  150. class Scene_Title
  151.   # add by the script mini map of Fanha Giang
  152.   def load_map_infos
  153.     $map_infos = load_data("Data/MapInfos.rxdata")
  154.     for key in $map_infos.keys
  155.       $map_infos[key] = $map_infos[key].name
  156.     end   
  157.   end  
  158.   # end add
  159. end
  160. #--------------------------------------------------------------------------  
  161. #--------------------------------------------------------------------------  
复制代码

  1. #==============================================================================
  2. # * Draw_MiniBitmap ver 1.0
  3. #------------------------------------------------------------------------------
  4. # Fanha Giang, 2005/11/18
  5. #==============================================================================

  6. class Draw_MiniBitmap
  7.   attr_accessor :tileset
  8.   attr_accessor :autotiles
  9.   attr_accessor :map_data
  10.   attr_accessor :priorities
  11.   INDEX  =
  12.   [
  13.     26, 27, 32, 33,    4 , 27, 32, 33,    26,   5, 32, 33,      4,   5, 32, 33,   
  14.     26, 27, 32, 11,    4 , 27, 32, 11,    26,   5, 32, 11,      4,   5, 32, 11,     
  15.     26, 27, 10, 33,     4 , 27, 10, 33,    26,   5, 10, 33,    4,   5, 10, 33,
  16.     26, 27, 10, 11,    4 , 27, 10, 11,    26,   5, 10, 11,      4,   5, 10, 11,   
  17.     24, 25, 30, 31,    24,  5, 30, 31,    24, 25, 30, 11,     24,  5, 30, 11,   
  18.     14, 15, 20, 21,     14, 15, 20, 11,   14, 15, 10, 21,     14, 15, 10, 11,
  19.     28, 29, 34, 35,    28, 29, 10, 35,    4, 29, 34, 35,     4, 29, 10, 35,
  20.     38, 39, 44, 45,     4, 39, 44, 45,     38, 5, 44, 45,      4, 5, 44, 45,
  21.     24, 29, 30, 35,    14, 15, 44, 45,    12, 13, 18 ,19,    12, 13, 18, 11,
  22.     16, 17, 22, 23,     16, 17, 10, 23,   40, 41, 46, 47,    4, 41, 46, 47,
  23.     36, 37, 42, 43,     36,  5, 42, 43,    12, 17, 18, 23,    12, 13, 42, 43,
  24.     36, 41, 42, 47,     16, 17, 46, 47,   12, 17, 42, 47,    0, 1, 6, 7
  25.   ]
  26.   X = [0, 1, 0, 1]
  27.   Y = [0, 0, 1, 1]
  28.   #--------------------------------------------------------------------------
  29.   # ●
  30.   # type:   
  31.   #   0 : the bitmap size = map.size_X *  map.size_Y
  32.   #   1 : the bitmap size = w * h
  33.   #   2 : the bitmap size = w * h, and have all the event inside (not in this version)
  34.   # when you choice type = 0, zoom will fix with 25%
  35.   # w : width  
  36.   # h : height
  37.   # zoom : 1 = 25%, 2 = 50%,
  38.   #--------------------------------------------------------------------------  
  39.   def initialize(type, bitmap, xsize = 20, ysize = 15, zoom = 1)
  40.     @type = type
  41.     @zoom = 0.25
  42.     @xsize = xsize
  43.     @ysize = ysize
  44.     @zoom *= zoom if type != 0
  45.     @bitmap = bitmap
  46.     @size = 32
  47.     @dsize = @size * @zoom
  48.    
  49.     @tileset = nil
  50.     @autotiles = []
  51.     @map_data = nil
  52.     @priorities = nil
  53.    
  54.     @map_draw = Table.new(500, 500)
  55.   end
  56.   #--------------------------------------------------------------------------
  57.   # ●
  58.   #--------------------------------------------------------------------------   
  59.   def draw(ox, oy)
  60.     x1 = (ox < 0) ? 0 : ox
  61.     y1 = (oy < 0) ? 0 : oy
  62.     x2 = (x1 + @xsize > @map_data.xsize) ? @map_data.xsize : x1 + @xsize
  63.     y2 = (y1 + @ysize > @map_data.ysize) ? @map_data.ysize : y1 + @ysize

  64.     for x in x1...x2
  65.       for y in y1...y2
  66.         if @map_draw[x,y] == 0
  67.           pri_data = check_priorities(x,y)
  68.           draw_position(x, y, pri_data, 0, 60)
  69.           @map_draw[x,y] = 1
  70.         end
  71.       end # end for y
  72.     end  # end for x      
  73.   end  
  74. #---------------------------------------------------------------------------------------
  75. # check to be sure that the low priorities Tile is draw frist
  76. #---------------------------------------------------------------------------------------
  77.   def check_priorities(x,y)
  78.     # hash { priorities--> tile_pos }
  79.     myhash = {}
  80.     for i in [0,1,2]
  81.       # position of the tile in Tiles
  82.       tile_pos = @map_data[x,y,i]
  83.       # get the priorities for the tile
  84.       priorities  = @priorities[tile_pos]         
  85.       myhash[priorities * 10 + i] = tile_pos
  86.     end
  87.     return myhash.sort
  88.   end
  89.   #--------------------------------------------------------------------------
  90.   # ●
  91.   #--------------------------------------------------------------------------   
  92.   def draw_position(x, y, pri_data, low, high)
  93.     for layer in [0,1,2]         
  94.       priorities = pri_data[layer][0]
  95.       if priorities< low or priorities >= high
  96.         next layer
  97.       end
  98.       pos = pri_data[layer][1]
  99.       #if it is tile
  100.       if pos >= 384         
  101.         pos  -= 384     
  102.         yy = pos / 8   
  103.         xx = pos % 8   
  104.         src_rect = Rect.new(xx * @size, yy * @size , @size, @size )
  105.         des_rect = Rect.new(x * @dsize, y * @dsize, @dsize , @dsize )
  106.         @bitmap.stretch_blt(des_rect , @tileset, src_rect)
  107.         next layer            
  108.       end
  109.       # if it is autotile
  110.       if pos >= 48 and pos < 384
  111.         # get  autotiles position
  112.         id = pos / 48 - 1
  113.         pos = pos % 48
  114.         for corner in [0,1,2,3]
  115.           h = 4 * pos + corner
  116.           yy = INDEX[h] / 6
  117.           xx = INDEX[h] % 6
  118.           src_rect = Rect.new(xx * @size / 2 , yy * @size / 2  , @size / 2 , @size / 2  )
  119.           des_rect = Rect.new(x * @dsize + X[corner] * @dsize / 2, y * @dsize  + Y[corner] * @dsize / 2 , @dsize / 2, @dsize / 2 )
  120.           @bitmap.stretch_blt(des_rect , @autotiles[id], src_rect)
  121.         end  # end for corner   
  122.       end    # end of if pos >= 48 and pos < 384              
  123.     end  # end for i
  124.   end
  125. #--------------------------------------------------------------------------  
  126. end
复制代码

  1. #==============================================================================
  2. # * Sprite_MiniMap ver 1.0
  3. #------------------------------------------------------------------------------
  4. #  Written by Fanha Giang, [email protected]
  5. #  ==> You can delete all my comments except the copyright and creator info. Thanks.
  6. #==============================================================================
  7. #==============================================================================

  8. class Sprite_MiniMap < Sprite
  9.   #--------------------------------------------------------------------------
  10.   # - Object initialization
  11.   #--------------------------------------------------------------------------
  12.   def initialize(viewport, dsize)
  13.     super(viewport)
  14.     self.x = 0
  15.     self.y = 0
  16.     self.z = 0   
  17.     self.opacity = 255
  18.     @dsize = dsize
  19.   end
  20.   #--------------------------------------------------------------------------
  21.   # - Update view
  22.   #--------------------------------------------------------------------------
  23.   def update(bitmap)
  24.     self.bitmap = bitmap
  25.     sy = $game_map.display_y  * @dsize  / 128
  26.     sx = $game_map.display_x  * @dsize / 128     
  27.     self.src_rect.set(sx - @dsize * 2 , sy - @dsize * 2, (20 + 4) * @dsize, (480 + 4) * @dsize )      
  28.     #self.src_rect.set(sx , sy , 640 * @dsize, 480 * @dsize)        
  29.   end
  30. #---------------------------------------------------------------------------------------
  31. end
复制代码

  1. #==============================================================================
  2. # * Sprite_Mini_Character ver 1.0
  3. #------------------------------------------------------------------------------
  4. # Develop from Sprite_Characterby Fanha Giang, [email protected]
  5. #  ==> You can delete all my comments except the copyright and creator info. Thanks.
  6. #==============================================================================

  7. class Sprite_Mini_Character < RPG::Sprite
  8.   #--------------------------------------------------------------------------
  9.   # - Open instance variable
  10.   #--------------------------------------------------------------------------
  11.   attr_accessor :character                # Character
  12.   #--------------------------------------------------------------------------
  13.   # - Object initialization
  14.   #     viewport  : View port
  15.   #     zoom : zoom of the mini map
  16.   #     type : type of event.   0 = enemy, 1 = allied, 2 = player, 3 = events point
  17.   #     character : Character (Game_Character)
  18.   #--------------------------------------------------------------------------
  19.   def initialize(viewport, zoom, type ,character = nil)
  20.     super(viewport)
  21.     @character = character
  22.     @zoom = zoom
  23.     @type = type

  24.     self.bitmap = RPG::Cache.character("point", 0)
  25.     @cw = self.bitmap.width / 4
  26.     @ch = self.bitmap.height / 4
  27.     self.ox = @cw / 2
  28.     self.oy = @ch
  29.     update
  30.   end
  31.   #--------------------------------------------------------------------------
  32.   # - Frame renewal
  33.   #--------------------------------------------------------------------------
  34.   def update
  35.     super
  36.     if @type > 0
  37.       if (@character.list == nil) or (@character.character_name == "")
  38.         self.visible = false
  39.         return
  40.       end        

  41.       @type = -1
  42.       for i in [email protected]
  43.         if @character.list[i].parameters[0].is_a?(String)
  44.           if @character.list[i].parameters[0] == "event"
  45.             @type = 4
  46.             break
  47.           elsif @character.list[i].parameters[0] == "savepoint"
  48.             @type = 5
  49.             break
  50.           elsif @character.list[i].parameters[0] == "teleport"
  51.             @type = 6
  52.             break
  53.           elsif @character.list[i].parameters[0] == "chest"
  54.             @type = 7
  55.             break
  56.           elsif @character.list[i].parameters[0] == "enemy"
  57.             @type = 1
  58.             break
  59.           elsif @character.list[i].parameters[0] == "allied"
  60.             @type = 2
  61.             break
  62.           end
  63.         end
  64.       end      
  65.     end
  66.    
  67.     # Setting visible state
  68.     self.visible = (not @character.transparent)
  69.     # When graphics is not the character
  70.     if @type >= 4
  71.       sx = 3 * @cw
  72.       sy = (@type % 4) * @ch
  73.     else      
  74.       sx = @type * @cw
  75.       sy = (@character.direction - 2) / 2 * @ch
  76.     end
  77.     self.src_rect.set(sx, sy, @cw, @ch)
  78.     # Setting the coordinate of sprite
  79.     #sy = $game_map.display_y  * 32  / 128
  80.     #sx = $game_map.display_x  * 32 / 128
  81.     sx = 0
  82.     sy = 0
  83.     #self.x = (sx + @character.screen_x) * @zoom
  84.     #self.y = (sy + @character.screen_y) * @zoom
  85.     self.x = (sx + @character.screen_x + 32 * 2) * @zoom
  86.     self.y = (sy + @character.screen_y + 32 * 2) * @zoom
  87.     self.z = 10 - @type
  88.   end
  89. end
复制代码


第四步:在 Scene_Title
在 main 里面, 在 $data_system = load_data("Data/System.rxdata") 下面 +++++

  1.   # load the map infos need for the mini map script by Fanha Giang
  2.   load_map_infos
复制代码

第五步:在 Scene_Map
在 main 里面, 在 @spriteset = Spriteset_Map.new 下面 +++++
  1. #draw the mini map   
  2. @mini_zoom = 25.0/100.0   
  3. @minimap = Spriteset_MiniMap.new(@mini_zoom)
复制代码


在 main 里面, 在 @spriteset.dispose 下面 +++++
  1. # Releasing Mini Map
  2. @minimap.dispose
复制代码


在 update 里面,在 @spriteset.update 下面 +++++
  1. # Renewing mini map sprite set   
  2. @minimap.update
复制代码


在 transfer_player 里面, 在 @spriteset = Spriteset_Map.new 下面+++++
  1. @minimap.dispose       
  2. @minimap = Spriteset_MiniMap.new(@mini_zoom)
复制代码


好了,完毕了。大家有什么问题可以提问。
在说,我不懂怎么改已经 post 的。。。
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
63
在线时间
2 小时
注册时间
2005-10-26
帖子
48
发表于 2005-11-29 02:45:24 | 显示全部楼层
强烈支持原创,头香加拍手
不以风骚惊天下 但求淫荡动世人
回复 支持 反对

使用道具 举报

Lv1.梦旅人

堕落天使

梦石
0
星屑
55
在线时间
73 小时
注册时间
2005-10-22
帖子
337
发表于 2005-11-29 04:18:52 | 显示全部楼层
好东西,比以前的好看多了!
厌世了……
回复 支持 反对

使用道具 举报

Lv1.梦旅人

CHAOS

梦石
0
星屑
64
在线时间
241 小时
注册时间
2005-11-4
帖子
3518

贵宾

发表于 2005-11-29 15:52:18 | 显示全部楼层
可以通过角色在屏幕上的位置来改变小地图的位置,这样小地图就不会挡住角色了.
梦想世界,在你伸手!
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
1666
在线时间
234 小时
注册时间
2005-10-23
帖子
106
发表于 2005-11-29 17:00:03 | 显示全部楼层
在国外论坛见过这个脚本和工程。
回复 支持 反对

使用道具 举报

Lv1.梦旅人

66RPG站长

梦石
0
星屑
54
在线时间
615 小时
注册时间
2005-10-10
帖子
5734

RMVX自由创作大赛亚军第2届短篇游戏比赛亚军第5届短篇游戏比赛冠军

发表于 2005-11-29 17:03:28 | 显示全部楼层
以下引用beiduo于2005-11-29 9:00:03的发言:

在国外论坛见过这个脚本和工程。


嗯,楼主就是外国人。汉语不错吧~
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
1666
在线时间
234 小时
注册时间
2005-10-23
帖子
106
发表于 2005-11-29 17:51:58 | 显示全部楼层
那个三种语言的范例也是楼主做的吧?
回复 支持 反对

使用道具 举报

Lv2.观梦者

梦石
0
星屑
260
在线时间
1373 小时
注册时间
2005-10-16
帖子
5113

贵宾

发表于 2005-11-29 18:18:53 | 显示全部楼层
以下引用beiduo于2005-11-29 9:51:58的发言:

那个三种语言的范例也是楼主做的吧?

恩,很不错的功能,从文件中读……  orz
我只个搬答案的
叔叔我已经当爹了~
婚后闪人了……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-4-19 07:54

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表