楼主: Sion

[RMVA发布] VA鼠标脚本 6/9 更新 v2.32 by Sion

 火 [复制链接]
梦石
0
星屑
50
在线时间
381 小时
注册时间
2012-8-13
回帖
103
发表于 2013-3-27 11:06:15 | 显示全部楼层
tyq4590 发表于 2013-3-25 22:37
1.Graphics\Pictures\里放入和‘module ExGarally’下设定的文件名相同的图片(放一张就可以测试了),比 ...

多谢LZ花时间帮我研究画廊脚本冲突的问题!我刚刚下了1.3f并且在一个纯净的新建工程上测试了一下,结果还是会在画廊脚本报错跳出(提示的问题和之前一模一样,还是‘cursor_fix’)。我试了把全鼠标放在画廊上面,也试着放在画廊下面,不过运行起来没有任何区别。不知道是否是我还有哪里操作有问题?

点评

附件放错了,这次应该可以了  发表于 2013-3-27 11:53
回复

使用道具 举报

梦石
0
星屑
50
在线时间
47 小时
注册时间
2013-2-1
回帖
108
发表于 2013-3-29 19:22:40 | 显示全部楼层
呃~话说用了这脚本之后如果按下xxx的……
回复

使用道具 举报

梦石
0
星屑
50
在线时间
47 小时
注册时间
2013-2-1
回帖
108
发表于 2013-3-29 19:33:40 | 显示全部楼层
嗯……用了这脚本鼠标移出游戏界面外之后就会没掉,也就是说用了这脚本就不能操作其它的东东,那么如果在不能撤退的战斗中玩家想退出或者玩家想边玩游戏边弄其它东东的话就……那样可能引起玩家的反感啊。。。而且用了这脚本以后推箱子就……

点评

哦找到了  发表于 2013-4-3 16:54
回复

使用道具 举报

梦石
0
星屑
50
在线时间
47 小时
注册时间
2013-2-1
回帖
108
发表于 2013-3-29 19:37:19 | 显示全部楼层
另外有时候明明可以走到的地方因为走远了屏幕内没有通过那边的路但那条路的确存在时就会无法过去了-_-
回复

使用道具 举报

梦石
0
星屑
50
在线时间
47 小时
注册时间
2013-2-1
回帖
108
发表于 2013-3-29 19:57:06 | 显示全部楼层
我反馈的貌似不是BUG……而是……不足之处

点评

↓ - -  发表于 2013-4-3 16:53
是你自己的不為足道的伸手  发表于 2013-4-1 11:12
回复

使用道具 举报

梦石
0
星屑
543
在线时间
10 小时
注册时间
2013-3-16
回帖
1
发表于 2013-3-29 20:43:30 | 显示全部楼层
好赞顶!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!{:2_284:}
回复

使用道具 举报

梦石
0
星屑
70
在线时间
1083 小时
注册时间
2013-3-29
回帖
2158
发表于 2013-4-2 16:18:11 | 显示全部楼层
不能强制退出这点希望楼主大人改善一下

点评

找到了  发表于 2013-4-3 16:52
@Sion 在哪一行设定来着  发表于 2013-4-3 16:51
可以在脚本里设置不锁定。就算锁定了,Alt + Tab 可以切换出去;Alt + F4 也能直接把它挂掉.  发表于 2013-4-3 14:31
就是鼠标只能在游戏内,窗口的那个关闭最小化放大那里都弄不了了= =  发表于 2013-4-2 21:01
什么意思...?  发表于 2013-4-2 20:33
回复

使用道具 举报

z963904783 该用户已被删除
发表于 2013-4-4 22:03:31 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

梦石
0
星屑
50
在线时间
381 小时
注册时间
2012-8-13
回帖
103
发表于 2013-4-6 19:26:16 | 显示全部楼层
辛苦了!不知道鼠标操作的那个8方行走补丁是否可以考虑支持8方行走图?就是普遍使用的行走图+“_8D”来显示8方向的那个功能?

这个是铅笔写的键盘操作的8D行走图脚本,希望Sion可以参考一下:

