yes, TIC has a bit different API
I'm not a programmer, I'm just an English teacher in Brazil. When I'd discovered Pico-8 I had the idea to teach games' programming to my students that are very demotivated. I'm using any tutorial I find starting with the "Squashy" game. It is in Pico-zine #1 and in a series of videos called Pico-8 Hero.
So. I bought Pico-8 and installed on the school's computers. The students loved the first class! It was magical!
They are so pumped that are researching alternatives to keep programming at home. Believe me: To research on their own is an enormous step!
I managed to convert the first step of Squashy (drawing the background and making the moving paddle). They are so happy.!
Any tutorials on TIC-80 (pointing the differences between it and Pico-8) are welcome.
I made a TIC-80 port of Squashy for you
-- title: Squashy port
-- author: Nesbox
-- desc: port of Squashy game from picozine
-- script: lua
-- input: gamepad -- paddle
padh=4 -- ball
if btn(2) then
elseif btn(3) then
end function moveball()
end function bounceball()
if ballx < ballsize then
end -- right
if ballx > 240-ballsize then
end -- top
if bally < ballsize then
end -- bounce the ball off the paddle
if ballx>=padx and
score=score+10 -- increase the score on a hit!
end function losedeadball()
if bally>136-ballsize then
if lives>0 then
-- next life
-- game over
end function TIC()
-- clear the screen
-- draw the lives
for i=1,lives do
-- draw the score
print(score, 12, 6, 15)
-- draw the paddle
-- draw the ball
and uploaded cart to website https://tic.computer/play?cart...
try to learn and find the difference
> They are so pumped that are researching alternatives to keep programming at home. Believe me: To research on their own is an enormous step!
You could show TIC-80 to your students and say "It's almost the same, but a little bit different in some spots so not all programs work... maybe you can figure it out?"
They might just be motivated enough to work on this as a team if you do!
Like Sugata Mitra says: