Page 3 of 3

Re: Water Boy DEMO 90% finished - Need ideas!

PostPosted: Fri Oct 02, 2009 12:04 am
by Bee-Ant
To make that auto target:
1. Make an actor called Target
2. Make 3 global variables, targetx, targety, auto
3. Enemy-DrawActor:
Code: Select all
if(distance(x,y,player.x,player.y)<=200){auto=1;}
if(auto==1){targetx=x;targety=y;}

4. Enemy-DestroyActor:
Code: Select all
auto=0;

5. Target-DrawActor:
Code: Select all
x=targetx;y=targety;transp=(auto-1)*-1;

6. Shot-CreateActor:
Code: Select all
if(auto==1){angle=direction(x,y,targetx,targety);directional_velocity=15;}

Re: Water Boy DEMO 90% finished - Need ideas!

PostPosted: Fri Oct 02, 2009 1:41 am
by Bee-Ant
He's a Water Boy, but when go into water...whats the special?I cant see any.
He should has,
Heal,reload,powerup,etc...

Re: Water Boy DEMO 90% finished - Need ideas!

PostPosted: Sat Oct 03, 2009 3:29 pm
by Camper1995
Hey man! Thanks for all! ;) I will try it and I will relase the full version of WaterBoy soon...I have a lot of work to school...

But thanks ;)

I will add that special power in water ;)

Camper :P