Hi all, this is my first prototype project: 1) Getting Power-1 -> Melee 2) Lost live (Health bar) 3) Kill 1 enemy 4) Get 1 Live (Health bar) 5) Get Power-2 -> Knife 6) Kill enemy 2 7) Get Power Off 8) Get 1 Live (Health bar) Character Map: Warning: Using send messages to killing enemies on Melee: (Using send messages to kill enemies with Melee) Be very careful with killing enemies using Send and Receive Messages! 1) On Pressed Button Attack Melee: if Collide with Enemy_1 -> Send Msg_1 2) On Pressed Button Attack Melee: if Collide with Enemy_2 -> Send Msg_2 DO NOT COPY THE NODES OF THE MESSAGES! if you copy the message nodes you always receive the message from the source node to the destination! (3 hours to find out) All the best! Mauro
How were you able to create a Health Bar? I've tried several videos including one from Buildbox (Zach's video) and for the life of me cannot get anything to work. I have no issues tracking the health of my character. But just can't display the health on the screen.
I use in some games a health bar and you can even refill it. It also worked without problems in Buildbox 2.3.* . I even added a life ad ( with action item ) Chipy: Android: https://play.google.com/store/apps/details?id=com.Hoogames.chipytheSquirrel iOS: https://apps.apple.com/us/app/chipy-the-squirrel/id1489089460
Hello, I can explain it to you: IN BB3: A) Using Asset Library Create a Triangle that will be the enemy. B) Using Asset Library a Rectangle that will be the Character. You must use the bbassets from Template: Intellstelar Strike <-- Here is the solution. 1. Go to UI and Drag&Drop Health.bbasset (This is the Health bar) 2. Drag Enemy_S.bbasset to World UI. (It will create Enemy Rocket Object) 3. Drag Player.bbasset to World UI. (It will create Player Ship Object) a) Go to PlayerShip: 1. Copy Send (Health Bar) Node to your Character. 2. Copy Health Node to your Character. Those are the lives (3 by default but you can customize it if you want. But if you customize it, you will be customize the Health bar too.) 3. On Enemy: if Collide (Player) (Be carefull, you must use this Node) --> Damage (I attach you screenshot) Attach you .bbdoc example https://drive.google.com/drive/folders/1I6sIVlRw3Pt9yHAk9wOh-VfM-7xbkivL?usp=sharing You must look at the Player and the enemy. You can Remove enemy Ship 1, Enemy Rocket 1 and the Player Ship after it works! All the best! Mauro