Alice Community  

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

Reply
 
Thread Tools Display Modes
Need help with Helicopter game
Old
Homosapien23
Member
 
Status: Offline
Posts: 19
Join Date: Mar 2012
Default Need help with Helicopter game - 03-02-2012, 01:47 PM

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?
   
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 03-02-2012, 02:39 PM

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


(')>
   
Reply With Quote
Old
Homosapien23
Member
 
Status: Offline
Posts: 19
Join Date: Mar 2012
Default 03-05-2012, 01:18 PM

Here you go:
Attached Files
File Type: a2w Helicopterbattle.a2w (4.61 MB, 16 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 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.


(')>
   
Reply With Quote
Old
Homosapien23
Member
 
Status: Offline
Posts: 19
Join Date: Mar 2012
Default 03-06-2012, 01:52 PM

I tried another sound, and it worked. Thanks!

Here's the game, if you'd like to try it:
Attached Files
File Type: a2w Helicopterbattle.a2w (4.51 MB, 18 views)
   
Reply With Quote
Old
Homosapien23
Member
 
Status: Offline
Posts: 19
Join Date: Mar 2012
Default 03-19-2012, 01:35 PM

Also, I was wondering if anybody had a chain gun for my helicopter.
   
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 03-19-2012, 02:03 PM

Quote:
Originally Posted by x2495iiii View Post
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.

This.


(')>
   
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.