Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

TIC-80

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

not being cleared?

A topic by jackj106 created Aug 20, 2017 Views: 152 Replies: 1
Viewing posts 1 to 2

hello! i often use this setup for cutscenes

if frame==0 then ______ end

if frame==15 then ____ end

ect.

so here is my setup.(simplified)

frame=0
mode=0
t=0
function tic()
if mode==0 then t=t+1
    cls()
    if frame==0 then map() map() map () end
    if frame==15 then map() map() map() end
    ect
end
end

however, when i run it, the third map that contains a 16x16 sprite overlaps its own frames. (the other two are backgrounds)

and map() is just simplifying it.

and i cant figure out how to get it NOT to overlap the frames of Map() 3.

is this  a change in api? because this stuff used to work. or at least with x/y's and variables and sprites

thanks, hope you can help,

jackj106

(ps: i also tried containing this in functions)

never mind its working again LOL