User Tag List

Results 1 to 2 of 2

Thread: [Example] AStar pathfinding for xLua

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face [Example] AStar pathfinding for xLua

    Here my new AStar-Pathfinding Example for xLua. Its easy to use, and I hope Clickteam convert the xLua-Extension to all Runtimes (iOS, Android or anything) !

    luaAStar.jpg

    LuaAStar.mfa

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a really nice example, thanks.

    For the "Add walls to map" event group it might be better to change the Start loop "Yaddwall" value to Frame Height/16 and also for "Xaddwall" to Frame Width/16 as that way you can easily use the whole frame area rather than use set grid dimensions. Doing that you also then don't need the multi-array set with values in the script and can just have mapmat= {{}} instead.

    By the way i posted in your other thread also - http://community.clickteam.com/showthread.php?t=68695

Similar Threads

  1. XLua
    By Retriever2 in forum Released Extensions
    Replies: 6
    Last Post: 13th August 2017, 08:42 PM
  2. XLua convert to iOS?
    By Pharanygitis in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 23rd January 2012, 11:31 AM
  3. xlua mmfi...
    By Zode in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th November 2011, 02:00 PM
  4. Lua+ or xLua?
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th October 2009, 11:55 PM

Posting Permissions

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