Alice Community  

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

Reply
 
Thread Tools Display Modes
A solution for all
Old
naseem
Guest
 
Status:
Posts: n/a
Thumbs up A solution for all - 08-01-2009, 05:57 AM

If you want to make an object like a wind blade turn arround during the play without stoping... just put while true ( true bar must be empty) and appling your order.

If you want for all together like all dancers dance at the same time...
first you should order each object to make the move and when you click play they do the move one after another than you put each object move alone in a DO IN ORDER bar (look down to find it) then you put them all in a DO TOGETHER bar. and when you play it all objects do the same thing at the same time.

Or if you want to change the place for an object and it does have to appear moving ...
you can just make 2 of the same object and you just make one visible and the other unvisible and then swith them (if you don't know how to make an object unvisible just ask

And if anyone has a question just ask or a solution for that question just send it ...
   
Reply With Quote
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default 08-01-2009, 11:33 AM

The first paragraph is mostly correct.
The "for all together" tag does the second paragraph much simpler.
The third paragraph leads to big file sizes. And also that can be done with poses for smoother animation.

These are not solutions for all.
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 08-01-2009, 11:29 PM

Here's a tip that I can add to the list (ironically, it has to do with lists ).

If you want a method to go through a list of objects, numbers, etc. and do something to an object that meets certain criteria then here's the pseudo code for that:

Execute a loop where I loop the size of the list
If the chosen action is true, false, etc. against the item [index] from the list
then do the chosen action against that item in the list.
end
end

I've found this piece of info very useful and I often use it both in Alice and Lua.
   
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 08-02-2009, 01:24 AM

I think I've actually done a world with the method Niteshifter describes, in which a list of words is checked against a list of definitions for a vocabulary game I made for my English Class. (I might be misunderstanding his method, though.)


(')>
   
Reply With Quote
Old
naseem
Guest
 
Status:
Posts: n/a
Talking 08-03-2009, 07:41 AM

Ok the third one is not complacated just select the object and put properties and than you put is showing false... Just like that...
for example you want the bird to go to his nest while the camera is showing the bear bathing for example. So rather than ordering the bird to move to the nest and than adjusting his position. You can make 2 birds corectly positioned one disapears while the other appears.
it is not complacated just simple like that.
Thank you...
   
Reply With Quote
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default 08-03-2009, 11:50 AM

That is a way to do it, yes. It is not about complexity, it is about efficiency.

If you bothered to orient the bird in the nest you can drop a dummy on it and move it back to the original position. the command Bird set point of view to dummy duration 0 does the EXACT same thing, without increasing your file size. It is good to offer solutions but there are better ways then what you are suggesting.

Last edited by Veryuhbull; 08-03-2009 at 11:54 AM.
   
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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.