Code Monkey home page Code Monkey logo

etherx's Introduction

logo

EtherX

基于 SDL2 等开源项目实现的以教学场景为目标的 C++ 游戏开发工具库


本项目命名灵感来自 EasyX,但由于 EasyX 至今尚未开源,且其过度依赖 Windows 编程模型,考虑到部分开发者的诉求,EtherX 希望在一定程度上成为 EasyX 的替代解决方案。需要注意的是,虽然命名十分相像,但本项目与 EtherEngineXEtherEngine 均没有直接联系!

项目简介

  • 单头文件依赖,通过开关宏决定是否将函数实现引入
  • 本项目由 SDL2 和相关开源项目封装而成,支持 Windows,Mac,Linux 等平台
  • 除去 几何图元绘制、音媒体播放、图片及文字渲染等常见功能,本项目将计划支持 即时 GUI 、多种数据存储格式解析和网络等功能,目前仍在开发中
  • 相较于 EasyX 基于 Windows GDI 和相关系统接口进行开发,EtherX 支持更多的图片和音媒体格式,在绘图方面使用 DirectX/OpenGL 进行硬件加速,且接口模型更加清晰简明,易学易用
  • 本项目以教学为目的,考虑到对部分老旧设备支持,Release 目前只提供 Windows_x86 模式下的静态链接库版本,如需其他版本或其他操作系统支持,请自行编译源码
  • 本项目基于 MIT 协议开放源代码,任何人都可以对源码及衍生作品进行修改、发布、出售和再许可,但是使用者必须在相关的作品中声明其出处

本地编译

  • 如果您使用 MSVC 相关编译器,可以直接 下载最新的 Release 版本
  • 项目工程是基于 VS2019 搭建的静态库导出项目,SDL2 及相关依赖库已静态编译完成,可以直接拉取编译
  • 如果您希望得到其他版本的 EtherX 静态库,可以下载并编译下表所示的全部依赖项,将 EtherX.h 添加到您的项目中,并定义 ETHERX_IMPLEMENTATION 宏确保所有的函数实现添加到编译内容中
库名称 网址
SDL - 2.0.17 https://github.com/libsdl-org/SDL/
SDL_image - 2.0.5 https://www.libsdl.org/projects/SDL_image/
SDL_gfx - 1.0.4 https://sourceforge.net/projects/sdlgfx/
SDL_mixer - 2.0.4 https://www.libsdl.org/projects/SDL_mixer/
SDL_ttf - 2.0.15 https://www.libsdl.org/projects/SDL_ttf/

教程文档

联系开发者

请直接 提交 issue 或发送邮件至: [email protected]
QQ 群讨论组:679412727直接加入

赞助与支持

EtherX 是一个非盈利性项目,感谢对作者进行赞助与支持,以帮助作者维护和产出更好的作品

您可以在备注中写明是否愿意将您添加至赞助者名单,并且备注您希望展示的账户名和是否愿意公开金额,默认展示付款账户名(敏感信息加密)和金额,截止目前为止的赞助者名单 见此处,排名不分先后

微信 支付宝
微信收款码 支付宝收款码

etherx's People

Contributors

hszsoft avatar voidmatrixheathcliff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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.