Donald Gibeau IV
My feedback
1 result found
-
377 votes
An error occurred while saving the comment An error occurred while saving the comment Donald Gibeau IV commentedcamden
An error occurred while saving the comment Donald Gibeau IV commentedcamden can u get barriers so people cant go places
An error occurred while saving the comment Donald Gibeau IV commentedfill('park')
s = stamp('bob',390,1000)function drag() {
s.move(x,y,100)
s.aim(x,y,100)
}
s = stamp('dog',400,100)function drag() {
ink = stamp('poop',x,y,175)
ink.tap = pow
}An error occurred while saving the comment Donald Gibeau IV commentedfill('park')
s = stamp('bob',200)function drag() {
s.move(x,y,100)
s.aim(x,y,100)
}An error occurred while saving the comment Donald Gibeau IV commentedfill('park')
stamp('bob',380,270)
function touching() {
me.move(x,y,900,300)
}An error occurred while saving the comment Donald Gibeau IV commentedfill('tenniscourt2')
// Add the player at the bottom of the court
var bottomOfCourt = 900;
var playerPosition = 650;
var playerSize = 200;
var player = stamp('hamster2', playerPosition, bottomOfCourt, playerSize);// Add the ball at the top of the court
var topOfCourt = 510;
var ballPosition = random(200, 500);
var ballSize = 100;
var ball = stamp('buttonpink', ballPosition, topOfCourt, ballSize);// Add the score at the top of the screen
var score = 0;
var sb = text(score, 100, 50, 'white');function touching() {
// 'x' is the x-coordinate of your mouse pointer
var xTapped = x;// Work out how long the player is going to take
// to move to the mouse pointer
var distance = Math.abs(player.x - x);
var speed = 2;
var time = (distance / speed);// Move the player to the mouse pointer
player.move(xTapped, player.y, time);
}// Repeat this over and over again...
var scoreLocked = false;
function loop() {// If the player is touching the ball:
if (player.hits(ball)) {// Bounce the ball back to the top of the court
ball.move(
random(200, 450),
topOfCourt,
random(800, 2000)
)// Increase the user's score
if (!scoreLocked) {
score = score + 1
sb.change(score)
}scoreLocked = true;
setTimeout(function() {
scoreLocked = false;
}, 100);
}// If the ball is at the top of the court...
if (ball.y == topOfCourt) {// Bounce it back
ball.move(random(80, 700), 980, 1200);
}// If the ball gets past the player...
if (ball.y > (bottomOfCourt + 10)) {// Explode the ball
ball.explode();// Stop the main loop
loop = null;// Change the background
fill('zam', 0);
}
}An error occurred while saving the comment Donald Gibeau IV commentedfill(100,200,100)
stamp('bitsbox')
team = ['bob', 'dog', 'money', 'eagle', 'bear','car']
heads = []i = 0
function deploy() {
a = stamp(team[i],200).move()
a.speed = random(5,20)
a.spin = random(0,10)
heads.push(a)
i = i + 1
}
repeat(deploy,team.length)function wiggle(head) {
head.move(UP,head.speed)
head.rotate(RIGHT,head.spin)
if (random(10) == 1) {
head.spin = -head.spin
}
head.wrap()
}function loop() {
heads.forEach(wiggle)
}Donald Gibeau IV supported this idea ·
fill('maze4')
s = stamp('car',50)
function drag() {
s.move(x,y,100)
s.aim(x,y,100)
}