View Full Version : display a changing number in the world?
mcarling
01-18-2007, 04:04 PM
My students are creating games in which they would like to keep track of points. In order to display the pointTotal, we need to be able to display a number data type in a speech bubble, 3D Text, or some other visible manner. The problem seems to be that these objects require strings and our pointTotal is a number. Any ideas would be appreciated.
bosco312
01-18-2007, 05:33 PM
This won't be much help, but for what its worth, if you can't find a way to convert a number to a string, etc., you may be able to use some small object (carrots, or a small box, etc.) to do one of two things...the easy thing would be to show a group of objects to represent the number (i.e. four carrots to represent a score of four). You might be able to copy objects or change the 'is showing' property to make this happen. The other thing would be to try to use a group of 7 enlongated object (again, like a carrot) and arrange them to display a number the same way a digital clock would with LED's. Of course, these 'solutions' may be harder than they are worth too, but I figured it wouldn't hurt to throw in my $.02. Good luck. I hope things work out for you.
lanceA
01-19-2007, 12:18 PM
Click on the SEARCH button at the top of your display and enter score - there are several posts on the subject which can help you, including some games which you can download and view the code.