Skip to main content

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

umm... unrelated weird thingy...

i have it so that for example:

(BTW X IS JUST A PLACEHOLDER FOR A SPRITE NO.)

t=0

ti=0

function TIC()

cls()

spr(t,0,0)

if ti==5 then t=X end

if ti==10 then t=XX end

if ti==15 then t=XXX end

if ti>=20 then ti=0 end

ti=ti+1

end

but when i do this, the animation dosnt play. (im using 0.14.0)

Tried your example, all works fine on my side.

Maybe problem with sprite indexes, could you ls provide full .tic cartridge?

Sure. its for a sonic the hedgehog clone.

called "pokey the hedgehog"

https://itch.io/game/accept-admin/113076/233527

the hedegehog should be moving his legs.

LINE 148:

if ani1<=30 then ani1=0 end

try change it to

if ani1>=30 then ani1=0 end
(+1)

Thank you :)

another reason i really prefer TIC over PICO8 is cuz its easy to contact the dev if you confused :)