Giter Club home page Giter Club logo

b2framework-'s Introduction

B2Framework

目录结构

B2Framework

  • Arts 本地资源目录,存放不热更的所有资源,目录结构与AssetBundles 目录基本一致,一般由美术、策划、程序人员参与管理
    • Animations 动画文件,按照功能在该目录创建子目录自行管理
    • Fonts 游戏中使用的字体
    • Materials 所有的材质
    • Models 模型文件,如Spine动画
    • Prefabs 预制文件
    • Shaders 所有用到的Shader文件
    • Textures 美术输出的所有图片资源
  • AssetBundles 需要热更的资源
    • Animations 需要热更的动画文件
    • Audio 动态加载的声音
    • Fonts 动态加载的字体
    • Materials 需要动态加载的材质球
    • Prefabs 动态加载的预制
      • Effects 特效的预制
      • Models 模型的预制,如Spine的预制
      • UI 界面的预制
    • Scripts 需要热更的脚本,如Lua,目录结构跟存放C#的Scripts 基本一致
      • Game 游戏逻辑
        • Battle 战斗逻辑
        • ConstDefine 一些常量定义
        • UI 界面相关逻辑
      • Utils 公用的工具脚本
    • Shaders 所有需要动态加载的Shader文件
    • Textures 需要动态加载的图片,如立绘等
  • Scenes 存放所有场景,不要随意添加场景
    • Launch 游戏初始化,接口初始化
    • Loading 检测版本更新,下载资源
    • Login 登录
    • Main 游戏主场景
    • Battle 战斗场景
  • Scripts 存放C#脚本,无法热更
    • Editor 所有对Unity编辑器扩展的脚本放这里
    • Game 游戏逻辑代码
      • Battle 战斗逻辑
      • ConstDefine 一些常量定义
      • UI 界面相关逻辑
    • Utils 公用的工具类放这里
  • 其它都为第三方扩展库文件,或Unity引擎原生目录
  • 严禁横向增加目录,只能扩展子目录

参考框架

https://github.com/egametang/ET

https://github.com/cocowolf/loxodon-framework

https://github.com/xasset/xasset

https://github.com/smilehao/xlua-framework

https://github.com/mr-kelly/KSFramework

lua性能调试:https://github.com/leinlin/Miku-LuaProfiler

https://github.com/liuhaopen/UnityMMO

https://github.com/yimengfan/BDFramework.Core

搜索GitHub

xxx stars:>500

解决方案搜索:UGUI、xLua、Unity

b2framework-'s People

Contributors

venbb avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

bvirgo mengtest

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.