The Daily Click ::. Forums ::. Klik Coding Help ::. custom movement for enemy ai
 

Post Reply  Post Oekaki 
 

Posted By Message

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
2nd December, 2008 at 19:54:35 -

does anyone know how to make custom platform like movement for enemies?

 
[Game design makes my brain feel like its gonna explode.]

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4075

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
2nd December, 2008 at 21:51:20 -

Here's a simple one. All it does is walk back and forth and fall off edges. It won't work unless the frame stays the same size all the time and the hot spot is always in the same spot.

Image

 
-

Willy C



Registered
  14/02/2004
Points
  1524

Game of the Week WinnerKlikCast StarPicture Me This -Round8- Winner!VIP MemberWii OwnerIt's-a me, Mario!Hero of TimeThe Cake is a LiePS3 OwnerI am an April Fool
Batman!Teddy Bear
2nd December, 2008 at 22:06:47 -

Take a look at this Widget from Dynamite: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=109822#Post109822

 
http://www.robocaptain.com

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
3rd December, 2008 at 01:31:52 -

thanks guys ill look into them

 
[Game design makes my brain feel like its gonna explode.]

NeoMonkey

Finnish Army Fire Commander

Registered
  01/12/2006
Points
  243

VIP Member360 OwnerI am an April FoolPS3 Owner
3rd December, 2008 at 11:04:37 -

http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=118309#Post118309

Heres how to do enemy ai with pmo.

 
I have proven new mathematic formula to be true...

2D > 3D

Image


siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
3rd December, 2008 at 22:24:57 -

awesome! i love the pmo thanks a lot!

 
[Game design makes my brain feel like its gonna explode.]

B_C



Registered
  26/04/2008
Points
  2
4th December, 2008 at 15:58:28 -

Hey! just a quick easy way to try:

run once: Set altvalMove("enemy") to 2
if altvalMove("enemy") >0 set Xpos to enemyXpos + altvalMove("enemy")
if altvalMove("enemy") <0 set Xpos to enemyXpos - absoluteval(altvalMove("enemy"))
if enemy collisions with backdrop set altvalMove("enemy") to 0-altvalMove("enemy")

enjoi!

 
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
4th December, 2008 at 17:30:35 -

^^ Couldn't you just toggle a flag instead? ^^

I think I rely on flags way too much.

 
--

"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!

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
4th December, 2008 at 23:54:56 -

yeah that didnt make any sense....

 
[Game design makes my brain feel like its gonna explode.]
   

Post Reply



 



Advertisement

Worth A Click