• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

ScrappyCocco/ScrapEngine: A very simple real-time Vulkan 3D game engine

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

ScrappyCocco/ScrapEngine

开源软件地址:

https://github.com/ScrappyCocco/ScrapEngine

开源编程语言:

C++ 98.2%

开源软件介绍:

Engine Logo

An engine made of scrap code /s

Build command Status
cppcheck cppcheck

Description

I have always been passionate about game development and rendering, and I wanted to go deeper into it. With the arrival of Vulkan, I thought it was a good time to start learning how a game engine works. The development of his game engine started on July 2018, and at the beginning of August 2018 it was able to render the basic triangle. Since then I had to slow down for a few months because of University and its projects, but on August 2019 this repository has been made public with the release of the first working small game tagged as demo 1.

I followed mostly Alexander Vulkan tutorial and SaschaWillems Vulkan examples to understand the basics and to develop it.

It is a very simple game engine, made mostly to understand the basics of rendering and how to connect multiple parts between them (input-render-audio-physics).

It is not perfect and is not intended to be used in production, is a personal project made to study Vulkan, feel free to modify it if you want. If you have any question feel free to open an Issue.

How to build the engine

To see how to build the engine from the source code, please read the wiki page.

Known problems

Since it's a engine made from zero, the GameObject-Component structure is not perfect and may lead to bugs or errors involving transformations or rotation. Specially when moving the GameObject with multiple components or a GameObject and its children. This is known when the user try to rotate a RigidbodyComponent.

There may be other parts of the engine that do not work perfectly or as expected.

I will try to make it better and to fix all the issues about it.

What's next

I currently do not plan to keep working/updating this repository. I will not archive it and will leave it open to receive questions, pull requests or similar if anyone is interested in it.

Previous TODO list:

  • Directional light and Shadow-Mapping;
  • (Should improve Forward Rendering structure or move to Deferred Rendering before adding more lights);
  • Omnidirectional light and Shadow-Mapping;
  • [...?]

Special thanks

  • SaschaWillems for all his Vulkan examples and for his suggestions on Discord;
  • Charles for all his support during the whole development, helping me understanding where and what the problem was, and for all his help and suggestions;
  • My friends frncscdf and davidepi for their suggestions and support;
  • All the people in the Vulkan Discord server.

Vulkan FAQ

  • How do you render multiple objects? How do you render the UI?
  • Resources to understand the basics of lights/shadows

Download / Example gameplay gif

You can download this example game here.

Version #1 of the game: GIF.

Version #2 of the game: Example game Gif gameplay




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
starmelt/craftyjstut: This is a Tutorial for the Crafty JavaScript Game Engine发布时间:2022-06-08
下一篇:
hsalamat/GameEngineDevelopment2发布时间:2022-06-08
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap