PDA

View Full Version : Hello, and list of things I need help with...


Veryuhbull
07-05-2009, 06:26 PM
Hi. I got alice a week ago and I enjoy it very much. I am really goood at it compared to anyone else in my general computer science class. After a week, decided I would join this community. I have read some threads here and am grateful for all the tips I picked up. But I still am confused on a few of the harder things.

Please do not feel like you have to answer all of these. Any help on any of them would be nice.

-collision detection. (I have a fundemental idea but it would require me to place hundreds of individual pooints and program each of them.) Has anyone gotten a good system down?
EDIT: figured this one out.
-(similar to the above) Is it possible to have a series of items programmed to all each to respond the same way individually when hit w/o having to make a huge if else list? (say program one ball once then copy a hundred point balls. )
EDIT: figured this one out.
-key mapping help. I am trying to have a ball rolling (really a ball within a ball to make an illusion of a rolling ball) but if both up and right arrows are pressed the two balls disengage. I tried reading other topics on blocking event key commands but none helped me. EDIT: figured this one out.
-How do I create new objects (or remodel existing ones) and save them so I can use them in another world?
-Also for some reason my Alice world errors when I try to plays sounds or music. Any ideas why?
EDIT: figured this one out.

Sorry for the big request list. I love this program and would like to make amazing games/movies. Thanks.

EDIT:
Here is the first movie I ever made. It is not bad , I swear.

Veryuhbull
07-06-2009, 02:22 PM
Anybody on that can answer any of my questions?

Here is an example world I made today. I would like to have the character's health go down when he passes through any of the fire animations. I can program each on its own but as you can see, I am trying to get them to be a list of objects performing the same function and it is not working. I had a massive error code. Also I was trying to work with collision detection using rotated ground panals and it did not work, so I erased the commands.

x2495iiii
07-16-2009, 10:51 PM
I'm very sorry I haven't gotten back to you, I've been busy with many things (one of which is a fairly advanced game for Alice 2.2). I'm surprised Dr. Jim hasn't helped you out yet, though. I'm reviewing your worlds now.

As for your question (there's only one you haven't figured out, it looks like), to save an object you must right click on the object in your world, then click on the "Save object..." option at the bottom of the pop-up window. Then click the directory you'd like to save it to and it will be saved as a .a2c (Alice 2 Class) file, with all modifications and methods built into it saved as well. Then, in the world you'd like to import it to, clickt the upper-right File button, then go to Import, then select the object from the directory you saved it to.

x2495iiii
07-16-2009, 11:21 PM
Alright, here are my opinions.

The first movie is very good, especially if it was your first. My first movie (not counting those I made during my Alice independent study as part of simple learning assignments) was similar to that. Good job!

As for your game, I would make a few suggestions.
-Change the health variable to something assigned to an object instead of to a method, that way it can be referenced without being imported and it can have its value changed MUCH more easily (one of the nuances of Alice: changes to local variables often trigger "The Drop Failed" errors).
-Zoom in a bit closer and make the turning to the side a bit more responsive. I bet you know how to that already, though.
-Don't change your number variable into a string in order to join it to the word "Health." That will always result in annoying decimals and zeros at the end of the number. If I were you, I'd create two different 3-D strings, one with "HEALTH:" on it, and one with anything on it, as it wil be the string which changes into the number representing health remaining. When the health variable changes, simply add a method which changes the text of the second object to the number you need. However, to avoid the numbers at the end, you'd have to create a few nested If/Else Ifs. You'll have to chosse one or the other.