找回密码
 注册用户
查看: 228|回复: 0

[RMMV] 【凑数】菜单隐藏HPMP

[复制链接]

88

主题

7

回帖

1277

积分

资深会员

积分
1277
发表于 2024-6-16 18:42:11 | 显示全部楼层 |阅读模式
……
隐藏菜单中的血条蓝条
也许可以作为新手入手写脚本的范例
效果:
QQ截图20240616183828.png




  1. (() => {
  2.     Window_Base.prototype.drawActorSimpleStatus = function(actor, x, y, width) {
  3.         var lineHeight = this.lineHeight();
  4.         var x2 = x + 180;
  5.         var width2 = Math.min(200, width - 180 - this.textPadding());
  6.         this.drawActorName(actor, x, y);
  7.         // this.drawActorLevel(actor, x, y + lineHeight * 1);
  8.         this.drawActorIcons(actor, x, y + lineHeight * 2);
  9.         this.drawActorClass(actor, x2, y);
  10.         //this.drawActorHp(actor, x2, y + lineHeight * 1, width2);
  11.         // this.drawActorMp(actor, x2, y + lineHeight * 2, width2);
  12.     };
  13. })()
复制代码



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册用户

本版积分规则

Archiver|QQ群: 48625831|爱上RPG|哈库纳玛塔塔 |网站地图 Clicky

GMT+8, 2024-10-23 15:24 , Processed in 0.072195 second(s), 22 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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