Code Monkey home page Code Monkey logo

gameframework2d's Introduction

gameframework2d (GF2D)

a collection of utlitity functions designed to facilitate creating 2D games with SDL2 This project is specifically intended to function as an educational tool for my students taking 2D Game Programming.

FOR FULL FEATURES CHECKOUT THE MASTER BRANCH Students: Don't do that. You are not ready.... yet.

The main branch is kept deliberately minimal to allow students to build out systems as they are learning. Other branches have more complete system: Collisions, Windows, Armatures, Entities, Particles...

Build Process

Before you can build the example code we are providing for you, you will need to obtain the libraries required by the source code

  • SDL2
  • SDL2_image
  • SDL2_mixer
  • SDL2_ttf There are additional sub modules that are needed for this project to work as well, but they can be pulled right from within the project. Performable from the following steps from the root of the cloned git repository within a terminal.

Make sure you fetch submodules: git submodule update --init --recursive Go into each submodule's src directory and type: make make static

Once each submodule has been made you can go into the base project src folder anre simply type: make

You should now have a gf2d binary within the root of your git repository. Executing this will start your game.

video overviews and tutorials

Overview: https://www.youtube.com/watch?v=nvVQ_n6ycC4

Linux Setup: https://www.youtube.com/watch?v=0Znnv5C4mCo

Windows Setup: https://www.youtube.com/watch?v=zj_egJ4sw3I

gameframework2d's People

Contributors

engineeroflies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gameframework2d's Issues

Sequence System

Create a subsystem to manage a sequence of events
Useful for story events

gf2d_tiles

tile layers should be their own thing

Level Editor: Make Stand Alone

Into its own branch or a new repository:
Take all of the level editing code and config and make it work independently of gf2d

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.