Giter Site home page Giter Site logo

stefanmielke / nkaruga_n64 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rinnegatamante/nkaruga

1.0 1.0 0.0 22.3 MB

2D bullet hell shoot'em-up - N64 Port

License: MIT License

Shell 0.01% C++ 0.95% C 98.74% Objective-C 0.24% Makefile 0.02% CMake 0.01% M4 0.05%

nkaruga_n64's Introduction

nKaruga N64

nKaruga port for the Nintendo 64.

Controls

Confirm: A Shoot: R Change Mode: B Options: C Up Pause: Start

Status

Glitched graphics (still have to convert all images to RGBA5551).

Runs better on real hardware (but not full-speed). Will struggle on emulators.

Music/sounds not implemented.

Changes from Original

  • Moved to RGBA5551 to improve performance. SDL2 copies creates another buffer when the format is not the same as the target texture used by the window.
  • No sounds.

Building

  • Clone the repo with submodules
  • Use libdragon to run build.sh.


ORIGINAL README

nKaruga

nKaruga originated on the TI-Nspire calculator series as a C++ game that I started writing order to get better at programming games. The now outdated code to this version is freely readable at its own repository. It is not out of the question that I port this game back to its original platform when I am done with it.

Playing nKaruga

The latest released version of nKaruga is playable for free on GameJolt, and it is highly advised to do so if you just want to play the game. The code on this repository is not the code for the latest playable build. Everything you need to know to play the game is explained there.

Building nKaruga

nKaruga uses its own graphics engine, n2DLib, built on top of SDL2. It also uses SDL2_mixer to handle sound, thus, those two libraries are necessary. In this repository, I have included everything one should need to build nKaruga out of the box, including the SDL2 and SDL2_mixer binaries for Windows and Linux systems, regardless of their platform (i686 or x86_64). However, this means that the licences in this repository are not uniform : the SDL2 and SDL2_mixer binaries, SO and include files are subject to their own licences (check the SDL2 and SDL2_mixer websites for more info). The entirety of the nKaruga source files, apart from the aforementionned files, is under the MIT licence.

Building on Linux

nKaruga should be buildable on Linux out of the box. Simply clone the repository in a new folder, and run make linux. Building nKaruga does not require to install SDL2, SDL2-dev, SDL2_mixer or SDL2_mixer-dev. The necessary files are included in the repository.

You will need zip in order to run make deploy.

Building on Windows

In order to build nKaruga on Windows, you will need a functionning installation of MSYS2. Such an installation can be acquired by following the steps on the main website. Once MSYS2 is installed, you will need the following dependencies :

  • gcc : pacman -S gcc
  • make : pacman -S make
  • Optionally, zip (to run make deploy) : pacman -S zip

Once all of this is installed, you can build nKaruga by running make windows or make in the repository's directory.

Build targets

  • make or make windows : build nKaruga for Windows platforms (works on all platforms that support MSYS2, ie Windows XP excluded onwards)
  • make linux : build nKaruga for Linux platforms (should work on all platforms where SDL2 and SDL2_mixer work ; tested with Ubuntu 32 bits and KDE 64 bits)
  • make mac : build nKaruga for macOS platforms (should work on all platforms where SDL2 and SDL2_mixer work ; tested with macOS 10.12 Sierra)
  • make deploy : on Windows, package a build as releases/nKaruga.zip (change RELEASE_DIR and OUT_NAME in the makefile to change this)
  • make deploy-linux : on Linux, same as above
  • make clean : cleanup build files (includes executable, dependencies and .o obj files)

nkaruga_n64's People

Contributors

juju2143 avatar matrefeytontias avatar rinnegatamante avatar stefanmielke avatar

Stargazers

 avatar

Watchers

 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.