Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

TIC-80

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

How to make Meta-tag

A topic by ATSxp created Jul 28, 2021 Views: 137 Replies: 4
Viewing posts 1 to 3

I wanted to know how to make a meta-tag function, like in games for example: 8 bit panda and balmung

Developer(+1)

Hi,

could you pls provide an example of a meta-tag function?

Thank you

Thank you so much for replying.  For example: a function created so that when I add a certain tile in a certain place on the map, in the game, it becomes a sprite (spr).  If I'm not clear, please let me know, as I'm using Google translator, and I'll try to be more accurate.


Example:

Developer

So, if I understand you correctly you have to scan your map with `tile=mget(x,y)` function, find the tile you want to replace with a sprite, and draw the sprite in this position.

That's exactly it