From aa88d294a6d7d4d40dce1a3e6772e99f9a008eba Mon Sep 17 00:00:00 2001 From: Ziyu Date: Fri, 26 Dec 2025 13:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=B8=AD=E6=96=87readme?= =?UTF-8?q?=E5=8F=8A=E7=BD=91=E9=A1=B5=E8=AF=95=E7=8E=A9=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-ZN.md | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 23 +++++++++++++++ build_web | 1 + 3 files changed, 105 insertions(+) create mode 100644 README-ZN.md create mode 160000 build_web diff --git a/README-ZN.md b/README-ZN.md new file mode 100644 index 0000000..b3960aa --- /dev/null +++ b/README-ZN.md @@ -0,0 +1,81 @@ +[English](README.md) | [简体中文](README-ZN.md) + +# SunnyLand +**SunnyLand** 是一个使用 SDL3, glm, nlohmann-json 和 Tiled 开发的 C++ 跨平台平台跳跃游戏。 + +> 本项目是一个教学演示项目;它是系列教程 "[C++ 游戏开发之旅](https://cppgamedev.top/)" 的第 3 集。 + +## 控制 +``` +A,D / 左,右 - 移动; +W,S / 上,下 - 攀爬; +J / 空格 - 跳跃; +P / ESC - 显示菜单和暂停; +``` + +## 在网页上游玩 +[SunnyLand](https://wispsnow.github.io/SunnyLand/) + +## 截图 + + + + + +## 第三方库 +* [SDL3](https://github.com/libsdl-org/SDL) +* [SDL3_image](https://github.com/libsdl-org/SDL_image) +* [SDL3_mixer](https://github.com/libsdl-org/SDL_mixer) +* [SDL3_ttf](https://github.com/libsdl-org/SDL_ttf) +* [glm](https://github.com/g-truc/glm) +* [nlohmann-json](https://github.com/nlohmann/json) +* [spdlog](https://github.com/gabime/spdlog) + +## 如何构建 +依赖项将由 Git FetchContent 自动下载,使构建非常容易: +```bash +git clone https://github.com/WispSnow/SunnyLand.git +cd SunnyLand +cmake -S . -B build +cmake --build build +``` + +如果你在从 GitHub 下载时遇到问题(尤其是在中国大陆网络环境下),请参考 [wiki](../../wiki) 获取替代构建指南。 + +# 致谢 +- 精灵 + - https://ansimuz.itch.io/sunny-land-pixel-game-art +- 特效 + - https://ansimuz.itch.io/sunny-land-pixel-game-art +- 字体 + - https://timothyqiu.itch.io/vonwaon-bitmap +- UI + - https://markiro.itch.io/hud-asset-pack + - https://bdragon1727.itch.io/platformer-ui-buttons +- 音效 + - https://taira-komori.jpn.org/ + - https://pixabay.com/sound-effects/dead-8bit-41400/ + - https://pixabay.com/sound-effects/cartoon-jump-6462/ + - https://pixabay.com/zh/sound-effects/frog-quak-81741/ + - https://mmvpm.itch.io/platformer-sound-fx-pack + - https://kasse.itch.io/ui-buttons-sound-effects-pack +- 音乐 + - https://ansimuz.itch.io/sunny-land-pixel-game-art + +- 赞助者: `sino`, `李同学` + +## 联系方式 + +若需支持或反馈,请通过本仓库的 GitHub issues 板块联系我们。您的反馈对改进本系列教程至关重要! + +## 请我喝咖啡 +[!["Buy Me A Coffee"](https://storage.ko-fi.com/cdn/kofi2.png?v=3)](https://ko-fi.com/ziyugamedev) +[!["Support me on Afdian"](https://pic1.afdiancdn.com/static/img/welcome/button-sponsorme.png)](https://afdian.com/a/ziyugamedev) + + +## QQ 交流群和我的微信二维码 + +
+ + +
diff --git a/README.md b/README.md index 9433cd4..3e1cf5e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ +[English](README.md) | [简体中文](README-ZN.md) + # SunnyLand **SunnyLand** is a cross-platfrom platformer game developed in C++ with SDL3, glm, nlohmann-json and Tiled. +> This project is a teaching demonstration project; it is the 3rd episode in a series of tutorials titled "[C++ 游戏开发之旅](https://cppgamedev.top/)". + ## Control ``` A,D / left,right - to move; @@ -9,6 +13,9 @@ J / Space - to jump; P / ESC - show menu and pause; ``` +## Play on Webpage +[SunnyLand](https://wispsnow.github.io/SunnyLand/) + ## ScreenShot @@ -57,3 +64,19 @@ If you encounter trouble downloading from GitHub (especially on networks in main - Sponsors: `sino`, `李同学` +## Contact + +For support or feedback, please contact us through the GitHub issues section of this repository. Your feedback is crucial for making this series of tutorials better! + +## Buy Me a Coffee +[!["Buy Me A Coffee"](https://storage.ko-fi.com/cdn/kofi2.png?v=3)](https://ko-fi.com/ziyugamedev) +[!["Support me on Afdian"](https://pic1.afdiancdn.com/static/img/welcome/button-sponsorme.png)](https://afdian.com/a/ziyugamedev) + + + +## QQ Discussion Group and My WeChat QR Code + +
+ + +
\ No newline at end of file diff --git a/build_web b/build_web new file mode 160000 index 0000000..0e87798 --- /dev/null +++ b/build_web @@ -0,0 +1 @@ +Subproject commit 0e877989471abe35ea3331e8220e8a3eb7758fdd