Alice Community  

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

Reply
 
Thread Tools Display Modes
Please Help...its For An Assignment
Old
TJ_13
Guest
 
Status:
Posts: n/a
Default Please Help...its For An Assignment - 05-18-2006, 06:11 AM

we're doing an Alice interactive world for and ICT assignment and i need a bit of help. i'm doing a shooting game and i'm having trouble making the gun move with the person while he's walking and also trying to make a method for shooting. i have made him walk turn and jump using keys up, left, right and z, but wat i want to do is make him able to shoot aliens using the key x and stuff... having heaps of trouble hope you can help

TJ
   
Reply With Quote
Go ahead, make my day!
Old
Jabberwocky
Guest
 
Status:
Posts: n/a
Default Go ahead, make my day! - 05-18-2006, 07:43 AM

To get the gun to move with you, set the gun's vehicle to the camera.

You can't create objects at runtime so for a bullet-flying-fiesta you'd have to keep a stash of bullets. Look at the thread Alice...Object Oriented??

A good example of what you are doing is in the Share Worlds forum. See the thread A gun game and a dragon movie. I believe the bullet is being reused over and over here.
   
Reply With Quote
Old
PopnTheDeerInHumanForm
Guest
 
Status:
Posts: n/a
Red face 09-01-2007, 08:48 PM

I need help with That too 'Sams' hand is supposed to hit a target than come back but i can't get the target to react when hit
   
Reply With Quote
Old
Razzle
Guest
 
Status:
Posts: n/a
Default 09-03-2007, 10:00 PM

^ I would try using a method that calls the threshold function on an object
   
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.