楼主: 过眼云烟

[原创发布] 【插件】仿空轨地图人物气球

[复制链接]
梦石
0
星屑
10274
在线时间
1919 小时
注册时间
2020-1-2
回帖
1043
发表于 2021-3-19 23:16:43 | 显示全部楼层
这个插件是32X32的 MV自带冒泡图标事48X48   如果要修改用记事本打开插件Ctrl + F 搜下面代码将所哦与32改成48(我自己测试了一下没什么问题)反正我不懂代码这些
  1. Sprite_Character.prototype.start_auto_balloon = function() {
  2.     this._flag = 1;
  3.     this._balloon_id = this.character._auto_balloon;
  4.     this._ry = (this.character._auto_balloon - 1) * 32;
  5. }

  6. Sprite_Character.prototype.set_rect = function(index) {
  7.     this._auto_balloon_sprite.setFrame(32 * index, this._ry, 32, 32);
  8.     if (displayAutoBalloon){
  9.       this._p_balloon_sprite.setFrame(32 * index, this._ry, 32, 32);
  10.         }
  11. }
复制代码


修改显示速度和刷新速度  已经用记事本打开插件的话拉到最底下   修改这里的10(显示速度)数值越小速度越快 理想8左右
下面2就是刷新速度  越小速度越快  我自己测试一下5到8左右  你们自己也测试一下调出自己想要的效果
  1.    if (this._flag == 10){
  2.       this._flag = 0;
  3.           if(this._bx == 2){
  4.                   this._bx = 0;
  5.           }
  6.           else{
  7.                   this._bx++;
  8.           }
  9.         }
  10.     else{
  11.       this._flag++;
  12.         }
  13.         this.set_rect(this._bx);
  14. }
复制代码
B站没人气的夏目漠漠,直播间:5378938实用插件教程点击红字传送
回复 2 0

使用道具 举报

梦石
0
星屑
393
在线时间
75 小时
注册时间
2023-12-24
回帖
2
发表于 2024-3-27 22:11:11 | 显示全部楼层
楼主大大想请问下,这个气泡可以在玩家头上显示吗?
回复

使用道具 举报

梦石
0
星屑
952
在线时间
72 小时
注册时间
2022-11-3
回帖
158
发表于 2024-4-2 04:17:59 | 显示全部楼层
感谢大佬分享
回复

使用道具 举报

梦石
0
星屑
627
在线时间
117 小时
注册时间
2025-7-2
回帖
23
发表于 2025-7-10 17:27:37 | 显示全部楼层
请问这个MZ能用吗
回复

使用道具 举报

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

本版积分规则

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

在本版发帖返回顶部