superjer/tinyc.games
소개
컴파일하고 실행할 수 있는 작은 C 게임입니다. 이제 Vulkan도 지원합니다!
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originaltinyc.games
Tiny C games you can compile and run RIGHT NOW.
Tools and libraries are available for making cross-platform C games, but simple examples can be hard to find.
This project is an example of how you can get started making a game in C that will work on Windows, Mac and Linux.
Screenshots

Games
Tet
Your classic falling block puzzle game.
Flappy
The original tiny game. A Flappy Bird in only around 200 lines of code.
Blocko
A voxel block-mining game with infinite world and multiplayer.
Zel
A top-down adventure game with an overworld and a dungeon.
Maker
A quick hack to make Zel into a 2D platformer. Very rough around the edges.
How do I run this?
Anything that supports CMake should work. But here are some suggestions for various platforms:
Windows
Install Visual Studio (you can use the free Community Edition) Make sure to check the box for "C++ CMake Tools for Windows." This may be under "Desktop development with C++"
Install the Vulkan SDK (needed for the Vulkan headers and the shader compiler)
Open the tinyc.games folder in Visual Studio. It should detect the CMake config and set everything up
Use the play button to build & run, e.g.
blocko.exe
Linux
Install CMake and Vulkan-SDK (Depends on your system)
Create a build directory inside tinyc.games
mkdir build cd buildRun CMake to fetch libraries and create build scripts
cmake ..Build!
cmake --build . # build all games cmake --build . --target=blocko # build only blockoRun, for example, blocko
./blocko
MacOS
Install CMake. For example if you have Homebrew, run
brew install cmakeInstall the Vulkan SDK for macOS (provides MoltenVK, which runs Vulkan on top of Metal)
Create a build directory and generate an Xcode project file
mkdir build cd build cmake .. -G XcodeOpen the project file with Xcode
Next?
After you're done playing an exhilirating demo game, open a .c file in your favorite text editor. You're now looking at the actual code you just ran. So feel free to tinker and run it with your changes. Or use it as a starting point for your own game!
관련 프로젝트 살펴보기
불러오는 중…