Code Monkey home page Code Monkey logo

hugula's Introduction

###Hugula 游戏框架 for slua

Hugula是一个基于unity3d+lua技术的全LUA免费开源游戏框架,能方便实现代码动态更新。 特点:全lua逻辑,基于状态模式,包含引用计数,对象池,自动资源回收等功能,能极大提高开发速度。 帮助文档。 qq群:19324776。

##本框架需要以下条件

1)unity3d 版本为 5.0以上 (5.1以上需要自行清理lua wrap file,后重新make)

2)slua项目 地址 https://github.com/pangweiwei/slua

3)如需使用tools辅助功能 需要配置python2.7 lua5.1环境

##框架目录

Assets

-Config (存放xxx.csv 配置文件 使用菜单 Hugula/export config [Assets\Config]导出)

-CustomerResource (存放美术资源)

-Hugula (核心代码)

-Lan (多国语言包 csv 使用菜单 Hugula/export language [Assets\Lan]导出 lua中可直接调用)

-Scene (场景 begin为开始场景)

-Slua (Slua插件)

-Tmp (编译lua文件临时存放目录)

-Lua (lua脚本)

##运行发布

1 导出assetbundle资源 菜单 AssetBundles/Build AssetBundles

2 导出其他

2.1 Hugula/export lua [Assets\Lua] 打包编译脚本

2.2 Hugula/export config [Assets\Config] 打包配置

2.3 Hugula/export language [Assets\Lan] 打包语言包

3 导出slua接口

3.1 Slua/All/Make 导出slua所需要的wrap类。

3.2 如果打开有报错 Slua/All/Clear 清理已经生成的wrap类

lua架构图

![](Client/Assets/Doc/hugula lua framework.png)

##框架案例 百妖叛乱(卡牌) http://pan.baidu.com/s/1hssBiCG 俄罗斯方块小游戏 http://pan.baidu.com/s/1o6L4E86

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.