I need a little help please

Game Editor comments and discussion.

I need a little help please

Postby mog440 » Tue Dec 16, 2014 5:25 am

Hi I have an enemy actor moving left and right with a wire frame region at either end to change the actors animation and x direction. He creates a shot using a random timer. I have a variable so the shot travels in the direction the enemy is facing when the shot is created.
This much is working. The problem is when the enemy collides with either wire frame and changes to the opposite direction, any shots he has created also change direction.
Any help greatly appreciated.
mog440
 
Posts: 12
Joined: Mon May 24, 2010 11:02 am
Score: 0 Give a positive score

Re: I need a little help please

Postby mog440 » Tue Dec 16, 2014 6:46 am

Ok I have worked it out, I had the code in draw actor not create actor. :oops:
mog440
 
Posts: 12
Joined: Mon May 24, 2010 11:02 am
Score: 0 Give a positive score

Re: I need a little help please

Postby Hares » Tue Dec 16, 2014 9:27 pm

mog440 wrote:Ok I have worked it out

Image Image Image
User avatar
Hares
 
Posts: 105
Joined: Fri Dec 20, 2013 8:39 pm
Location: Belgium
Score: 14 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest