Giter Site home page Giter Site logo

gameb's Introduction

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 [email protected] is public domain (or possibly MIT licensed) and a copy of its license can be found in the miniz.c file.

gameb's People

Contributors

ryanries avatar coreyp1 avatar weirddan455 avatar marinoandrea avatar androthi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.