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

Project1

 找回密码
 注册会员
搜索
查看: 363|回复: 0
打印 上一主题 下一主题

[有事请教] class Spriteset_Map

[复制链接]

Lv4.逐梦者

梦石
0
星屑
6301
在线时间
1104 小时
注册时间
2015-8-15
帖子
658
跳转到指定楼层
1
发表于 2023-11-14 17:20:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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

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

x
本帖最后由 金芒芒 于 2023-11-14 17:22 编辑

def update_player_bar
hp=($scene.team_groups[@group-1]@character.hp * 100)/($scene.team_groups[@group-1]@character.maxhp): ($scene.enermy_groups[@group-1]@character.hp * 100)/($scene.enermy_groups[@group-1]@character.maxhp)
$game_screen.pictures[19-28].show("hp.png",0,35,435,hp_p,100,255,0)
血液= [24,25,26,27,28][19,20,21,22,23]
x= 115:615
for i in 血液
$game_screen.pictures.show("蓝条", 0,
x, 670, 90, 100, 255, 0)

x+=87

end
刷新pictures[24,25,26,27,28]:[19,20,21,22,23]
在游戏开关[5]=真的时候显示
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

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

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

GMT+8, 2024-4-30 15:46

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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