[pre lang="ruby" line="1"]#===============================================================================
#  八方向行走
#    by:铅笔描绘的思念
#    在Characters里添加八方向行走图(命名规范:在四方向上的基础上+_8D)
#    行走动画就为8方向的。否则就会原4方向的代替8方向的。
#
#    八方向:数字键盘方向对应的数字
#     7   8   9
#      ↖ ↑ ↗
#     4← 0 →6
#      ↙ ↓ ↘
#     1   2   3
#===============================================================================
#==============================================================================
# ■ Game_Player
#==============================================================================
class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # ● 八方向移动
  #    d    :1、3、7、9 对应小键盘的四个方向
  #--------------------------------------------------------------------------
  def move_eight_dir(d)
    move_diagonal(d + 3,2) if d == 1 || d == 3
    move_diagonal(d - 3,8) if d == 7 || d == 9
  end
  #--------------------------------------------------------------------------
  # ● 八方向按键
  #--------------------------------------------------------------------------
  def move_by_input
    return if !movable? || $game_map.interpreter.running?
    case Input.dir8
     when 1,3,7,9;  move_eight_dir(Input.dir8)
     when 2,4,6,8;  move_straight(Input.dir4)
    end
  end
  #--------------------------------------------------------------------------
  # ● 斜向移动
  #     horz : 横向(4 or 6)
  #     vert : 纵向(2 or 8)
  #--------------------------------------------------------------------------
  def move_diagonal(horz, vert)
    @followers.move if diagonal_passable?(@x, @y, horz, vert)
    @move_succeed = diagonal_passable?(x, y, horz, vert)
    last_steps = $game_party.steps
    if @move_succeed
      @x = $game_map.round_x_with_direction(@x, horz)
      @y = $game_map.round_y_with_direction(@y, vert)
      @real_x = $game_map.x_with_direction(@x, reverse_dir(horz))
      @real_y = $game_map.y_with_direction(@y, reverse_dir(vert))
      increase_steps
      # 八方向移动正确步数计算
      if $game_party.steps - last_steps == 2
        $game_party.decrease_steps
      end
    end
    set_direction(2) if horz == 4 && vert == 2
    set_direction(4) if horz == 4 && vert == 8
    set_direction(6) if horz == 6 && vert == 2
    set_direction(8) if horz == 6 && vert == 8
  end
end
#==============================================================================
# ■ Game_Party
#==============================================================================
class Game_Party < Game_Unit
  def decrease_steps
    @steps -= 1
  end
end
#==============================================================================
# ■ Sprite_Character
#==============================================================================
class Sprite_Character < Sprite_Base
  #--------------------------------------------------------------------------
  # ● 更新源位图(Source Bitmap)
  #--------------------------------------------------------------------------
  alias update_bitmap_8dir update_bitmap
  def update_bitmap
    update_bitmap_8dir
    if @tile_id > 0            
      @enable_slant = false
      return
    end
    unless graphic_changed?
     @enable_slant = true
   end

    begin
      @character_name_slant = "#{@character_name}_8D"
      Cache.character(@character_name_slant)  
    rescue
      @enable_slant = false
    end
  end
  #--------------------------------------------------------------------------
  # ● 更新源矩形
  #--------------------------------------------------------------------------
  alias update_src_rect_8dir update_src_rect  
  def update_src_rect
    return if @tile_id > 0      
    if @enable_slant && @character != $game_map.events
      update_src_rect_for_slant
    else
      update_src_rect_8dir
    end
  end
  #--------------------------------------------------------------------------
  # ● 更新斜方向传送矩形
  #--------------------------------------------------------------------------
  def update_src_rect_for_slant
    index = @character.character_index
    pattern = @character.pattern < 3 ? @character.pattern : 1
    sx = (index % 4 * 3 + pattern) * @cw
    case Input.dir8 % 2
    when 0  # 上下左右
      if @last_slant
        self.bitmap = Cache.character(@character_name)
        @last_slant = false
      end
    else   
      unless @last_slant
        self.bitmap = Cache.character(@character_name_slant)
        @last_slant = true
      end
    end
      sy = (index / 4 * 4 + (@character.direction - 2) / 2) * @ch
    self.src_rect.set(sx, sy, @cw, @ch)
  end
end
[/pre]

点评

之前没看到这楼- -b  发表于 2013-4-12 14:18
这个脚本里面,把def move_by_input 到下一个 end 还有它们之间的内容都删掉就可以了。  发表于 2013-4-12 14:17
回复

使用道具 举报

梦石
0
星屑
70
在线时间
1083 小时
注册时间
2013-3-29
回帖
2158
发表于 2013-4-7 15:45:22 | 显示全部楼层
鼠标的图标怎么变成弓箭了= =问问那个图标要怎么变更

点评

你应该仔细阅读使用说明.  发表于 2013-4-7 20:17
回复

使用道具 举报

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

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部