Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Shooting GM AI

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
480 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 3, 2009

In this tutorial, I show you how to make a simple AI that shoots. Thank torysbom for the original idea for this tutorial.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (EneilShade)

  • ______________________________­_____________

    FATAL ERROR in

    action number 1

    of Step Event

    for object object10:

    COMPILATION ERROR in code action

    Error in code at line 8: if ! (collision_line(x, y,object0.x, object0.y, object5, 1, 1))

    at position 6: Unexpected symbol in expression.

  • Hm... I had no such error. Are you sure you copied correctly?

  • I have watched both AI Tutorials and enjoyed them quite a bit.

    My request would be to add something to the AI movement when it is not actively looking for you.

    Meaning... IF player is not in sight... the AI will move randomly around, or to designated points, etc... THEN when player is in site do as you have already demonstrated.

  • No problem. A roaming AI coming right up... I just have to figure out how to do one. Give me at most 5 days (it will likely be less).

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • ______________________________­_____________

    FATAL ERROR in

    action number 1

    of Step Event

    for object enemy:

    COMPILATION ERROR in code action

    Error in code at line 3: PlayerDirection = point_direction(x, y, player.x, player.y)

    at position 18: Unexpected symbol in expression.

  • He He... no rush sir. I just appreciate the effort.

  • cool thanks

  • Very nice... thank you!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more