【文件属性】:
文件名称:quantum-pulse:使用opengl在go中创建实体组件系统游戏引擎的实验
文件大小:381KB
文件格式:ZIP
更新时间:2021-05-09 19:01:53
go opengl game-engine entity-component-system Go
量子脉冲游戏引擎
什么是量子脉冲
Quantum Pulse是一个学习项目,旨在使用go构建基于实体组件系统的游戏引擎
要求
去1.8+
OpenGL 4.1以上版本
入门
十六进制地图示例
// Create the engine
e := engine. Engine {}
// Initialize the engine. This will create the window.
err := e . Init ( screenWidth , screenHeight , windowTitle )
if err != nil {
panic ( err )
}
// Now load a json scene file.
sceneID , err := e . LoadSceneFile ( "scene1.json" )
if err != nil {
pa
【文件预览】:
quantum-pulse-master
----.gitignore(271B)
----entity()
--------doc.go(91B)
--------entity.go(3KB)
----components()
--------doc.go(111B)
--------acceleration.go(2KB)
--------velocity.go(2KB)
--------mesh.go(2KB)
--------component.go(201B)
--------transform.go(3KB)
--------animation.go(93B)
--------camera.go(4KB)
----doc.go(148B)
----LICENSE.md(1KB)
----resources()
--------shaderManager.go(5KB)
--------doc.go(98B)
--------resourceManager.go(514B)
--------textureManager.go(3KB)
--------shader.go(5KB)
----.travis.yml(175B)
----systems()
--------doc.go(83B)
--------renderer.go(7KB)
--------movement.go(5KB)
--------system.go(926B)
--------animator.go(2KB)
----engine()
--------scene.go(4KB)
--------engine.go(5KB)
----examples()
--------hex-map()
----README.md(1KB)
----.gitattributes(298B)