Romain Zych
My feedback
1 result found
-
378 votes
An error occurred while saving the comment An error occurred while saving the comment Romain Zych commentedfill('space')
me = stamp('spaceship3',375,900,150)function touching() {
me.move(x,900,300)
me.aim(x,y)
}function tap() {
l = stamp('laser5',me.x,me.y,175)
l.rotate(me.rotation)
l.move(UP,1600,2000)
sound('gun',20)
}lane = 300
time = 1500
count = 0function swerve() {}
function danger() {}
function drones() {}function loop() {
mid = 375 + Math.sin(count) * lane
x1 = mid - lane
x2 = mid + lane
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('alien')) {
loop = null
tap=null
me.explode()
sound('explosion')
stamp('GAME OVER!',375,0).move(DOWN,500,time)
}
}function zap(drone) {
if (drone.hits('laser5')) {
drone.burn()
pts = pts + 1000
}
}function drones() {
find('alien').forEach(zap)
if (random(30) == 1) {
enemy = stamp('alien',random(768),0)
enemy.move(DOWN,1500,10000)
sound('droid')
}
}
song('dangerahead')An error occurred while saving the comment Romain Zych commentedfill('forest')
size = 400
speed = 500
c = stamp ('helicopter4',size)
function drag() {
c.move(x,y,speed)
c.aim(x,y)
}An error occurred while saving the comment Romain Zych commentedtry this plz
fill('sky')
size = 200
speed = 500
stamp ('plane7')
c = stamp ('plane12',size)
function drag() {
c.move(x,y,speed)
c.aim(x,y)
}
fill('jungle')
mill = stamp('windmill',700,780,120)
dodo = stamp('dodo2',200,800,150)
speed = 10
function loop() {
mill.move(LEFT,speed)
mill.wrap()
if (dodo.hits(mill)) {
dodo.change('dodo3')
}
}
function tap() {
dodo.move(UP,400)
dodo.move(200,800,2000)
speed = speed + 1
}
song('siren')
song('crashing')
song('dinasaur')
song('dinasaur')
song('pig5')