Software:TIC-80

From HandWiki
Short description: Free and open source fantasy video game console
TIC-80
Logo used on the TIC-80 fantasy console/computer
Logo used on the TIC-80 fantasy console/computer
Tic-80-boot.gif
Developer(s)Vadim Grigoruk (Nesbox)
Initial release2017; 7 years ago (2017)
Stable release
1.1.2736[1][circular reference] / 27 August 2023; 5 months ago (2023-08-27)
Operating systemAndroid, Bare metal, Linux, Mac OS, Windows
PlatformPC, Raspberry Pi, Nintendo 3DS , HTML5 (WebAssembly), RetroArch
Available inEnglish
TypeVirtual machine, Game engine
LicenseMIT License[2]
Websitehttps://tic80.com

TIC-80 is a free and open-source fantasy video game console for making, playing, and sharing games on a limited platform that mimics the 8-bit systems of the 1980s. It has built-in code, sprite, map, music, and sound effect editors, as well as a command line interface that allow users to develop and edit games within the console.[3][4]

The games made in TIC-80 can be exported as virtual game cartridges and bundled for different platforms, including Android, Linux, MacOS, Windows, bare metal Raspberry Pi,[5] Nintendo 3DS , RetroArch,[6] and HTML5 (using WebAssembly[7]). It supports programming languages including JavaScript, MoonScript, and Lua,[3] as well as Ruby, Wren, Fennel, Squirrel, Python and D.[8][7]

TIC-80 is often compared to PICO-8, a fantasy system which is not open source;[4][5] both systems are becoming popular with games programmers who are interested in classic home computers and consoles.[9]

Capabilities

As a fantasy console, TIC-80 has some set limitations in terms of graphics and processing power in order to create a "retro-styled" gaming experience.[5][8] These limitations include a 240x136 display; a 16 color palette; 256 8x8 sprites; and 4-channel sound.[5] Integrated tools within the "tiny computer" allow developers to edit code, create graphics, write music, and build levels within games.[3]

Specifications

Resolution 240x136 pixels, 16 colors palette.
Input 4 gamepads with 8 buttons / mouse / keyboard.
Sprites 256 foreground sprites and 256 background tiles, 8x8 pixel.
Map 240x136 cells, 1920x1088 pixels.
Sound 4 channels with configurable waveforms.
Code Up to 512KB (8 banks each 64KB, even in non-PRO version) of lua, ruby, js, moon, fennel, squirrel, wren or wasm.
Memory Up to 272kb of RAM (including 32KB of VRAM).
Bankswitching Up to 8 banks in cart (PRO version only).

Cartridges

The TIC-80 is capable of storing and loading back serialized dumps of memory regions using so called cartridges, another 80's metaphor. Unlike the original ones, which were actual physical objects, the TIC-80 cartridges are just files in .tic format.[10] These can be created by typing "save filename.tic" on the console, and loaded back by typing "load filename.tic". Furthermore TIC-80 comes with a built-in cartridge browser, called "SURF" (see below). Free and Open Source tools to convert PICO-8 cartridges to TIC-80 cartridges exists, but they aren't perfect.[11]

To push the metaphor one step further, this serialized memory dump can be embedded in a PNG picture (resembling a real physical cartridge) using steganography.[12] However this isn't practical, because its storage capacity very limited (256 x 256 pixels, each 4 channels, and with 3 bits of data per channel, that's 256 * 256 * 4 * 3 bits / 8 = 98,304 bytes in total, although the memory dump is zlib compressed). Therefore you can find cartridges in the .tic format more often on the net, because .tic doesn't have such storage limitation.

Color palettes

SWEETIE-16
Number Hexadecimal RGB value Name
0 #1A1C2C Black
1 #5D275D Purple
2 #B13E53 Red
3 #EF7D57 Orange
4 #FFCD75 Yellow
5 #A7F070 Light green
6 #38B764 Green
7 #257179 Dark green
8 #29366F Dark blue
9 #3B5DC9 Blue
10 #41A6F6 Light blue
11 #73EFF7 Cyan
12 #F4F4F4 White
13 #94B0C2 Light Grey
14 #566C86 Grey
15 #333C57 Dark Grey

Playing and sharing games

8-Bit Panda, a platformer game for TIC-80

