守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 938|回复: 0

Crossbridge-Recast-Navigation

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    51792
    钢镚
    1422

    开源英雄守望者

    发表于 2015-4-10 09:29:29 | 显示全部楼层 |阅读模式
    应用下载
    应用名称: Crossbridge-Recast-Navigation
    支持64位:
    当前版本: 未知
    运行平台: Windows linux 其他 
    开发语言: C++ ActionScript 3 其他 
    应用类别: ANE-C/C++
    应用简介: This project is a FlasCC port to ActionScript 3.0 of C++ navigation mesh library Recast Navigation by Mikko Mononen.
    Crossbridge-Recast-Navigation

    This project is a FlasCC port to ActionScript 3.0 of C++ navigation mesh library Recast Navigation by Mikko Mononen.


    Usage

    In order to integrate the library with your project simply add as3_lib/bin/Crossbridge-Recast-Navigation.swc to it's library path.


    Demo

    Live demo in Flash featuring some of Recast Navigation capabilities is available here. It's source code can be found in demo folder.


    How to build demo

    To build demo from source you need to add demo/src and demo/themes folders to source path, addlib folder to library path. You can use html template from demo/html-template folder or use your own, but don't forget to set wmode parameter to "direct" as it is required by Starling Stage 3D rendering. Input geometry meshes are in demo/meshes folder.


    How it's all organized

    FlasCC compiler is used to generate swc library with internal API which is further used in final AS3 library project providing easy to understand AS3 API. Final product preserves original API as much as it's possible.


    Internal API

    Using FlasCC compiler you can manually expose C++ functions to AS3. Study this example to understand how it's done. Internal API creation code is in folder as3_internal_api. To buildas3_internal_api.swc run crossbridge_compile.sh from Crossbridge environment. You can also runcrossbridge_launcher.bat providing it with path to Crossbridge folder as an argument.


    AS3 Library

    Final AS3 library wraps internal API methods and C++ structures and classes. It creates simple AS3 classes and functions so it can be easily used in standard AS3 workflows. Most recent version of it is always available in as3_lib/bin folder. But you can build it yourself. You need to create an AS3 library project with source from as3_lib folder and add as3_internal_api/as3_internal_api.swc as a library. You can also add -inline as an additional compiler options.







    相关链接:


    https://github.com/Rokannon/Crossbridge-Recast-Navigation

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2019-11-23 02:24 , Processed in 0.043440 second(s), 34 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表