User Tag List

Results 1 to 2 of 2

Thread: A little help with ai?

  1. #1
    No Products Registered

    Join Date
    Dec 2015
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A little help with ai?

    I have a question about ai, I'm working on my first game.

    How can I make the enemy fire at specific intervals? Currently, the ai fires bullets constantly, and it's rather difficult to dodge them all. I'm wanting to make it so that the enemy only fires a bullet about once every 1/3 of a second.

    Also, this is completely unrelated, but how can I make an object invisible? For example, I'm wanting to make my ai more advanced with an invisible sight object that will bounce off of walls and stuff.

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use the timer to set intervals. For example:

    Timer - Every 33 milliseconds
    -> Launch weapon

    This could replace whatever condition you have that fires the weapon.

    And to make an object invisible at start, you can uncheck "Visible at Start" from the objects properties. And you can toggle an object's visibility whenever you want through actions. Right click on the object in the event editor and scroll down to "Visibility."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •