Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 03-06-2011, 03:01 PM

Quote:
Originally Posted by jediaction View Post
I know that, thats why I said "Valued", but there is no really real way to know the size other than that, like size = 1
And I'm saying that's wrong. The object's dimensions (length, width, or height) can be seen with other methods besides the one listed above, and can be set to whatever you want with this formula:

Object resize (1 / (object's dimension)) * (whatever size you want it to be)

Size can be manipulated or monitored as easily as any other dynamic property in Alice, like distance between objects or spatial relation.

Last edited by x2495iiii; 03-06-2011 at 04:30 PM.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 03-06-2011, 03:50 PM

really? ok


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
reuben2011
Senior Member
 
reuben2011's Avatar
 
Status: Offline
Posts: 489
Join Date: Sep 2009
Location: Hawaii
Default 03-06-2011, 05:00 PM

or you can do something like set a certain variable to the width and watch the variable while the world is running. Then you can see the actual value of the object's width/height/length/whatever.


Projects
-Escape the Kitchen
-That ninja animation
-Hill Collision

Upcoming Projects
-Some penguin adventure game?
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 03-06-2011, 05:08 PM

Or you can use the Alice ruler that was made by DensetsuNoKaboom (here). Just import it as a billboard.
Attached Images
File Type: jpg Alice Ruler.JPG (15.9 KB, 24 views)


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬

Last edited by arty-fishL; 03-06-2011 at 05:10 PM.
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,145
Join Date: Dec 2010
Location: N/A
Default 03-06-2011, 09:11 PM

This is kind of off topic, but you said that you are trying to make a health bar. If you want to skip the hassle of making your own, you can download mine here.
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 03-06-2011, 09:12 PM

Quote:
Originally Posted by arty-fishL View Post
Or you can use the Alice ruler that was made by DensetsuNoKaboom (here). Just import it as a billboard.
i found that x2495iiii method is the easiest and less time consuming method so far
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 03-06-2011, 09:13 PM

Quote:
Originally Posted by David B View Post
This is kind of off topic, but you said that you are trying to make a health bar. If you want to skip the hassle of making your own, you can download mine here.
well thanks for the offer, but i already got mine to work, it was just the uncertaintity of know the actual size of an object, but once i figured out how to find the size, i was able to make my method pretty perfect for a health bar, but thank you anyways sir
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,145
Join Date: Dec 2010
Location: N/A
Default 03-06-2011, 09:17 PM

Quote:
Originally Posted by David B View Post
This is kind of off topic, but you said that you are trying to make a health bar. If you want to skip the hassle of making your own, you can download mine here.
Quote:
Originally Posted by sfunk View Post
well thanks for the offer, but i already got mine to work, it was just the uncertaintity of know the actual size of an object, but once i figured out how to find the size, i was able to make my method pretty perfect for a health bar, but thank you anyways sir
Okay then. I just thought I would extend you the offer.

P.S.: Wow! You responded quickly!
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 03-06-2011, 09:52 PM

Quote:
Originally Posted by David B View Post
Okay then. I just thought I would extend you the offer.

P.S.: Wow! You responded quickly!
i just happened to log on at the right time, between doing calculus and typing an english paper! XD
   
Reply With Quote
Old
David B
Senior Member
 
David B's Avatar
 
Status: Offline
Posts: 1,145
Join Date: Dec 2010
Location: N/A
Default 03-06-2011, 09:58 PM

Quote:
Originally Posted by sfunk View Post
i just happened to log on at the right time, between doing calculus and typing an english paper! XD
Ahh. Kind of stinks to have to need to do your homework over the weekend. I hope you get an A+ on both!
   
Reply With Quote
Reply


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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.