PDA

View Full Version : The enemies seem more afraid of the hero than vice-versa!



bobsyboy3000
January 20th, 2005, 06:53 PM
I'm currently working on a game called 'BloodLust' (bad name, I know) and I have got everything planned and have started. I have finished all the animations, levels, weapons, items and the hero but the enemies are giving me some problems.

Note: This flash project is a model for one I am going to transfer into C++.

There are different types of enemy. They have random attributes within particular ranges and move by themselves and all that. Out of these different types the ones that don't work are the ones that rise from the floor or fall from the ceiling. The thing is, they seem to decide they are going to not come down form the ceiling as if they are to afraid to do anything and instead have decided to float along the 0 position on the _y of the frame above the hero's head. Any hints on what to do?

EDIT : Worked out where had gone wrong 10 minutes after posting this.

rhine
January 21st, 2005, 08:15 AM
I'm currently working on a game called 'BloodLust' (bad name, I know) and I have got everything planned and have started. I have finished all the animations, levels, weapons, items and the hero but the enemies are giving me some problems.

Note: This flash project is a model for one I am going to transfer into C++.

There are different types of enemy. They have random attributes within particular ranges and move by themselves and all that. Out of these different types the ones that don't work are the ones that rise from the floor or fall from the ceiling. The thing is, they seem to decide they are going to not come down form the ceiling as if they are to afraid to do anything and instead have decided to float along the 0 position on the _y of the frame above the hero's head. Any hints on what to do?
Don't want to sound like an arse, but it helps a lot if you include code, .swf, and .fla files. People tend to not waste their time answering posts like this unless you give them all the information they need to work with - at least that's my experience.

bobsyboy3000
January 22nd, 2005, 07:10 PM
Don't mean to sound like an arse myself but just as I was about to add the code I wroked out what had gone wrong. It was one of those times when you look and look but you can't find it and then suddenly (ironically after you ask for help) you work it all out. By the way, I added an edit 10 minutes after I originally posted it stating such - I know you can read, you obviously read the message in the first place, so why did you not see it?