Skip to content

ryanries/GameB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub all releases

GameB

Watch the series on YouTube here.

We are going to make a retro-style video game from scratch, using the C programming language.

This source code repository is companion material to go along with my video series on YouTube.

If you've ever wanted to get into programming, even if you have no coding experience, well... you could start here.

Watch the series on YouTube here.

Follow me on Twitter @JosephRyanRies

YouTube_Screenshot

YouTube_Screenshot2

YouTube_Screenshot3

YouTube_Screenshot4

YouTube_Screenshot5

Build Instructions


The batch file named CopyAssets.bat creates a compressed archive of assets named Assets.dat using the assets stored in the .\Assets directory. The Assets.dat file needs to reside in the same directory as the game executable. If you run the game from the Visual Studio debugger, the working directory of the game will be the same directory as the Visual Studio solution. But if you run the game normally, outside of the debugger, the working directory will be the same directory as the game's executable.

There is also an environment variable you should create. The environment variable is called GAMEBDIR and it should point to the fully-qualified path to the project on your machine. You can use the setx utility to create this environment variable. For example:

C:\>setx GAMEBDIR C:\Users\ryanr\source\repos\GameB

SUCCESS: Specified value was saved.

GAMEBDIR=C:\Users\ryanr\source\repos\GameB

If you are using the Clang compiler, build with the included clang_*.bat batch scripts.

Tools


Some extra tools used to help create this game:

(These are all 3rd party tools I bear no responsibility for and have no control over.)

License


The source code in this project is licensed under the MIT license. The media assets such as artwork, custom fonts, music and sound effects are licensed under a separate license. A copy of that license can be found in the 'Assets' directory. stb_vorbis by Sean Barrett is public domain and a copy of its license can be found in the stb_vorbis.c file. miniz by Rich Geldreich richgel99@gmail.com is public domain (or possibly MIT licensed) and a copy of its license can be found in the miniz.c file.

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages