Code Monkey home page Code Monkey logo

ludumdare46-2's Introduction

Ludum Dare 46: based on the GBA Project Template

rug

Download the rom here: https://github.com/timostrating/Ludumdare46/raw/master/docs/KeepTheGameBoyAlive.gba

Play on a web emulator here: https://timostrating.github.io/Ludumdare46/




this project is based on a template created by the work of Tonc and Luc van den Brand: https://github.com/LucvandenBrand/GBA_Project_Template

GBA Project Template

This repository contains a basic setup for building structured and test-driven Game Boy Advance (GBA) applications.

Project structure

The actual content of the GBA application is stored in source:

  • app : This is where all code resides in .c and .h files. Tests are named *.test.c.
  • assets : All sound, images, sprites and maps are stored here.
  • data : All game data, like entity information and default settings are stored here.

The tools folder contains tools and libraries that ease development, the lib folder contains all external libraries used.

Setting up

This project has been configured for Linux, and will most probably not work in other environments without tweaking. In order to be able to build this project, you will need to perform the following steps:

  1. Install DevkitPro for the GBA and setup the right environment variables (see this guide)
  2. Make sure all submodules are present by calling git submodule update --init --recursive.

After this, you should be ready to build the project.

Building

Once the project has been setup properly, the only thing a developer needs to do is to call the right make commands from the root of the project:

  • make : builds the game and exports a .gba file.
  • make test : builds both the game and its tests in the .test.c files, exporting a .gba file that runs all these tests. This is made possible by the minunit_test_builder in the tools folder and the minunit testing library.
  • make clean : removes all junk created by the building processes above.

ludumdare46-2's People

Contributors

lucvandenbrand avatar timostrating avatar

Watchers

James Cloos 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.