Alice Community  

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

Reply
 
Thread Tools Display Modes
Shoot event
Old
hoacnguyengiap
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2012
Default Shoot event - 06-10-2012, 10:06 AM

I've used the guide of Basic mouse movement and created a world that have mouse movement. Everything is OK but the shoot event. I couldn't figure out how to create a shoot event because my mouse cursor is used for movement and can't be used for clicking on an object. Could someone please help me to create a shooting event? Please help me as soon as possible.
Attached Files
File Type: a2w Mouse movement BASIC.a2w (1.10 MB, 6 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 06-10-2012, 02:00 PM

What kind of shooting event did you want? One using actual, physical bullets and distance methods, or one using the mouse's position for collision detection?


(')>
   
Reply With Quote
Old
hoacnguyengiap
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2012
Default 06-10-2012, 08:01 PM

For normal event I often use event mouse click on something and shoot. But I can't do the same with a world use mouse to move. I want an event which can detect what object is targeted with the aim cursor (not mouse cursor)and it will be "killed"
   
Reply With Quote
Old
hoacnguyengiap
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2012
Default 06-10-2012, 08:37 PM

Here is my project. Could you show me the way to create a shoot event and please improve my mouse-move system, it's not smooth
Attached Files
File Type: a2w PROJECT.a2w (1.85 MB, 2 views)
   
Reply With Quote
Old
hoacnguyengiap
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2012
Default 06-11-2012, 08:32 PM

Please help me.
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.