User Tag List

Results 1 to 1 of 1

Thread: 8 Direction Custom Movement + Enemy "AI"

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,111
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    8 Direction Custom Movement + Enemy "AI"

    I just made a quick example that makes use of the under-appreciated "Move Safely 2" object.

    The player movement is basic, but a solid and easy foundation to build off I suppose. I also included an example of how you can use the Move Safely object to handle custom enemy movement/collisions, again very basic movement/"ai" - but easy to expand it.

    I think Move Safely is fairly processor friendly.. at least in my tests, in the example attached there are 50 enemies walking around with no lag, at least on my PC. It even works pretty well on Android/iOS.. probably better than if you were to use fastloops and loop through each objects movement.. I haven't actually tested that assumption though.
    Attached files Attached files

Similar Threads

  1. Replies: 6
    Last Post: 18th August 2015, 02:23 AM
  2. Replies: 7
    Last Post: 30th May 2014, 12:17 PM
  3. Destroyed enemy vanishing, not playing "disappearing" animation
    By Sterling7 in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 17th July 2013, 03:21 AM
  4. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM

Posting Permissions

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