- [NEW] Batman ja dispara batarangs

This commit is contained in:
2025-11-07 18:16:25 +01:00
parent 40342b858e
commit 8aa6631a8a
4 changed files with 66 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
require "mapa"
require "batman"
require "batarang"
game = {
num = 1,
@@ -20,12 +21,14 @@ game = {
surf.cls(66)
mapa.draw(1)
batarang.draw()
if batman.layer==1 then batman.draw() end
mapa.draw(2)
if batman.layer==2 then batman.draw() end
if sys.beat() then
batman.update()
batarang.update()
end
--view.origin(0,0)