Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

baloon p8View game page

a maybe fun game
Submitted by vashh — 10 days, 2 hours before the deadline
Add to collection

Play game

baloon p8's itch.io page

Compressed Bytes used
479

Source Code (OPTIONAL)
--baloon
--by vash

x=0y=0c=0s=0l={}r=true
t=0
function _init()
poke(0x5f2d, 1)
l={}
s=0r=true
add(l,{x=rnd(128),y=0,t=0})
end
function _draw()
x=stat(32)
y=stat(33)
c=stat(34)
cls(1)
foreach(l, function(p)
if(p.t>0) then
pset(p.x,p.y,3)
p.y-=2
circfill(p.x,p.y,5,3)
p.t-=2
else p.y+=1
circfill(p.x,p.y,5,8)
if(p.y>128) then
r=false
end
if(p.x<0 or p.x>120) then
del(l,p)
add(l,{x=rnd(128),y=0,t=0})
end
end
if(c==1 and abs(p.x-x)<6 and abs(p.y-y)<6) then
if(count(l)<flr(s/5)+3) add(l,{x=p.x+rnd(50)-25,y=p.y,t=rnd(40)+10})
add(l,{x=p.x+rnd(50)-25,y=p.y,t=rnd(40)+10})
del(l,p)
s+=1
end
end
)
circ(x,y,1,7)
?("score is "..s)
if(r==false) then
print("\^t\^wyou lose",32,64,8)
print("\^tpress 🅾️ to retry",32,100,8)
l={}
end
if(btn(🅾️)) _init()
end

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

Fun game Vash.  I like how you used mouse support in this one.

HostSubmitted

Cute game! (alas, only managed about 47 balloons)
Nice one 👍