Skip to main content

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

drops_1kView project page

a small Pico-8 demo
Submitted by iliazeus โ€” 7 days, 2 hours before the deadline
Add to collection

Play demo

drops_1k's itch.io page

Compressed Bytes used
624

Source Code (OPTIONAL)
-- drops
-- a short demo by @iliazeus

function _init()
?"\a00sgl20i1v3x5a2."
?"\a01sgl20i1v3x5c3."
?"\a02sgl20i1v3x5d3."
?"\a03sgl20i1v3x5e3."
?"\a04sgl20i1v3x5g3."
?"\a05sgl20i1v3x5a1."
?"\a06sgl20i1v3x5c2."
?"\a07sgl20i1v3x5d2."
?"\a08sgl20i1v3x5e2."
?"\a09sgl20i1v3x5g2."
sfx(-1)

ps = {}
qs = {}
qn = 2
dq = 120
end

function _draw()
cls(12)
if dq > 0 then
print("\^w\^tdrops",20,20,0)
end
for i = 1, #ps do
pset(ps[i].x, ps[i].y, 1)
end
end

function _update()
if btnp(โฌ…๏ธ) and qn > 0 then
qn -= 1
elseif btnp(โžก๏ธ) and qn<4 then
qn += 1
end

if dq > 0 then
dq -= 1
end

for i = 0, qn-1 do
if qs[i] then
qs[i] -= 1
if qs[i] <= 0 then
qs[i] = nil
local n = flr(rnd(5))
if (i==2) n += 5
sfx(n, i)
local v = 0.1 + rnd(0.5)
local x0 = rnd(128)
local y0 = rnd(128)
for phi = 1/32, 1, 1/32 do
add(ps, {
x = x0 + 1 * cos(phi),
y = y0 + 1 * sin(phi),
dx = v * cos(phi),
dy = v * sin(phi) / 2,
t = rnd(30),
})
end
end
end
if not qs[i]
and stat(46 + i) == -1
then
qs[i] = max(dq/2,10)+rnd(15)
end
end

for i = #ps, 1, -1 do
local p = ps[i]
p.t -= 1
p.x += p.dx; p.y += p.dy
if p.t <= 0 then
ps[i] = ps[#ps]; deli(ps)
end
end
end

Link to Commented Source Code (OPTIONAL)
https://pico-8-edu.com/?c=AHB4YQT5AnDrweLRT-AAL-AGC0Y4u2uOz7pHqMrbnyCLbn_J5LgHeIMif4r0HQYWgidonuENJtKBKH_CqCmqc_5pN4_85QE27gomHmHmtCg-7SGOe4r72vC63Jah7bMU2rqyfSZtj8T2WbM97rN9BmyP1vZpS1sfaPukSuS40PZJbY8TbZ-U9rjR9klttTI5MbZdr60Fa9vl5J3FW7xG172FkVcdMRZFK5Uz6moxWwk7pXQF81uPoZSyNToxU9dGGF0a0Qo4tlgohi_YmNhYCZZG4irsV4dfYiZJKhmm6NKNBYsECgtyIvXGer7R64uEyY0SBFuZbMjQSj4xEj1E_xLrq3lutCOSZE0zUIa8J7QDi-3AgP7YFc1aF73NcFxmabPaaJHLDcsyBrIDqzu5UugLKYVefIJOeM7VCVM70TR-2lRH1F-6pYszegPtjICZEEIkX6KDuug2-TH7p1zXSodIaDAwsLbgp2Bve6TJRFg2k82lopxoblgKnCW0kMR1sBq5Q6ygMpWUSzcSd5V4eK5QJtlcqYYK_ZChKDW-Npuo9lVXn_B7jfq_VSDSsrgu03TvGd2EWItR1NocsDQT6DUk4Ql2mxtoenWRjWSguLdYm1sdEw_Yqs25Yo7AvNHWmPm3IB0yphp_FZUxFUPbmWLFvLtChjtbKqM35NaSmLKp2UQqsnagE2gzh1JMXiwVC6t3yCToCgwF5axMi3Y7k_SYcCsc2R0ZGdpaGRmTTZpMVEW14Lk-OaORJAcr5FYsTGjZOSIZ3VGDTZIJwZkkWWgudsGaGQMZOaEQlfhVIpE_0MvYb8psfHlSLEOKfEYB&g=w-w-w-w1HQHw-w2Xw-w3Xw-w2HQH

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

i love it

HostSubmitted(+1)

This is really nice.
The ripple visual effect is just.... ๐Ÿ˜™๐Ÿ‘Œ
Paired with the harmonic sounds, this is a very relaxing entry. ๐Ÿ‘