Discussions

SmileBASIC Community

JυΙιапHipster12

03/18/2016 1:17 PM ·Spoilers

Open Closed

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! :]

Advertisement

Comment

This post has no comments.

  • 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.

    Yeahs2
    Played
  • hey brandon, i needed to know that too, so thanks (;

    Yeahs1
  • Brandon would you happen to have any pictures of the script or program whatever its called :D

    Yeahs0
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Post ID: 3DB-NBL7-BXM-ZM9A-WW8-RYBT

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: