Giter VIP home page Giter VIP logo

pre-rendered-backgrounds's Introduction

An Adventure in Pre-Rendered Backgrounds

Created by programmer Justin Meiners and 3D artist Hunter Rasmussen.

This repository contains:

  • the source code for our pre-rendered backgrounds game prototype.
  • a summary of our project.
  • the source code for a game engine written in C focused on mobile devices.

Building on macOS

  1. Install SDL 2

    Homebrew makes this easy:

    brew install sdl2
    
  2. Build and run in Xcode

Building on other Platforms

This project was written for macOS, although it should be reasonably portable to other systems. The bulk of the code is portable C, or C which can be trivially adjusted to build on other platforms.

It also depends on:

  • SDL 2. Just used for windowing and input. This can be replaced with any other method for creating an OpenGL context.

  • OpenGL 3.2

  • Core Audio

The engine uses an abstraction layer between OpenGL renderer and CoreAudio. These modules are independent of the rest of the engine and could be easily replaced with another implementation. For example, the OpenGL renderer could be replaced with one for Metal or DirectX.

iOS

Another game I wrote uses this engine on iOS. To port to iOS, the SDL windowing needs to be replaced with a standard iOS OpenGL view. The shaders need to be changed from 3.2 GLSL grammar to the ES 2.0 version.

Structure

  • data/ game data such as models, textures, etc.
  • docs/ the summary of our project.
  • source/engine/ portable game and engine code.
  • source/platform/ API or platform-specific modules.
  • support/ project files for Xcode or your IDE.
  • tools/ asset creation tools such as scripts for Blender.

Game Data

To run the game, you will need to acquire the data. You can download this from the releases page.

License

The code is licensed under GPL.

pre-rendered-backgrounds's People

Contributors

aribecajob avatar justinmeiners avatar rpendleton avatar

Stargazers

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

Watchers

 avatar  avatar  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.