Maddox Cronk ← Bitsbox Community My feedback 1 result found Numbered apps 377 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 Maddox Cronk commented · May 24, 2021 · Edit… · Delete… fill('parking lot') me = stamp('car21',375,900,150) TIME=3000 function touching() { me.move(x,900,300) me.aim(x,y) } function tap() { l = stamp('pixelball',me.x,me.y,55) l.rotate(me.rotation) l.move(UP,1600,2000) sound('zap',20) } lane = 300 time = 2500 count = 0 function swerve() {} function danger() {} function drones() {} function loop() { mid = 375 + Math.sin(count) * lane x1 = mid - lane x2 = mid + lane swerve() danger() drones() if (pts > 100000) { win() } } 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,'console',20,50,'White') function danger() { pts = pts + 0 score.change(pts) if (me.hits('pillar') || me.hits('asteroid3')) { me.explode() loop = null tap=null text('Try Again?',450,350,'white') stamp('arrow10',700,340,100) sound('explosion') stamp('GAME OVER!4',375,0).move(DOWN,500,time) } } function zap(drone) { if (drone.hits('pixelball')) { drone.explode() l.hide() pts = pts + 1000 } } function drones() { find('car20').forEach(zap) if (random(30) == 1) { enemy = stamp('car20',random(768),0,200) enemy.move(DOWN,1500,10000) } } function win () { loop=null drag=null stamp('youwin',375,0).move(DOWN,500,TIME) me.move(375,900) } song('bitsnboxn') Save Submitting...
fill('parking lot')
me = stamp('car21',375,900,150)
TIME=3000
function touching() {
me.move(x,900,300)
me.aim(x,y)
}
function tap() {
l = stamp('pixelball',me.x,me.y,55)
l.rotate(me.rotation)
l.move(UP,1600,2000)
sound('zap',20)
}
lane = 300
time = 2500
count = 0
function swerve() {}
function danger() {}
function drones() {}
function loop() {
mid = 375 + Math.sin(count) * lane
x1 = mid - lane
x2 = mid + lane
swerve()
danger()
drones()
if (pts > 100000) {
win()
}
}
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,'console',20,50,'White')
function danger() {
pts = pts + 0
score.change(pts)
if (me.hits('pillar') || me.hits('asteroid3')) {
me.explode()
loop = null
tap=null
text('Try Again?',450,350,'white')
stamp('arrow10',700,340,100)
sound('explosion')
stamp('GAME OVER!4',375,0).move(DOWN,500,time)
}
}
function zap(drone) {
if (drone.hits('pixelball')) {
drone.explode()
l.hide()
pts = pts + 1000
}
}
function drones() {
find('car20').forEach(zap)
if (random(30) == 1) {
enemy = stamp('car20',random(768),0,200)
enemy.move(DOWN,1500,10000)
}
}
function win () {
loop=null
drag=null
stamp('youwin',375,0).move(DOWN,500,TIME)
me.move(375,900)
}
song('bitsnboxn')