Quote:
Originally Posted by scarlet
1. How do I copy code from one program to another. I wrote a world level method "jump", and I wanna use it in an another program.
|
There is probably an easier way, but one way may be to copy your method to one of the gallery classes, export that object/class from the File menu, import it into your new program, and copy the method to the world. However, I have never tried that so I can't assure you that it will work.
Quote:
Originally Posted by scarlet
2. How do I check if one object makes contact with another object? I know there is a "within distance of" function but that only works with centers. I want any part of an object.
|
There have been lots of postings on collision detection. When the Search feature is restored, you will be able to read them.
Quote:
Originally Posted by scarlet
3. How do I break out of loops?
|
Unlike in Java, as far as I know, there is no break command. Probably the best you can do is to cause the conditional clause to return false the next time it is tested.
Quote:
Originally Posted by scarlet
4. Can I create and delete objects at run time?
|
Unfortunately, the answer to this question is no.
Dick Baldwin
Free Alice tutorials:
http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials:
http://www.dickbaldwin.com/toc.htm