Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

TIC-80

Fantasy computer for making, playing and sharing tiny games. · By Nesbox

I want to customize my TIC-80

A topic by masterneme created Oct 09, 2019 Views: 515 Replies: 2
Viewing posts 1 to 2

Hi,

I recently (re)discovered this project while looking for an easy way to create low rez 1-bit games.

And after doing a little bit of research I saw that I could customize the resolution of my games using the clip function (https://github.com/nesbox/TIC-80/wiki/clip).

But I don't know exactly how it works, could you give me an example or point me to the direction in which I can continue with my investigation?

For example, if I download a cartridge with constringed screen resolution, how can I view the code to figure it out by myself? Just loading it?

And what if I wanted to fully customize my console? I could basically fork the project modify the code and change the values I want, right?

Thanks in advance.

(+1)
  1. The clip() function just limits the drawing area of the the other drawing functions. You give it two coordinates (X and Y) specifying where the top-left corner of the drawing rectangle is located, and two size parameters (W and H) specifying its width and height, in pixels. After this call is made, subsequent drawing function-calls get limited to being drawn in the area specified by the rectangle, with all other pixels outside of it not being updated at all. This leaves quite a bit of border around the game when using clip() to emulate a smaller resolution.
  2. After loading a cart using `load`, press F1 to go into the code editor. You can see how the cart's author coded the whole thing.
  3. The TIC-80 is completely open-source under the MIT license, which means you can make your own mod of TIC-80, free of permission from nesbox.
(1 edit)

Thanks for such an awesome response, it's exactly what I needed to know.