Cerium:使用C ++ 14和现代OpenGL与SDL2编写并在lua中编写脚本的业余2D游戏引擎 源码
用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
下载地址
用户评论