All Projects → twem007 → P1

twem007 / P1

Licence: mit
一个基于EgretEngine的开发框架

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to P1

Phaser Node Kit
Rapid Game Development with PhaserJS and Node for Modern Browsers
Stars: ✭ 39 (-76.79%)
Mutual labels:  framework, html5-game
Lovepotion
💖 Lua + LÖVE + 3DS = LövePotion
Stars: ✭ 166 (-1.19%)
Mutual labels:  framework
Mandarinets
Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Stars: ✭ 161 (-4.17%)
Mutual labels:  framework
Uhaha
High Availability Framework for Happy Data
Stars: ✭ 164 (-2.38%)
Mutual labels:  framework
Snail
An observables framework for Swift
Stars: ✭ 163 (-2.98%)
Mutual labels:  framework
Primitiv
A Neural Network Toolkit.
Stars: ✭ 164 (-2.38%)
Mutual labels:  framework
Objfw
[Official Mirror] A portable framework for the Objective-C language.
Stars: ✭ 161 (-4.17%)
Mutual labels:  framework
Ncf
NeuCharFramework Template Project
Stars: ✭ 167 (-0.6%)
Mutual labels:  framework
Ignition Go
Bootstrap4 /Codeigniter 3 Modular (HMVC) App Building Framework - to build enterprise class web applications... Versions: CodeIgniter 3.1.9 AdminLTE 3.4 Bootstrap 4.5.0
Stars: ✭ 166 (-1.19%)
Mutual labels:  framework
Qframework
Unity3D System Design Architecture
Stars: ✭ 2,326 (+1284.52%)
Mutual labels:  framework
Amazium
The responsive CSS web framework
Stars: ✭ 163 (-2.98%)
Mutual labels:  framework
Gene For Php7
Simple, high performance,C extension framework for php!(php-gene-for-php7)
Stars: ✭ 163 (-2.98%)
Mutual labels:  framework
Fuselibs
Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps.
Stars: ✭ 164 (-2.38%)
Mutual labels:  framework
Mono
Minimalist Framework on top of Express.js
Stars: ✭ 163 (-2.98%)
Mutual labels:  framework
Framework
This repository contains the core code of Laravel Zero
Stars: ✭ 167 (-0.6%)
Mutual labels:  framework
Fastapi Crudrouter
A dynamic FastAPI router that automatically creates CRUD routes for your models
Stars: ✭ 159 (-5.36%)
Mutual labels:  framework
Shackle
High-Performance Erlang Network Client Framework
Stars: ✭ 163 (-2.98%)
Mutual labels:  framework
Revo
Event Sourcing, CQRS and DDD framework for C#/.NET Core.
Stars: ✭ 162 (-3.57%)
Mutual labels:  framework
Slither.io Clone
Learn how to make Slither.io with JavaScript and Phaser! This game clones all the core features of Slither.io, including mouse-following controls, snake collisions, food, snake growth, eyes, and more. Progress through each part of the source code with our Slither.io tutorial series.
Stars: ✭ 168 (+0%)
Mutual labels:  html5-game
Tawian Frontend
A markdowny CSS framework
Stars: ✭ 167 (-0.6%)
Mutual labels:  framework

框架说明

Build Status

交流QQ群:65384669

目录

  1. 框架定位
  2. 框架初始化流程
  3. 模块进入流程
  4. 模块退出流程
  5. 君子约定
  6. Egret相关
  7. 待办事宜
  8. 代码示例
  9. Lisence

框架定位:

「让做游戏变简单!」

本框架定位于简化游戏流程,提高团队开发效率,目前提供了管理模块间关系,处理底层事务,及松散的工具集合,使开发者专注于游戏本身的逻辑。

框架初始化流程:

模块进入流程:

模块退出流程:

君子约定:

  1. 类文件及类名统一首字母大写,文件名不宜过长,尽量在单个文件内写一个类,只有当前类引用的类和枚举可以写在同一文件内
  2. 资源文件统一小写
  3. 给接口名称加上大写字母I做为前缀,表示该类型为接口类型
  4. 成员变量以m_开头
  5. 私有静态变量以s_开头
  6. 临时变量以t_开头
  7. 常量及枚举项所有单词大写

Egret相关:

  1. 通过FrameEventCenter替代帧循环监听
  2. 通过TimerManager替代new Timer
  3. 尽量用序列帧代替透明度渐变及遮罩实现的动画
  4. 少用get、set语法糖,如需使用子类在调用父类的get、set需采用egret自身封装的方法
  5. 图片资源尽量合并为大图
  6. 文本文件采用zip压缩
  7. 常用UI面板关闭时尽量缓存
  8. 减少频繁的实例化,请使用对象池
  9. 在适当的时候销毁实例化对象及Resource加载的资源
  10. 根据变量的使用频率决定它是否为临时变量
  11. 注意UI与逻辑分离,逻辑与数据分离,
  12. 谨慎的选择需要使用的容器类型,显示类尽量从Component和EUIComponent继承

待办事宜:

  • [X] 为进行中
  • [ ] 为未开始

  • [X] 修复框架中的BUG
  • [ ] 常用UI组件的开发

功能列表:

  1. EXCEL配置表导出工具:自动将EXCEL导出为zip文件,并生成ts数据结构代码ConfigDef.ts,使用需手动将zip重命名为config.zip,放入resource/assets/config/目录下,ConfigDef.ts放入src/core/config/目录下
  2. Protobuf文件导出工具,并自动生成ts代码,自动导入到工程
  3. 模块管理流程
  4. 对象池
  5. 影片剪辑工厂
  6. 声音管理器,通过配置表实现声音的播放管理、覆盖关系
  7. 资源组加载器
  8. HTTP、websocket的易用性封装
  9. 事件管理器
  10. 帧循环管理器
  11. 输入管理器
  12. 层管理器
  13. Loading管理器
  14. timer管理器
  15. 字典类
  16. LocalStorage易用性封装 ...

Lisence

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].