The Daily Click ::. Forums ::. Klik Coding Help ::. Making Duplicate Enemies
 

Post Reply  Post Oekaki 
 

Posted By Message

JetpackLover



Registered
  01/03/2007
Points
  212
22nd May, 2007 at 19:40:33 -

In my game I want to have it so a set of the same enemies is code with the same code, and not using clones with multiple code.

I have a line of code that says "Active player is overlapping bouncy">set y velocity to -900

But if I put duplicates out there it wants me to overlap all of them if my player jumps on Bouncy, How can I make it so this doesn't happen? How can I make it so I have only 1 set of code for a set group of enemies?

Image Edited by the Author.

 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover


waffleton



Registered
  20/04/2007
Points
  794
22nd May, 2007 at 19:43:29 -

Use qualifiers for the enemies, mayhaps?

 
n/a

JetpackLover



Registered
  01/03/2007
Points
  212
22nd May, 2007 at 20:21:32 -

I found a solution, and thats not using alterable values to determine the bounce. That was the only problem. I can use copies now, but I hope there aren't problems further down the road.

 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover

   

Post Reply



 



Advertisement

Worth A Click