Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

View Poll Results: How do you like it?
OUTSTANDING! 0 0%
Awesome! 0 0%
Great! 2 100.00%
Good 0 0%
OK... 0 0%
Bad 0 0%
Very bad 0 0%
Horrible 0 0%
Junk 0 0%
TRASH! 0 0%
Voters: 2. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old
("Robby")
Guest
 
Status:
Posts: n/a
Thumbs up 12-18-2008, 03:17 PM

Thanks!
   
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 12-18-2008, 03:19 PM

I know why. It's because Alice measures distance between an object's centers, not it's outward parts. The sword never gets close enough to the knight's center to set off the function, so it doesn't activate the health bar. I'm going to fix it, then I'll explain how I did it, okay?


(')>
   
Reply With Quote
Old
("Robby")
Guest
 
Status:
Posts: n/a
Default 12-18-2008, 03:19 PM

OK!
If your wondering why i'm asking you for everything its because your my only friend on the forums.
Madden is only on because I accepted his req.
   
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 12-18-2008, 03:50 PM

here it is. I included comments, for clarity.
Attached Files
File Type: a2w Knight Training.a2w (1.03 MB, 36 views)


(')>
   
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 12-18-2008, 03:52 PM

I'm fine with helping, honestly. I got help from one of the Alice team members recently on an extremely important project of mine, and ever since then I've been trying to help others on this forum.


(')>
   
Reply With Quote
Old
("Robby")
Guest
 
Status:
Posts: n/a
Default 12-18-2008, 04:09 PM

Thanks!
   
Reply With Quote
Old
("Robby")
Guest
 
Status:
Posts: n/a
Default 12-18-2008, 04:29 PM

I'm stumped...
I cant figure out how to grab the "swordTrigger"
   
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 12-18-2008, 04:40 PM

setIts "isShowing" back to true by clicking on the down arrow right after the word "false" next to it. The swordTrigger is just a bump the I shrunk and renamed, then stuck about in the middle of the sword. It acts as a distance measure-er for the sword's blade. If the bump get's too close to the knight, it means the sword blade is too close to the knight, which means the knight has been hit.

Actually, if I recall correctly, I used this code in my knightGame world as well. Check that out to see how I did the health bar and death scenes. Also, there should be a block event in there, which makes the knight invincible as long as you hold the button down. Check that out too.


(')>

Last edited by x2495iiii; 12-18-2008 at 04:42 PM.
   
Reply With Quote
Old
("Robby")
Guest
 
Status:
Posts: n/a
Default 12-18-2008, 04:41 PM

kk thanks
   
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 12-18-2008, 04:45 PM

I'm gonna post this again, since the edits don't register on the forum index thingy.


Actually, if I recall correctly, I used this code in my knightGame world as well. Check that out to see how I did the health bar and death scenes. Also, there should be a block event in there, which makes the knight invincible as long as you hold the button down. Check that out too.


(')>
   
Reply With Quote
Reply

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