Help with enemy shooting

Non-platform specific questions.

Help with enemy shooting

Postby arcreamer » Wed Aug 15, 2007 11:19 pm

hey guys im working on a game and i need help because i have an enemy that has 2 guns, one on each side of it and i need help making 2 bullet actors (which are already there) come out of the guns. the enemy is moving right and left and and ill give u a screenshot


can someone help me out?
Attachments
Untitled.jpg
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby Game A Gogo » Wed Aug 15, 2007 11:57 pm

if you have the full version of GE, I could look at the GED file =3
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby d-soldier » Thu Aug 16, 2007 12:09 am

Why don't you setup a random timer (like from 1000-1500) and on that timer event create the bullet actor, adjusting the starting point to come from the gun position of the sprite?
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby arcreamer » Thu Aug 16, 2007 12:59 am

i did DSD but when the enemy moves the bullets go everywhere just get scattered
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby d-soldier » Thu Aug 16, 2007 1:23 am

Why don't they have a yvelocity which makes them go straight down?
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby arcreamer » Thu Aug 16, 2007 6:19 pm

they do
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby DilloDude » Fri Aug 17, 2007 4:01 am

What exactly are you doing?
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron