Giter Site home page Giter Site logo

buifehwq / retro8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakz/retro8

0.0 0.0 0.0 1.16 MB

PICO-8 implementation with SDL2/SDL1.2 and RetroArch back-ends

License: GNU General Public License v3.0

Shell 0.08% C++ 81.93% Perl 0.01% C 15.20% Lua 0.21% Makefile 0.60% CMake 1.98%

retro8's Introduction

Introduction

This is an attempt to have an open source reimplementation of PICO-8 fantasy console to be used on Desktop platforms but especially wherever you want to compile it.

It was born as an attempt to make PICO-8 games playable on OpenDingux devices (GCW0, RG350, ..). It has now been extended to be compiled as a RetroArch core too.

Implementation

The emulator is written in C++11 and embeds Lua source code (to allow extensions to the language that PICO-8 has). It has a SDL2.0 back-end but a SDL1.2 back-end wouldn't be hard to implement.

Status

Currently much of the API is already working with good performance, even basic sound and music are working.

Many demos already work and even some full games.

  • All graphics functions have been implemented but not all their subfeatures,
  • All math functions have been implemented,
  • Sound functions have been implemented together with an audio renderer stack but many effects still missing
  • Common platform functions have been implemented
  • Some Lua language extensions have been implemented
  • Many quirks of the Lua extensions are implemented but some of most obscure things are still missing

Fixed arithmetic support is still missing.

Screenshots

Building

If you want to build a libretro backend:

make

If you want to build a local binary you can run:

cmake .
make

If you want to cross-compile for OpenDingux:

cmake -DOPENDINGUX=ON .
make

If you want to compile for retrofw (assuming your compiler is installed per retrofw instructions):

CROSS=/opt/mipsel-linux-uclibc/bin/mipsel-buildroot-linux-uclibc- cmake -DRETROFW=ON .
make

To build an OpenDingux OPK file once your binary is built:

mkdir -p projects/opendingux
cp -a retro8 projects/opendingux/
cd projects
./build_opk_od.sh

retro8's People

Contributors

jakz avatar inactive123 avatar p-sam avatar gouchi avatar glebm avatar jstine35 avatar kivutar avatar leolobato avatar mibus avatar phcoder 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.