GithubHelp home page GithubHelp logo

luizdepra / tic-80 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nesbox/tic-80

0.0 2.0 0.0 121.88 MB

TIC-80 is a fantasy computer for making, playing and sharing tiny games.

Home Page: https://tic80.com

License: MIT License

C 80.55% C++ 3.65% Makefile 0.14% Java 10.32% HTML 0.40% Objective-C 0.07% CMake 2.22% Shell 0.03% Lua 2.17% JavaScript 0.21% Dockerfile 0.14% Ruby 0.11%

tic-80's Introduction

Build Status

TIC-80 TIC-80 TINY COMPUTER - https://tic80.com

About

TIC-80 is a free and open source fantasy computer for making, playing and sharing tiny games.

With TIC-80 you get built-in tools for development: code, sprites, maps, sound editors and the command line, which is enough to create a mini retro game.

Games are packaged into a cartridge file, which can be easily distributed. TIC-80 works on all popular platforms. This means your cartridge can be played in any device.

To make a retro styled game, the whole process of creation and execution takes place under some technical limitations: 240x136 pixel display, 16 color palette, 256 8x8 color sprites, 4 channel sound, etc.

TIC-80

Features

  • Multiple programming languages: Lua, Moonscript, Javascript, Ruby, Wren, Fennel, and Squirrel.
  • Games can have mouse and keyboard as input
  • Games can have up to 4 controllers as input (with up to 8 buttons, each)
  • Built-in editors: for code, sprites, world maps, sound effects and music
  • An additional memory bank: load different assets from your cartridge while your game is executing
  • Moderated community

Binary Downloads

You can download compiled versions for the major operating systems directly from our releases page.

Nightly builds

Can be downloaded from nightly builds page or from the Github Actions page.

Pro Version

To help support TIC-80 development, we have a PRO Version.

This version has a few additional features and binaries can only be downloaded on our Itch.io page.

For users who can't spend the money, we made it easy to build the pro version from the source code: (cmake .. -DBUILD_PRO=On)

Pro features

  • Save/load cartridges in text format, and create your game in any editor you want, also useful for version control systems.
  • Even more memory banks: instead of having only 1 memory bank you have 8.
  • Export your game without editors, and then publish it to app stores (WIP).

Community

You can play and share games, tools and music at https://tic80.com/play.

The community also hangs out and discusses on Telegram or Discord.

Contributing

You can contribute by reporting a bug or requesting a new feature on our issues page. Keep in mind when engaging on a discussion to follow our Code of Conduct.

You can also contribute by reviewing or improving our wiki. The wiki holds TIC-80 documentation, code snippets and game development tutorials.

Build instructions

Windows

with Visual Studio 2017

  • install Visual Studio 2017
  • install git
  • install Ruby (you can use RubyInstaller)
  • run following commands in cmd
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -G "Visual Studio 15 2017 Win64" ..
  • open TIC-80.sln and build
  • enjoy :)

with MinGW

git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake -G "MinGW Makefiles" ..
mingw32-make -j4

Linux

Ubuntu 14.04

run the following commands in the Terminal

sudo apt-get install git cmake ruby-full libgles1-mesa-dev libglu-dev -y
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake ..
make -j4

to install the latest CMake:

wget "https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh"
sudo sh cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr

Install with Install instructions

Ubuntu 18.04

run the following commands in the Terminal

sudo apt-get install g++ git cmake ruby-full libglvnd-dev libglu1-mesa-dev freeglut3-dev libasound2-dev -y
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake ..
make -j4

Fedora

run the following commands in the Terminal

sudo dnf -y groupinstall "Development Tools"
sudo dnf -y install ruby rubygem-{tk{,-doc},rake,test-unit} cmake libglvnd-devel libglvnd-gles freeglut-devel
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake ..
make -j4

Install with Install instructions

Raspberry Pi (Retropie)

First, add jessie-backports repo to your /etc/apt/sources.list

deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main

Then run the following commands in the Terminal

# required public keys
gpg --keyserver pgpkeys.mit.edu --recv-key  8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -

# upgrade system
sudo apt-get update
sudo apt-get dist-upgrade

# install software
sudo apt-get install git build-essential ruby-full libsdl2-dev zlib1g-dev
sudo apt-get install -t jessie-backports liblua5.3-dev
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake ..
make -j4

Install with Install instructions

Note: If you are using a normal Raspberry Pi image (not Retropie) you may not have OpenGL drivers enabled. Run sudo raspi-config, then select 7 for "Advanced Options", followed by 6 for "GL Drivers", and enable "GL (Fake KMS) Desktop Driver". After changing this setting, reboot.

Mac

install Command Line Tools for Xcode and brew package manager

run the following commands in the Terminal

brew install git cmake
git clone --recursive https://github.com/nesbox/TIC-80 && cd TIC-80/build
cmake ..
make -j4

to create application icon for development version

mkdir -p ~/Applications/TIC80dev.app/Contents/{MacOS,Resources}
cp -f macosx/tic80.plist ~/Applications/TIC80dev.app/Contents/Info.plist
cp -f macosx/tic80.icns ~/Applications/TIC80dev.app/Contents/Resources
cat > ~/Applications/TIC80dev.app/MacOS/TIC80dev <<EOF
#!/bin/sh
exec /Users/nesbox/projects/TIC-80/build/bin/tic80 --skip --scale 2 >/dev/null
EOF
chmod +x ~/Applications/TIC80dev.app/MacOS/TIC80

Make sure to update the absolute path to the tic80 binary in the script, or update the launch arguments.

Install instructions

Linux

To install run sudo make install -j4

TIC-80 can now be run with tic80

iOS / tvOS

You can find iOS/tvOS version here

Credits

tic-80's People

Contributors

andreirudenko avatar asiekierka avatar avi-0 avatar ayuusweetfish avatar blinry avatar cgrs avatar ddelemeny avatar frenetic avatar gouchi avatar grahamclemo avatar homineludens avatar jahodfra avatar jdgleaver avatar jettmonstersgoboom avatar jminor avatar josefnpat avatar joshgoebel avatar lzap avatar msx80 avatar nesbox avatar phcoder avatar robloach avatar schraf avatar stefandevai avatar superpupperdoggo avatar technomancy avatar txgruppi avatar tyler887 avatar vsariola avatar wadetb avatar

Watchers

 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.