Water Boy DEMO 90% finished - Need ideas!

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

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

Postby Bee-Ant » Fri Oct 02, 2009 12:04 am

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;}
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

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

Postby Bee-Ant » Fri Oct 02, 2009 1:41 am

He's a Water Boy, but when go into water...whats the special?I cant see any.
He should has,
Heal,reload,powerup,etc...
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

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

Postby Camper1995 » Sat Oct 03, 2009 3:29 pm

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
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Previous

Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest

cron