Hello All,
After taking an extended break over the hotter months of summer - I’m back, with a whole set of new questions
. All in an effort to create a decent version of Laser Defender
. Yes, one of my question destined to frustrate you and leave you scratching your head wondering what I’m talking about
.
Right, I have a strange question to ask, but, I don’t really know how to go about asking it because I don’t know much about gaming terminology, so, I’ll explain what I’m doing as best I can, then get to the question … eventually.
I have been making the Laser Defender game and took some elements from Galaga. Keep in mind the elements are quite basic, because, I don’t really have the skills to do it justice. Now at certain intervals the individual elements of the formation, quickly move from the formation and with “creative” use of the animator move off the bottom of the screen and then reappear at the top going back into formation. Each enemy follows the same path because I don’t know any better, so, it’s a bit naff, but, it looks ok.
Anyway, now the question … I would like to implement a powerup type baddy. I have the powerup done and it works, but, I want this enemy to directly attack the ship. So, at whatever point the enemy attacks through a Random value + Time.time it moves into attack mode and directly targets the hero ship at that time - so the hero ship has to move otherwise it gets hit, so, it’s not continually targeting the hero ship - and then if the hero ship moves the baddy ship moves offscreen and then reappears at the top moving back into position. And if he get killed drops the powerup. So … any ideas on how to accomplish this because I don’t have any? Is this type of thing covered in any of the official Unity tutorials? Or, covered in any YouTube tutorials?
So, any hints, tips, links or any information you can give me would be greatly appreciated
Sorry for being so vague, but, I don’t know how to ask the question any better!
Thankyou for your patience.


.
that’s weird, will looks it during day…