Coder Social home page Coder Social logo

asdlei99 / dinky2d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ookcode/dinky2d

0.0 0.0 0.0 3.82 MB

Dinky2d 是一款超精简的2D非商业游戏引擎。   Dinky2d is a simple 2d-game-engine for non-commercial.

License: MIT License

C++ 100.00%

dinky2d's Introduction

Dinky2D

Language: C++ License

介绍

这是一款超精简的2D非商业游戏引擎。

引擎结构参考知名2D游戏引擎 cocos2d-x

您可以使用它:

  • 制作小游戏
  • 学习游戏引擎
  • 学习OpenGL
  • 学习贪吃蛇 :)

进度

目前只支持xcode下的mac工程,windows工程尚未配置 (欢迎PR)

目标 是否完成 备注
基本渲染流程 ✔️ TODO: 渲染批次合并问题
基本矩阵变换 ✔️ 坐标,缩放,旋转,锚点,层次
Node ✔️ 颜色,可见度,透明度
Sprite ✔️ 加载图片,纹理渲染
Layer ✔️ 自定义颜色
定时器 ✔️ 绑定在Node上,可自动释放
键盘输入 ✔️ 代理模式,IMEDelegate
鼠标输入 ✔️ 代理模式,TouchDelegate
Label ✔️ TODO:对齐操作,自动换行操作
Demo ✔️ 石乐志的AI,简单的碰撞检测 - 贪吃蛇

Demo截图

作者

Vincent Yao, [email protected]

协议

Dinky2D 基于 MIT 协议进行分发和使用,更多信息参见协议文件。

dinky2d's People

Contributors

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