Be a Supporter!

AI in games.

  • 192 Views
  • 4 Replies
New Topic Respond to this Topic
Entice
Entice
  • Member since: Jun. 30, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
AI in games. 2008-09-24 21:01:47 Reply

I been researching flash game making:
How to you program the enemies to aim at you without having the gun immediately snap to where you are; in other words how do I make the enemy respond slow enough so that the game wont be impossible?
I can make a gun and bullet but I dont really understand health/damage/ect. and I need to know how to make it follow the mouse and how to ake the bullet actually shoot when I click.

unbelivable
unbelivable
  • Member since: Jun. 10, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to AI in games. 2008-09-24 21:30:36 Reply

Add a timer before the snap to code.


.

BBS Signature
GustTheASGuy
GustTheASGuy
  • Member since: Nov. 2, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to AI in games. 2008-09-25 07:06:35 Reply

If you want to research try learning from full source code instead of asking questions that take little understanding of programming and some common sense (because otherwise you only learn to reproduce others' solutions). http://www.flecko.net/source.html


BBS Signature
Entice
Entice
  • Member since: Jun. 30, 2008
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to AI in games. 2008-09-25 21:07:28 Reply

I have a basic knowledge of programming, I'm new to actionscript though. I dont like the programming part of flash at all and I'm just looking for th codes- plain and simple so I an concentrate more on the other parts of the game.

Gatekeeper0
Gatekeeper0
  • Member since: Jun. 5, 2008
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to AI in games. 2008-09-25 21:09:31 Reply

At 9/25/08 09:07 PM, bgraybr wrote: I have a basic knowledge of programming, I'm new to actionscript though. I dont like the programming part of flash at all and I'm just looking for th codes- plain and simple so I an concentrate more on the other parts of the game.

I suggest you get somebody to help you, possibly a coder so you can have a partnership.


BBS Signature