1. 首页
  2. 数据库
  3. 其它
  4. Cerium:使用C ++ 14和现代OpenGL与SDL2编写并在lua中编写脚本的业余2D游戏引擎 源码

Cerium:使用C ++ 14和现代OpenGL与SDL2编写并在lua中编写脚本的业余2D游戏引擎 源码

上传者: 2021-02-21 09:47:14上传 ZIP文件 177.82KB 热度 3次
用C ++ 14和现代OpenGL编写的具有SDL2的业余2D游戏引擎,并使用lua编写脚本 Lua脚本示例 Cerium支持的简单移动脚本 local speed = 100 -- Function running once, at start of game function init () end -- Function running non-stop function update ( deltaTime ) if eventManager. isKeyPressed (KEY_RIGHT) then this. move (vec2. new (speed
下载地址
用户评论