This site requires JavaScript, please enable it in your browser!
Greenfoot back
Leres75
Leres75 wrote ...

2016/2/25

Stop Showing text

Leres75 Leres75

2016/2/25

#
Hi I'm trying to do a health indicator that shows above the given objekt I tried this:
getWorld().showText("Health: " + health + "%", getX(), getY() + 10);
but all it does is create a long line of text (my charakter is moving) my question: How do I delete the expired texts?
You need to login to post a reply.