Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Duplicating and Instantiating a UI Image next to the previous.

$
0
0
[1]: /storage/temp/74130-screen-shot-2016-07-15-at-25135-pm.png Hello Everyone. I'm trying to implement ye ole' heart heath UI in my game and can't quite figure out what I need to do in order to instantiate the hearts, right next to each other, as shown in here. I was thinking of cheating it and just changing out the sprite to use several different images depending on health percentage. However at some point I will allow them to gain more max health depending on their level etc.. So I decided to go with the instantiate route. Just a little frozen at this point trying to figure it out.

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>