[WIP] S1 Ending. Primer troçet fet

This commit is contained in:
2026-05-09 22:54:02 +02:00
parent 83720a8b69
commit 30ab23758e
4 changed files with 32 additions and 5 deletions
+27
View File
@@ -0,0 +1,27 @@
stage1_ending ={
time = 0,
batvio_vx = 1
}
function stage1_ending:update_scene ()
print("UPDATING "..self.time)
batvio.x = batvio.x - self.batvio_vx
if self.time>=120 then
flow:next()
end
self.time = self.time + 1
if self.time % 6 == 0 then
self.batvio_vx= self.batvio_vx+1
end
batvio.update()
surf.target(0)
surf.cls(16)
world_draw()
score.draw()
end
function stage1_ending:end_scene()
print("END")
flow:finish()
end