Giter Club home page Giter Club logo

sakurai's Introduction

Sakurai

Ubuntu CI Windows CI

Turn based role-playing game for real mode DOS. Currently in development... kinda.


This file is intended for development purposes, if isn't your case please check:

Compilation

Modern platforms

Install sdl2 and cmake:

  • In Ubuntu with: apt install libsdl2-dev
  • Using vcpkg the same in Windows: vcpkg install sdl2:x64-windows
  • Other platforms should work in a similar fashion.

Finally clone and compile the repository with:

git clone https://github.com/baAlex/Sakurai.git sakurai
cd sakurai
git submodule init
git submodule update

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . --config Debug

For a release build the same procedure as above except for:

cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release

DOS

The compilation requires a modern platform, a Posix compatible OS, gcc-ia16-elf and fasm.

  • In Ubuntu you can install them with: apt install gcc-ia16-elf fasm
  • Other platforms should work in a similar fashion.

A bash script covers the process, run:

./resources/compile-dos.sh

Is not an elegant process since the engine is written in Assembly and the game code in C, on top of that it compiles for real mode in a medium memory model. No extender will save us :(.

Assets

Only ruby is required. The same assets works for both modern platforms and DOS.

A ruby script covers the process:

ruby ./resources/compile-assets.rb

License

Copyright (c) 2020 Alexander Brandt.

Source code under MIT License.

Files in folders "assets" and "assets-dev" distributed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License. For more information see https://creativecommons.org/licenses/by-nc-sa/4.0/.


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.