Git Product home page Git Product logo

gdmec07131018 / legends-of-heroes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flameskydexive/legends-of-heroes

0.0 1.0 0.0 560.12 MB

A battle of balls game, lol style. 基于ET 7.2的双端C#(.net7 + Unity3d)多人在线英雄联盟风格的球球大作战。

License: MIT License

Shell 0.11% C++ 0.38% C 2.16% Emacs Lisp 0.02% Smalltalk 0.01% C# 92.47% PowerShell 0.03% CMake 4.67% Batchfile 0.15%

legends-of-heroes's Introduction

Legends-Of-Heroes

English: please use your browser to translate to english

一个LOL风格的球球大作战游戏,基于ET7.2,使用状态同步

demo JoystickSyncPos20233801581

Main

基于C#双端框架ET7.2 注意:已经升级.Net7,请安装.Net7 SDK.

此游戏为ET7.2的一个实践项目demo,玩法主要是球球大作战类型的吃食物吃敌人/被敌人吃的生存玩法。此项目采用状态同步,所有碰撞检测、技能、AI等逻辑都放在服务端执行。当前仍在开发中,具体功能模块及进度看下面的Todo即可

运行步骤:

    1. Unity打开编辑器菜单:ET/BuildTool,CodeMode选择Client,然后点击BuildModelAndHotfix.
    1. 打开ET.sln,编译整个项目,运行DotNet.App.(服务器、客户端拆分模式才需要单独运行,默认是Client-Server模式)
    1. Unity运行游戏即可看到登录页面,输入账号密码登录即可

TODO && Features

  • 接入Unity运行时可视化Log调试组件Debugger
  • 接入基于UGUI适配ET的UI框架EUI
  • 接入YooAsset资源管理打包热更框架
  • 摇杆控制角色移动,相机跟随,通过服务端广播位置同步
  • 配置表支持多Key(也可自行接入强大的多平台配置方案,当前Demo用不到那么复杂excel就不进行接入了 Luban)。
  • 房间大厅,匹配房友,每个房间最多20个玩家。
  • 一个Demo关卡流程:有限的2d地图,随机生成食物,吃食物会变大,碰到敌人会产生伤害(大吞小,小死亡)。
  • 一个比较基本的战斗技能框架设计,主动/被动技能释放。
  • 时间线技能事件系统
  • 子弹碰撞系统(碰撞检测使用Box2dSharp
  • 额外(有空的话):2d moba玩法。

补充说明

  1. 多key配置说明,表格配置多key如下,字段列头顶增加“key”标识即可,最多支持4个key,组合key最后会合并成一个long字段存储,4个key最大数值分别为:32位,16位,8位,8位。 image

    示例,读取技能等级表中技能id=1001,level=2的数据:

    SkillLevelConfig skillLevel = SkillLevelConfigCategory.Instance.GetByKeys(1001, 2);

特别鸣谢

感谢JetBrains公司提供的使用许可证!

JetBrains的Logo

友情链接/鸣谢

X-ET7 ET7的一个分支,集成FGUI+YooAsset+Luban

NKGMobaBasedOnET 烟雨的开源moba案例,基于ET5.X魔改

XAsset 一个很高效易用强大的资源管理系统(打包/加载/热更)

ETPro ET加强版,基于ET6.0,自带技能系统、UI框架、镜像版无缝大世界。

legends-of-heroes's People

Contributors

flameskydexive avatar

Watchers

James Cloos 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.