Flash Artificial Intelligence 1

The first part of my flash artificial intelligence tutorial series

Related posts:

  1. Introduction to Artificial Intelligence 2
  2. Introduction to Artificial Intelligence 1
  3. King - 2×01 - Artificial Intelligence Pt2/4
  4. Artificial Intelligence - Desperado
  5. A.I. Artificial Intelligence (2001) Movie Review.mp4

Tags: , , , , , , , , , , , , , , , ,

11 comments

  1. what was that?

  2. PieManTheHero

    I forgot.

  3. Artificial intelligence is AI, that is where you give a NPC, Computer, Character, Scenery Object, etc. a mind of it’s own. In this case pbj746 used a Math expression called Math.sqrt which was used to be able to check if the character was within the distance (100 pixels) squared of the enemy, thus making the enemy have a mind of its own by knowing when or when not to fallow the character. AI is simply any type of Math expression (Math.atan2, Math.sin, Math.cos, etc.)

    any questions?

    Chris

  4. PivotMasterTony

    he doesnt go tords me

  5. At 09:47 when you were changing the + and -, you deleted the ‘”x”
    Instead of this._x += 5
    you wrote this._ += 5
    Thats why it didnt follow you at the right

  6. this aint A.I. Just a simple list of commands.

  7. gamefreak1000000

    when do you learn atan2, sin, and cos? I know what a square root is, but what about the ones you stated?

  8. gamefreak1000000

    You know, you can at least tell us that you were squaring because I had no fucking clue why you were multiplying the player and enemy x and y coordinates two times in a row.

  9. almostnuclearwar

    oh, so this cube is neither self aware nor sentient…….but it can follow a sphere!!!

  10. u posted the same thing twice :3

  11. simple commands are A.I. you dumbass…

Leave a comment