Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Need help with Helicopter game (http://www.alice.org/community/showthread.php?t=8169)

Homosapien23 03-02-2012 01:47 PM

Need help with Helicopter game
 
Hello, I'm making a game in my computers class with Alice.
Basically, your driving a helicopter and you have to blow up the Humvees before they reach the airport. And they have a tank helping them - and that's where the problem starts.
I made a If/else event, where if the Helicopter is 300 meters away from the tank a shooting sound and the shell (It's actually a syringe, I'm having trouble uploading objects) moves at the Helicopter. (I'm planning on making it so when the shell is 0 meters away from the Helicopter you "die").
I hear the tank "firing" but I can't see the syringe moving at the Helicopter. And about ten seconds after that happens, it says "Error." So I click "okay" and i keep going.
But when i start it again, it doesn't work unless i restart Alice.
Help, please?

x2495iiii 03-02-2012 02:39 PM

Post your world so we can see where the error message is coming from.

Homosapien23 03-05-2012 01:18 PM

1 Attachment(s)
Here you go:

x2495iiii 03-05-2012 05:53 PM

Looks like they're both sounds errors. Try disabling the methods that play the sounds and see if you still get them.

If so, convert the sounds to .wav format with Audacity. It'll be larger, but has more chance of working.

Homosapien23 03-06-2012 01:52 PM

1 Attachment(s)
I tried another sound, and it worked. Thanks!

Here's the game, if you'd like to try it:

Homosapien23 03-19-2012 01:35 PM

Also, I was wondering if anybody had a chain gun for my helicopter.

x2495iiii 03-19-2012 02:03 PM

[QUOTE=x2495iiii;43570]A few mediocre ones in arty's pack. And I remember animating at least one belt-fed Browning model somewhere, which could be a nice minigun substitute.

Links are all over the place, but if you need one, I'll post it.[/QUOTE]


This.


All times are GMT -5. The time now is 04:46 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.