The Daily Click ::. Forums ::. Klik Coding Help ::. Battle engine problems.
 

Post Reply  Post Oekaki 
 

Posted By Message

Phantasia



Registered
  08/01/2006
Points
  36
15th August, 2006 at 02:50:18 -

I need to make it so when animation plays and active1/active2 collide, subtract from *this* counter. I can't seem to figure out how to put this into an event...

I also need a movement A.I., but that's a little difficult. -.- and don't call me a n00b. It's my first time making an engine, so i'm confuzzled.

-Asuruga

 
ph33r t3h s1gg3!!!
*I guess hell froze over...*

Jakob37



Registered
  07/08/2005
Points
  541
15th August, 2006 at 04:05:34 -

I can help you with the first one, you just sets the event:

When Object1 collides with Object2
+Object1 animation "attack" is playing

Subtract 37 from *this* counter


For the secound one I guess you need "professinal" help.

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
15th August, 2006 at 07:44:50 -

You could make a simple enemy A.I. where the enemies come at you by doing this:

Always -> Make "enemy" look in the direction of "player"


Sure, you should do some more to it but that's an easy one.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
15th August, 2006 at 10:40:51 -

For help with creating the AI, it'd help if you described what type of movement you wanted.

 
My signature is never too big!!!

Deleted User
15th August, 2006 at 10:47:53 -

Is it a realtime battle engine, like 'Secret of Mana' and 'Zelda'? Or is it turnbased?
Dumb question maybe, but i just wanna be sure.

 

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
15th August, 2006 at 11:30:14 -

If you were to do a turn based, you could create a list of moves for each enemy, and then add to each move the frequency of attack, and anything else (if the enemy can only use it on certain conditions (i.e less than 1/5 health remaining, use a super-charged attack).

 
My signature is never too big!!!

Phantasia



Registered
  08/01/2006
Points
  36
15th August, 2006 at 21:06:47 -

It's basically like secret of mana, but it's not in the area. You run into monsters on a map and it takes you to a battle screen. Thus meaning i'm not doing turn based...

Thanks Jakob. And i need a full movement A.I, not just an event for directions. I don't really need anything but a random movement A.I, joe. It need to basically run around the screen in any random way and stop every once and a while.

-Asuruga

 
ph33r t3h s1gg3!!!
*I guess hell froze over...*

Deleted User
16th August, 2006 at 02:17:12 -

DC mail me, and maybe ill whip something up

 
   

Post Reply



 



Advertisement

Worth A Click