TIC-80 runs on major operating systems including Windows, Linux 32 and 64 bit, Mac OS X, and Android, and can be compiled from source code for other platforms such as Raspberry Pi.[5] "Tic" cartridge files, containing playable versions of the game, are generated using the integrated development tools.[5][4] There is a large and growing catalog of community-made games available through the TIC-80 web site.[5]

The TIC-80 console has been featured in demo parties such as Outline 2022 in the Netherlands;[13] Lovebyte 2021 online;[14] and a 2018 LINE Fukuoka hackathon in Japan.[15]

References

  1. :fr:TIC-80#cite note-wikidata-a13b04d25631fef81354cb69c73d8528340a6b91-1
  2. "TIC-80 / LICENSE". 4 June 2022. https://github.com/nesbox/TIC-80/blob/main/LICENSE. 
  3. 3.0 3.1 3.2 "A Game Makers' Toolkit: Eight More Fascinating Game-Making Tools for the Pi". The MagPi Magazine (73): 32–33. September 2018. https://archive.org/details/MagPi73/page/n31/mode/2up. 
  4. 4.0 4.1 4.2 Littler, Clarissa (August 2018). "Fantasy Computers and TIC-80". Beanz Magazine 6 (1). https://kidscodecs.com/tic80-retro-games/. 
  5. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 Pistorio, Marco (September 2018). "Fantasy Console: TIC 80" (in Italian). Retro Magazine 2 (9): 20. https://archive.org/details/retro-magazine/RetroMagazine_09/page/20/mode/2up. 
  6. "TIC-80/SRC/System at main · nesbox/TIC-80". https://github.com/nesbox/TIC-80/tree/main/src/system. 
  7. 7.0 7.1 "TIC-80 tiny computer 1.0.2164 Latest". https://github.com/nesbox/TIC-80/releases/tag/v1.0.2164. 
  8. 8.0 8.1 "nesbox / TIC-80". https://github.com/nesbox/TIC-80. 
  9. Kelk, Jason (October 2019). "History of Homebrew: Brewing since 2005". Retro Gamer (200): 104–107. https://archive.org/details/retro_gamer/RetroGamer_200/page/106/mode/2up. 
  10. "Cartridge format · nesbox/TIC-80". https://github.com/nesbox/TIC-80/wiki/.tic-File-Format. 
  11. "PICO-8 to TIC-80 converter". https://bztsrc.gitlab.io/p8totic. 
  12. "Example TIC-80 PNG cartridge". https://user-images.githubusercontent.com/1101448/113429374-1853c580-93e1-11eb-8a80-33672e3f01c4.png. 
  13. List, Jenny (June 6, 2022). "Outline 2022: Everyone Should Go to a Demo Party". https://hackaday.com/2022/06/06/outline-2022-everyone-should-go-to-a-demo-party/. 
  14. "Lovebyte 2021 – Where size matters". December 2020. https://www.pouet.net/topic.php?which=12033&page=1#c567597. 
  15. "LIFF + TIC-80". March 7, 2019. https://engineering.linecorp.com/en/blog/liff-tic-80/. 

Further reading

  • "A Game Maker's Toolkit: Eight More Fascinating Game-Making Tools for the Pi". The MagPi. September 2018. Issue 73. pp. 32–33. – via Internet Archive
  • Littler, Clarissa (August 2018). "Fantasy Computers and TIC-80". beanz Magazine (Vol. 6, No. 1)
  • Littler, Clarissa (October 2018). "TIC-80 Project". beanz Magazine (Vol. 6, No. 2)
  • Littler, Clarissa (February 2019). "TIC-80 Maps and Music". beanz Magazine (Vol. 6, No. 4) – via Proquest
  • Pistorio, Marco (September 2018). "Fantasy Console: TIC 80". Retro Magazine (Vol. 2, No. 9) (in Italian). p. 20 – via Internet Archive
  • Yukoku Kenji (2019). Yukoku, Kenji. ed. Phantasy Computer TIC-80 Happy programming guide. 
  • 喧史, 悠黒, ed (2020). 2Dドットゲーム クックブック (I・O BOOKS) Tankobon. 工学社. pp. 159. ISBN 978-4777521029. 
  • 山田, ユリッペ, ed (2019). TIC‐80プログラミングガイド (I・O BOOKS) Tankobon. 工学社. pp. 159. ISBN 978-4777520824. 

External links