I made an Alice world that demonstrates 4 different Health counters.
The first is a health bar.
Press [up] to make its health decrease.
The second is a number.
Press [right] to make its health decrease.
The third is a bloody camera screen.
Press [left] to make its health decrease.
The fourth is a print out of health.
Press [down] to make its health decrease.
Alright everybody, tell me what you think and feel free to use this in your games.
Oh, and originally I made it so you could click the top three objects but for some reason clicking objects stopped working. Does anyone know why this would happen?
Out of the 7 schools I applied for, Carnegie Mellon is the only one that didn't accept me. They wait listed me, but I hold no grudges. Alice is awesome and Claytronics , om*g. Some one should figure out how to put these two projects together. It would revolutionize not only the gaming industry, but the world... scratch that, the Universe... scratch that, the Multiverse!
Last edited by JAA; 07-12-2010 at 12:11 PM.
Reason: Updated file after incorporating DensetsuNoKaboom's idea.
No problem, but if anyone uses this in their game please give me credit. Thank you.
Also, thanks to DensetsuNoKaboom for teaching me how to re-size an object along one axis. This was crucial in making the Health bar work.
Out of the 7 schools I applied for, Carnegie Mellon is the only one that didn't accept me. They wait listed me, but I hold no grudges. Alice is awesome and Claytronics , om*g. Some one should figure out how to put these two projects together. It would revolutionize not only the gaming industry, but the world... scratch that, the Universe... scratch that, the Multiverse!
Okay, instead of there being a little pause while the color changes. I'll get right on that and I'll change the file.
Okay what I did is make it so the color instantly changes. There really wasn't a reason to make it fade. I just like to make things move slowly while I'm making the world so I can see everything that happens and fix things that don't happen correctly. I changed the file to the new version.
Out of the 7 schools I applied for, Carnegie Mellon is the only one that didn't accept me. They wait listed me, but I hold no grudges. Alice is awesome and Claytronics , om*g. Some one should figure out how to put these two projects together. It would revolutionize not only the gaming industry, but the world... scratch that, the Universe... scratch that, the Multiverse!
Thanks for sharing. If you don't mind I'm going to use this, I have a health thing going already but it's using individual boxes, and I can't figure out how to make all those boxes one object.
Mr. Kidnapper has been trying to figure out how to make a health bar that can go both forwards and backwards. I've more or less got it but something's wrong with the while loop. If it looks overly complicated, that's because it's intended to work in all situations.
Edit: You don't make all those boxes one object. That more or less denies Alice's identity as a 3D animation tool. Alice is not a 3D CAD program, however what you probably mean is to make a list of object type. Create a variable that inputs objects, and make it a list. It's more or less a chain-link of variables where order is important.
Last edited by Mr Kidnapper; 10-26-2011 at 02:04 AM.