Skip to main content

On Sale: GamesAssetsToolsTabletopComics
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

Help with table. Please help me 馃槬

A topic by InfraCreeper created Oct 26, 2020 Views: 324 Replies: 1
Viewing posts 1 to 2

I want to add attributes to my table. How should I do it btw I am new to tic 80 so I can't figure it out.pls help

Not sure what you want, but maybe this can help

--create a table

t={}

--add attributes

t.myAttribute="foo"

t.x=10

--create table with default attributes

t2={a=100,b="bar"}