Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
4 Ways to Count Health
Old
JAA
Member
 
JAA's Avatar
 
Status: Offline
Posts: 31
Join Date: Jul 2010
Default 4 Ways to Count Health - 07-12-2010, 04:37 AM

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?
Attached Files
File Type: a2w 4_Health_Counters.a2w (197.2 KB, 154 views)


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 01:11 PM. Reason: Updated file after incorporating DensetsuNoKaboom's idea.
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 07-12-2010, 05:28 AM

Nice. Thanks for sharing.
   
Reply With Quote
Your Welcome
Old
JAA
Member
 
JAA's Avatar
 
Status: Offline
Posts: 31
Join Date: Jul 2010
Default Your Welcome - 07-12-2010, 08:25 AM

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!
   
Reply With Quote
Old
DensetsuNoKaboom
Senior Member
 
DensetsuNoKaboom's Avatar
 
Status: Offline
Posts: 1,187
Join Date: May 2010
Location: e4eaf2
Default 07-12-2010, 12:15 PM

You're welcome!!
I think you should make it so that the color changes and the health decreasing on the number and the bar happen at the same time.


Thank you for taking the time to read this signature. This signature loves you.
   
Reply With Quote
Good Idea
Old
JAA
Member
 
JAA's Avatar
 
Status: Offline
Posts: 31
Join Date: Jul 2010
Default Good Idea - 07-12-2010, 01:03 PM

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!

Last edited by JAA; 07-12-2010 at 01:09 PM.
   
Reply With Quote
Old
Zack Strife
Senior Member
 
Zack Strife's Avatar
 
Status: Offline
Posts: 133
Join Date: Dec 2009
Location: U.S.
Default 08-02-2010, 09:04 PM

Is it ok if i make some changes to your health bar for my game


ファイナルファンターVII
   
Reply With Quote
Old
KaswanX
Junior Member
 
KaswanX's Avatar
 
Status: Offline
Posts: 4
Join Date: Oct 2011
Default 10-25-2011, 06:05 PM

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.
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 10-26-2011, 03:01 AM

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.
Attached Files
File Type: a2w d.a2w (244.5 KB, 9 views)

Last edited by Mr Kidnapper; 10-26-2011 at 03:04 AM.
   
Reply With Quote
Thank You
Old
ICS13WW
Junior Member
 
Status: Offline
Posts: 1
Join Date: Oct 2011
Default Thank You - 10-30-2011, 10:52 AM

This was exactly what I have been needing for my RPG, I couldn't thank you enough
   
Reply With Quote
Old
zero00
Senior Member
 
zero00's Avatar
 
Status: Offline
Posts: 300
Join Date: Oct 2009
Default 11-06-2011, 01:22 AM

Probably too late to make a difference, but I made a health bar system sometime ago. I don't know how useful it really is though...

Here it is!


==============Some of my Games and Ideas===========

Sky Warrior: http://www.alice.org/community/showthread.php?t=6291
Health Bars: http://www.alice.org/community/showthread.php?p=36968#post36968
Sky Warrior: Dual Force: http://www.alice.org/community/showthread.php?t=7174

Want to make your own space game? http://www.alice.org/community/showthread.php?t=6389
   
Reply With Quote
Reply

Tags
counter, damage, health, random

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.