1 Star 5 Fork 16

gite-hub / libaxys

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

axmol logo

Axmol引擎

A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)

dev LICENSE Codacy Badge cxxstd PRs Welcome QQ Group

English

支持平台列表

Build Status (github)
Windows(win32,winuwp,win32-clang) Win32 CI
Android Android Build Status
iOS iOS Build Status
tvOS tvOS Build Status
Linux Linux Build Status
macOS macOS Build Status
WASM(experimental) WASM Build Status

构建

请查看: Dev setup instructions.

渲染后端

  • Metal: macOS, iOS
  • OpenGL 3.3+: Linux, macOS, Win32
  • OpenGL ES 2.0+: Android
  • OpenGL ES 3.0+: iOS
  • ANGLE GLES 3.0+: Win32, WinUWP
  • WebGL 2.0(OpenGL ES 3.0): WASM (experimental)

新的媒体播放器

新的媒体播放器ui::MediaPlayer(原命: ui::VideoPlayer) 将视频渲染为纹理,使得游戏对视频渲染控制更加灵活,就像普通UI一样,而无需考虑层级问题。这得益于重新升级的跨平台MediaEngine, 灵感来自微软的媒体基础库(Microsoft Media Foundation): IMFMediaEngine,目前已支持axmol引擎支持的所有平台。

Target Platform Video Compress Format Video Pixel Format Container Format Backend
Windows Desktop H264, HEVC, VP90 YUY2, NV12, RGB32 .mp4,.mkv,.webm IMFMediaSession
Windows UWP H264, HEVC, VP90 BGR32 .mp4,.mkv,.webm IMFMediaEngine
Apple macOS H264, HEVC(hvc1) NV12, BGR32 .mp4 AVFoundation
Apple tvOS H264, HEVC(hvc1) NV12, BGR32 .mp4 AVFoundation
Apple iOS H264, HEVC(hvc1) NV12, BGR32 .mp4 AVFoundation
Android H264, HEVC NV12 .mp4,.mkv,.webm ExoPlayer2
Linux H264, HEVC NV12 .mp4,.mkv,.webm libVLC

主要特性:

  • WebAssembly支持(实验性的)by @nowasm
  • Windows UWP 支持,请参考: https://github.com/axmolengine/axmol/pull/1108
  • 增加tvos支持
  • 增强Windows下工作流,支持链接引擎预编译库, 用法请查看: windows workflow guide
  • Windows 视频播放支持
  • Windows x64编译支持
  • 基于yasio重构HttpClient以支持并发Http请求,不再需要sendImmidate接口
  • 重构AudioEngine, 全平台OpenAL
    • openal-soft, pass -DAX_USE_ALSOFT=ON to cmake to force enable it
    • OpenAL.framework, if no and AX_USE_ALSOFT option specified, cmake script will choose it on osx/ios, even through it was mark as deprecated, but still avaiable.
  • 重构UserDefault, 全平台基于内存映射文件 mio, 性能提升百倍
  • 模块化所有引擎扩展库, 所有扩展库放到extensions目录下,如cocostudio, spine
  • AudioEngine实现wav所有 openal-soft 支持的封装格式, 例如MS-ADPCM, ADPCM等
  • 使用现代化的GL加载器glad代替glew
  • 增加google angle渲染后端支持
  • 设置ios下最低目标平台为ios11.0
  • 使用更快的xml解析库pugixml代替tinyxml2
  • Downloader全平台统一实现,均基于curl
  • 全平台统一使用XML SAX解析plist文件, 移除Apple平台的实现
  • Spine支持
  • 新增FairyGUI支持
  • 新增硬件压缩纹理格式ASTC 4x4/6x6/8x8支持,支持软解
  • 新增硬件压缩纹理格式ETC2 RGB/RGBA支持,支持软解
  • ImGui集成,非常方便写游戏内嵌小工具,用法详见ImGui
  • 完整改动列表,请查看CHANGELOG.md

参考链接

axmol项目活跃状态

Alt

MIT License Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2011 Zynga Inc. Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md). Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于cocos2dx-4 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Lua
1
https://gitee.com/gite-hub/libaxys.git
git@gitee.com:gite-hub/libaxys.git
gite-hub
libaxys
libaxys
dev

搜索帮助