I need some help programming AI in TGF.. AI are startrek ships in a top down scroller and just want them to keep moving in random directions and make proper turns after sometime to stick around the player object.
I have demonstrated an example with the black object as an enemy and grey one as the player, its done through path movement so its not very accurate
If you want some details then just post them here and please help A.S.A.P.
To keep stuff short & basically general, i just want two objects moving randomly but within each other's range and changing directions and positions correctly. Thats it, now any fine programmer can do that ( and i'am certainly not one of them )
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.
Dude, take the criticism; don't wipe out your previous post just cause ppl told you you can't code anything yourself. From your questions, it's completely obvious. Go search through tutorials, or (Shocks!) try something yourself. If it doesn't work, try again, and again, and again.
Something like this is pretty easy to do; you just have to think about it instead of begging people to help you in a childish manner.
Learn Romero's lesson, you can only get so far using others reputation/code before everyone realizes you're a joke.
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.
Klik with the kid!
Deleted User
9th September, 2006 at 01:21:13 -
Use a vaule for time and always subtract it if it's not equal to 0 then once it hits zero make the object bounce.. or if you're using custom 8-way movement randomize the counter or vaule as it's postion movement.
First of all, thanks for helping the bunny getting world domination lolx .. then secondly, can you create an example file? that'll make a lot easier to apply what you just said ( if it'll actually work practically )
thanks
Edited by the Author.
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.