rpgmakermv吧 关注:21,712贴子:68,496
  • 5回复贴,共1
求助

【求助】rpgmakermv定位角色素材位置的代码

只看楼主收藏回复

我想要做一个选项窗口能跟随角色的插件,但是现在是找不到对应的角色素材位置
目前是这样的如果有其它问题也麻烦了
Scene_Battle.prototype.startActorCommandSelection = function() {
this._statusWindow.show();
this._statusWindow.select(BattleManager.actor());
this._partyCommandWindow.close();
this._actorCommandWindow.show();
this._actorCommandWindow.setup(BattleManager.actor());
};
const spriteset = SceneManager._scene._spriteset
const actorSprite = spriteset(BattleManager.actor())
this._actorCommandWindow.x = $gamePlayer.x
this._actorCommandWindow.y = $gamePlayer.y


来自Android客户端1楼2024-06-29 22:14回复
    搜索-----速战 rpgmaker------,这个系列视频的UP主在做UI类的教学,
    在---如何自定义窗口背景----这一节里提到了更改窗口位置。

    RpgMaker Mv 创建自定义选项菜单以及拓展开始界面菜单_rpgmaker mv 菜单制作-CSDN博客
    这里的内容不知道是不是可以。

    YEP_OptionsCore.js这个不知道可不可以,没用过。
    水心若然介绍的YEP.196 - Event Step Animation Options这个好像是跟随事件的,而不是跟随玩家的,而且这个选项也不知道是不是事件指令的选项。。如果是的话,让一个透明事件跟随玩家,再让这个插件跟随事件,或许就可以了呢。


    IP属地:广东2楼2024-06-30 01:38
    收起回复
      2026-01-11 12:03:23
      广告
      不感兴趣
      开通SVIP免广告
      $gamePlayer.screenX()
      $gamePlayer.screenY()


      IP属地:河南3楼2024-07-01 09:27
      收起回复