Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

TIC-80

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

Fget and Fset

A topic by ATSxp created Aug 02, 2021 Views: 436 Replies: 4
Viewing posts 1 to 4

Hi, I wanted to ask you three things: 

1- What is "fget/fset". 

 2- What are its uses?  

3- How is it used?

Developer

Pls look at the Wiki https://github.com/nesbox/TIC-80/wiki/fget

It is up to you to decide for what purpose you want to use the flags, one of the possible purposes - for example, to define solid objects on the map.

Thank you very much

I used sprite flags for the first time in my game for LowRez Jam... I used them to denote the same type of object, even though their sprites were different and found it really useful (I ended up using all 8 flags!)

For example, you might have a game with different types (sprites) of aeroplane but set flag 0 for all of them so when you hit one with your missile you know you've hit a plane and not something else.

wow, thank you very much