Shawn Mahler ← Bitsbox Community My feedback 1 result found Numbered apps 378 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 193 comments · General » Other · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Shawn Mahler commented · Apr 16, 2021 · Edit… · Delete… fill('onyx') me = stamp('car7',375,900,150) function touching() { me.move(x,900,300) me.aim(x,y) } function tap() { r = stamp('rocket 6',me.x,me.y) r.rotate(me.rotation) r.move(UP,1600,2000) sound('roar',20) } lane = 300 time = 1500 count = 0 function swerve() {} function danger() {} function drones() {} function loop() { mid = 375 + Math.sin(count) * lane x1 = mid - lane x2 = mid + lane stamp('pillar',x1,0).move(DOWN,1300,time).back() stamp('pillar',x2,0).move(DOWN,1300,time).back() stamp('circle',mid,0).move(DOWN,1300,time).back() swerve() danger() drones() } curve = 0 function swerve() { count = count + curve / 100 if (random(10) == 1) { curve = random(10) + count/10 lane = lane + random(-12,10) lane = Math.max(lane,100) } } pts = 0 score = text(pts,'impact',20,50,'silver') function danger() { pts = pts + 10 score.change(pts) if (me.hits('pillar') || me.hits('drone2')) { loop = null me.explode() sound('laugh') stamp('pig3',375,0).move(DOWN,500,time) } } function zap(drone) { if (drone.hits('rocket6')) { drone.explode() sound('nuke') pts = pts + 1000 } } function drones() { find('drone2').forEach(zap) if (random(30) == 1) { enemy = stamp('drone2',random(768),0) enemy.move(DOWN,1500,10000) sound('droid') } } song('unstable') Save Submitting...
fill('onyx')
me = stamp('car7',375,900,150)
function touching() {
me.move(x,900,300)
me.aim(x,y)
}
function tap() {
r = stamp('rocket 6',me.x,me.y)
r.rotate(me.rotation)
r.move(UP,1600,2000)
sound('roar',20)
}
lane = 300
time = 1500
count = 0
function swerve() {}
function danger() {}
function drones() {}
function loop() {
mid = 375 + Math.sin(count) * lane
x1 = mid - lane
x2 = mid + lane
stamp('pillar',x1,0).move(DOWN,1300,time).back()
stamp('pillar',x2,0).move(DOWN,1300,time).back()
stamp('circle',mid,0).move(DOWN,1300,time).back()
swerve()
danger()
drones()
}
curve = 0
function swerve() {
count = count + curve / 100
if (random(10) == 1) {
curve = random(10) + count/10
lane = lane + random(-12,10)
lane = Math.max(lane,100)
}
}
pts = 0
score = text(pts,'impact',20,50,'silver')
function danger() {
pts = pts + 10
score.change(pts)
if (me.hits('pillar') || me.hits('drone2')) {
loop = null
me.explode()
sound('laugh')
stamp('pig3',375,0).move(DOWN,500,time)
}
}
function zap(drone) {
if (drone.hits('rocket6')) {
drone.explode()
sound('nuke')
pts = pts + 1000
}
}
function drones() {
find('drone2').forEach(zap)
if (random(30) == 1) {
enemy = stamp('drone2',random(768),0)
enemy.move(DOWN,1500,10000)
sound('droid')
}
}
song('unstable')