トピック
JυΙιап Hipster12

Damage & Health Bar

Hey guys I was wondering if anyone knows how to add a health bar or how to take damage and make enemies that take damage and if you touch them your health gets lower. If anybody knows please let me know or please send me a picture programming for it. Thanks! :]
1そうだね
未プレイ
返信[1]
親投稿
Brandon niorg2606
Have two variables to store the health ints. Then, write an IF statement to check if the player's attack hits the enemy. If so, change the enemy's health to it minus itself. The GUI can be a FOR statement that prints out many '■'s at a certain location.
2そうだね
プレイ済み
返信[2]
親投稿
Nicky G.M. cooltyler1234
hey brandon, i needed to know that too, so thanks (;
1そうだね
未プレイ
返信[3]
親投稿
JυΙιап Hipster12
Brandon would you happen to have any pictures of the script or program whatever its called :D
0そうだね
プレイ済み