{"id":21379849,"url":"https://github.com/gochenryan/makegameengineatnight_book","last_synced_at":"2026-01-03T16:04:27.115Z","repository":{"id":111528884,"uuid":"365896562","full_name":"GochenRyan/makegameengineatnight_book","owner":"GochenRyan","description":"一本教你实现游戏引擎的书","archived":false,"fork":false,"pushed_at":"2021-05-08T11:39:29.000Z","size":29056,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T22:41:25.201Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GochenRyan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-10T02:32:57.000Z","updated_at":"2021-05-22T11:19:20.000Z","dependencies_parsed_at":"2023-06-28T08:31:01.840Z","dependency_job_id":null,"html_url":"https://github.com/GochenRyan/makegameengineatnight_book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GochenRyan%2Fmakegameengineatnight_book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GochenRyan%2Fmakegameengineatnight_book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GochenRyan%2Fmakegameengineatnight_book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GochenRyan%2Fmakegameengineatnight_book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GochenRyan","download_url":"https://codeload.github.com/GochenRyan/makegameengineatnight_book/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858929,"owners_count":20359260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T10:32:46.414Z","updated_at":"2026-01-03T16:04:27.103Z","avatar_url":"https://github.com/GochenRyan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## 游戏引擎 浅入浅出\n\n我们每天与游戏引擎打交道，有时候会心痒痒想了解游戏引擎是怎么做的，但是游戏引擎是如此庞大的一个工程，如虚幻这行业至尊，代码量更是复杂到以千万行计，个人想完成一个游戏引擎似乎是不可能的事情。\n\n不如退而求其次，从实现一个简单的游戏引擎入门，然后再深入Unity/Unreal的源码去钻研。\n\n本书拆分游戏引擎的多个模块，到书中的每一章进行讲解，最终实现一个简单的游戏引擎。\n\n**本书提供的内容**\n\n一个简单的游戏引擎，有各种开源库+引擎逻辑组合而成，本书主要介绍各种开源库的使用方法，以及对它们进行组合的过程。\n\n对从事游戏性能优化工作的开发者也有所帮助，从本书中或许可以找到以下问题的答案：\n\n1. 为什么要合并DrawCall？\n2. 为什么要减少顶点？\n3. 为什么要减少骨骼数量？\n4. 为什么要将图片压缩为不同的格式？\n5. 为什么要烘焙灯光贴图？\n6. 为什么要减少阴影？\n7. 为什么……？\n\n\n**本书不涉及内容**\n\n1. 图形学\n2. 物理学\n3. 硬件知识\n\n\n\n**本书正确的学习方式**\n\n图书以实战为主，大部分章节都有CLion实例项目，项目路径在章节开头或结尾给出。\n个人推荐的学习方式如下：\n1. CLion打开项目，编译运行，看看效果。\n2. 过一遍代码，断点调试一下。\n3. 看一遍章节内容。\n4. 再过一遍代码。\n\n**资源下载**\n\n本书Markdown以及章节配套项目托管在Github、腾讯工蜂上，读书过程中有疑问、发现错误都可以提Issues。\n\n    Github：https://github.com/ThisisGame/makegameengineatnight\n\n    腾讯工蜂：https://git.code.tencent.com/ThisisGame/makegameengineatnight\n\n**鸣谢**\n\n[![CLion](./imgs/readme/jetbrains-variant-4.png \"CLion\")](https://jb.gg/OpenSource)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgochenryan%2Fmakegameengineatnight_book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgochenryan%2Fmakegameengineatnight_book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgochenryan%2Fmakegameengineatnight_book/lists"}