This text is replaced by the site logo. If not, try enabling javascript.
Advertise
|
About us
|
Site map
|
Syndicate
|
Search site
|
Mailing list
|
View Authors
|
Become an Author
Home
Tutorials
Forums
Articles
Blogs
Movies
Library
Employment
Press
ActionScript.org Forums
>
General
>
Gaming and Game Development
[AS2] Problem with shooting
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Thread Tools
Rate Thread
Display Modes
04-20-2007, 10:21 PM
#
1
IamtheeApocalypse
Registered User
Join Date: Apr 2007
Posts: 4
[AS2] Problem with shooting
O.K. well I am making a spaceship type game and when I press space to make my ship shoot it shoots but if I move to the left or right afterwards the bullet will follow the ship any help?
Attached Files
flash game.zip
(31.7 KB, 100 views)
IamtheeApocalypse
View Public Profile
Find More Posts by IamtheeApocalypse
04-20-2007, 10:29 PM
#
2
rrh
throw a trace() in there
Join Date: Dec 2006
Posts: 1,961
You are duplicating your lasers inside of the spaceship movie clip.
You could put the lasers outside of the spaceship.
rrh
View Public Profile
Find More Posts by rrh
04-20-2007, 11:08 PM
#
3
IamtheeApocalypse
Registered User
Join Date: Apr 2007
Posts: 4
O.K. now it dosen't look like it shooting from the ship how do I attatch it to the ship but after it is shot it un attaches
IamtheeApocalypse
View Public Profile
Find More Posts by IamtheeApocalypse
06-04-2007, 03:14 AM
#
4
rrh
throw a trace() in there
Join Date: Dec 2006
Posts: 1,961
Sorry I didn't reply sooner.
When you shoot, assign the laser's _x and _y values based on the ship's.
rrh
View Public Profile
Find More Posts by rrh
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Rate This Thread
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
ActionScript Forums Group
ActionScript 3.0
ActionScript 2.0
ActionScript 1.0 (and below)
Simple Stuff (Newbies)
Flash General Questions
Flash 10 General Questions
Flash 9 General Questions
Flash 8 General Questions
Other Flash General Questions
Flex
Flex 2, 3 & 4
Flex 1
Extensions and Plugins
Components
JSFL - Extending Flash
Desktop, Mobile and non-browser Environments
AIR (Apollo)
FlashLite / Portable Devices Development
Projectors and CDs
Supporting Technologies
HTML and JavaScript
haXe
Server-Side Scripting
Flash Remoting
Flash Media Server
General
Best Practices
Gaming and Game Development
Animation and Effects
Flashants Support Forum
Community Boards
General Chat
Just for Kicks Challenges
Detention
Flash In Action
Site Check
Cool Sites
Widgets
Decommissioned
Projects and Positions
CMS Forums
Announcements Board
Content Postings / Updates
Product Review Requests
CMS Technical Questions
Process Questions
Collaboration & Suggested Articles
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problem with loading unloading clips and dynamic text
sah302
ActionScript 1.0 (and below)
1
01-06-2006
05:19 PM
Shooting game problem
Morret
Gaming and Game Development
1
06-16-2005
04:11 AM
Flash Number type and c# float and decimal types. Convertion problem within Flash.
maglez
ActionScript 2.0
2
06-02-2005
05:14 PM
HEEELP!!! cant work out the answer to a problem
case
ActionScript 1.0 (and below)
1
07-29-2003
11:37 PM
global TextField Problem! Guru wonted
mediaholic
ActionScript 1.0 (and below)
3
07-20-2003
10:07 AM
All times are GMT. The time now is
06:44 AM
.
///
Categories
Tutorials
Flash
Flex
Articles
Best Practices
Product Reviews
Third Party
Press Releases
The Community
Featured Jobs
Technical Flash Artist
MADISON, USA
iPhone/iPad Developer - CREATIVE CIRCLE
Philadelphia, USA
UX DESIGNER - CREATIVE CIRCLE
Philadelphia, USA
- More ActionScript, Flash and Flex jobs in the Employment Section.
- Advertise a job for free
Contact Us
-
Home Page
-
Archive
-
Privacy Statement
-
Top
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by
RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our
Privacy Policy and Terms of Use
.