PDA

View Full Version : Help making a simple flash game



Rider
March 17th, 2004, 06:28 AM
Hi
i need some help making a surfgame
my idea was to make a simple surfgame that goes like this
while you surf a shark comes and wants to eat you
so what do you do ??
: you surf for your life
but here comes the problem

: * how do i program the shark so it follows my surfer??

if anyone could help me i would be very pleased

Greeting rider

junahu
March 17th, 2004, 10:02 AM
Sharks generally attack from below.

tgelston
March 17th, 2004, 03:30 PM
Hi,

How about using code from a mouse chasing tutorial?

You could set the shark speed to a variable that was determined by the "clickiness" of the player - the more they click the faster they go.

something like that!

--Tobias

Rider
March 18th, 2004, 04:56 AM
i need serious help codes or something like that
so if you now how to do it please give me some USEFULL INFORMATION!!!

Aloha

Rider
March 18th, 2004, 06:50 AM
hey tobias do you now where to find that mouse-chase tutorial???
cause i would'nt know where to find it....

thanks anyway

Aloha

APDesign
March 18th, 2004, 07:35 AM
Rider..... You are obviously new (post count) so I don't mean to be an ***** but the game programming forum isn't to ask for code and tell people trying to help you that you "NEED USEFUL INFORMATION." Not to mention you double posted questions reguarding the same game you are trying to make, asking for code on how to pretty much create the entire thing. The idea is to get help if you need it, not to get huge chunks of code from everyone. :sure:

tgelston
March 18th, 2004, 07:36 AM
Mouse Chaser (http://www.kirupa.com/developer/mx/followease.htm)

The above is a tutorial right here at kirupa. You are going to need to play with the speed value.

In the future use google to find tutorials that you want . it is easy


Good Luck,
Tobias

Rider
March 18th, 2004, 09:00 AM
thanks tobias

WarrOrange
March 19th, 2004, 05:29 PM
Ya, for the shark chasing the surfer, if you dont wana use the mouse chasing, you should check out some of marz's AI tuts :) gl:red: