The Daily Click ::. Forums ::. Klik Coding Help ::. i dont want a monster to die in one hit
 

Post Reply  Post Oekaki 
 

Posted By Message

Xio



Registered
  21/01/2008
Points
  218
29th January, 2008 at 20:09:12 -

does any1 know how to make a monster to die like in 10 hits or something..oh...im using multimedia fusion 2

and also ive done the better shotting thing but everytime the active falls down he shoots down


so help plz

 
Squigy my blob

maker of music
8-bit music though

»xerus



Registered
  28/06/2002
Points
  675

You've Been Circy'd!Game of the Week Winner
29th January, 2008 at 20:34:44 -

Most simple way:

Set the monster's alterable value A to 10 in the frame editor.

Now, in the event editor:
When a bullet hits an enemy, subtract 1 from alterable value A of that enemy, and destroy the bullet.

When the enemy's alterable value A is equal to or less than 0, destroy the enemy.

 
n/a

Jason Orme

Using Klik Products Since 1998

Registered
  24/05/2002
Points
  960

VIP Member360 OwnerWii OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimeI'm a Storm TrooperI'm on a BoatIt's-a me, Mario!
Sonic SpeedMushroomStrawberryI like Aliens!PS3 OwnerTurtle Power!I am an April Fool
29th January, 2008 at 21:57:56 -

I will admit, took me many years before I worked out that

 
www.jsofts.com

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
30th January, 2008 at 00:03:22 -

It took me 2 weeks. Before that I made 10 guys in the same position

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Xio



Registered
  21/01/2008
Points
  218
30th January, 2008 at 16:08:14 -

Thank you xerus! this is awesome now my bosses dont die in one hit
you deserve a thumbs up

 
Squigy my blob

maker of music
8-bit music though

Xio



Registered
  21/01/2008
Points
  218
30th January, 2008 at 16:09:19 -

now i need to fix my shooting

 
Squigy my blob

maker of music
8-bit music though

Spiriax



Registered
  25/05/2005
Points
  277
30th January, 2008 at 20:40:27 -

Okay, what kind of game are you making? It is a platformer, right? And I guess you use the built-in platform movement for your character? And also, when your character shoots, you make him shoot by using the event action "Shoot an object", right?

If all these are true, then you must know that your character object are constantly changing direction while moving around, and the "Shoot an object" event action shoots an object at the same direction that the object is facing.

One simple way to do this is that you can use a value again, namely your main characters Alterable Value A (you can always rename the value to "Shoot direction" to make it easier for yourself), but you don't have to set the default value to anything. Now, just make so when you press Left, set the value to 0, and when you press Right, set the value to 1.

Now make it so when you press the shoot button and the value is 0, make him/her shoot left, and when you press the shoot button and the value is 1, make him/her shoot right.

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click