Code Monkey home page Code Monkey logo

actioneditor's Introduction

This project is unity editor plugin for action, skill, AI based on unity 2019.4.30f1 or later.

image link

设计之初心

  • 理念是让代码越写越少,Bug才会越来越少,用编辑器可视化工具生成驱动数据
  • 任何游戏的动作技能模块基本是播放动作、特效、音效、相机震屏、抖动、伤害、BUFF、受击效果等,不断迭代提供一个高可用的系统
  • 统一服务端、客户端代码,服务端只管触发和数值伤害计算相关,客户端只管表现相关
  • 框架保证项目执行流程可控性,而算法和数据驱动模型保证项目自由性

设计之参考

编辑器架构来源于Blender引擎的Sensors(传感器即触发器)、Controllers(控制器)、Actuators(执行器)机制,同时采用ECS**做实现

采用反射机制实现Event架构类似火炬之光的数据驱动模型

3D Render Pipeline

固定管线就是动作技能框架,可编程管线就是数据和算法; Action定义了固定管线,而可编程管线Vertex Shader即Event的派生机制,Pixel Shader即Attack Entity的派生机制和各种运动插值算法派生实现

设计之原理

Action

包含了动作(Animation)、特效(Effect)、音效(Audio)、相机(Camera)、攻击定义(AttackDef)、Action打断(ActionInterrupt)等Actor元素

Event

包含了事件数据和处理数据的执行逻辑,一个Actor里又包含很多Event元素

AttackDef

包含发射器、攻击定义体(Entity)、攻击定义体属性(EntityComponent)、运动器(Animator)、受击系统(AttackHit)、BUFF伤害数值系统等

ActionInterrupt

本质是当前Action允许被其它Action在不同条件下的触发

AI

本质是基于是一组Action在不同条件下的触发

image link

可编程管线图

版本2.0已经实现全新技能管线和所有可编程模块,方便开发者用于扩展,同时新增AI和BUFF两大功能。

image link

应购买者需求,开源一个UI Lua热更框架,希望能喜欢,给予更多的支持!https://github.com/SuperCLine/ui-framework.git

如果你是购买者可以申请加入开发者组织!

actioneditor's People

Contributors

supercline avatar

Watchers

 avatar

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.