this is one of the most original TIC-80 idea for a game. Its not everyday that you see a trading sim. The core is good. now you can implement some backstory and radon events to cause price fluctuations and minor bonus/onus while you travell betwen the points!
Victoro
Recent community posts
well. Lua work with labeling, right?
You can emulate a basic line flux declaring labels and calling it like as with a "goto" command. Basic is a sexy old Milfy language. Good to learning "basic" algorithm and to code some nice CYOA text based games.
Just a idea.
Lately i've been fiddling with a old BASIC game. Hammurabi. Do you know? I think i can convert it to lua if i work really hard.
Hey i think i figured out the method!
Is something like this?
-- author: Victoro
-- desc: fade effect
-- script: lua
t=0
x=104
y=24
mode=0
scr={x=240,y=128}
local function fade()
if t<5 then
poke(0x3fc0,t*50)
poke(0x3fc1,t*50)
poke(0x3fc2,t*50)
return
else
poke(0x3fc0,0)
poke(0x3fc1,0)
poke(0x3fc2,0)
cls()
mode=1
end
end
function TIC()
t=t+0.06
cls()
if mode==0 then fade() end
if mode==1 then
spr(1+(t%6)/3,x,y,-1,4)
print("TIC-80",(scr.x//2)-19,(scr.y//2),t*10)
end
end
Beg your pardon sir. But i did not fail to notice that you just speak of the Luna 32bit threshold limitations
My question is. What is the number value limit that i can reach in TIC in order to prevent overflow.
And if my memory does not fail me . The "other one" has a limit of -32768.00 to 32767.99 in number range.