Activity 7 - Crashy Bird
ฝัง
- เผยแพร่เมื่อ 26 ก.ย. 2024
- Learn how to create a variation of the popular game, Flappy Bird!
This is an advanced coding challenge!
Create your own project on Microbit and follow the instructions in the video.
makecode.micro...
Remember, you can pause the video at any time!
it is not moving the obstacles
do you know Shakira ??????
shakira shakira!!!!!!!
hey, thanks for the tutorial! it really helped me understand!
Please help me to set the score.
Hi! I literally just figured it out, to do it just put a change score by 0.25 block under the “delete obstacles get and remove value at 0”
@@Theredstonezone can you PLEASE send an image of how you did it?? it would be greatly appreciated
@@eao5733 I’m not sure how to send images
@@Theredstonezone thanks!
@IkeTheDog2009 same, but i dont know how to fix it.
Thanks for the tutorial! Also how do I make the game to count my score?
i have no idea thats kinda the reason why i watched this video
how do i make the flappy bird go faster each time I pass an obstacle
Yea, I also wanna a challenging game of crashy-bird, its too slow and easy.
very great,😁
Thanks for the tutorial !
This tutorial does not work, i hope you cant fall asleep tonight 😝
yesb totaly
at 9:46 I dont have the array list remove value at 0 which will slip in the sprite thing. I have that but it's a block...
Same
Same
I know like what do I do
@@bengriffiths2258 do you know how to fix it?
same
6:59 my time
my remainder of is( /)
no (+)
Thank you this was really helpful
Thank u so much 😊
Can someone help me figure out score i'm really stuck
hello
help i can´t make de obstacles
can you just drop the zip here
Flappy birb
this was boring!!!!
kurvaaaaa
Ayyy i finaly found a electronic i can use that doesnt need a computer to use! Even better i can program which is good!!!
can u write a flow chart of "Crashy Birds" for me???
Did you do the flowchart? I want it too xd
there it is for javascript
ps:it even counts your score
input.onButtonPressed(Button.A, function () {
bird.change(LedSpriteProperty.Y, -1)
})
input.onButtonPressed(Button.B, function () {
bird.change(LedSpriteProperty.Y, 1)
})
input.onGesture(Gesture.Shake, function () {
})
let emptyObstacleY = 0
let ticks = 0
let bird: game.LedSprite = null
music.setVolume(255)
music.startMelody(music.builtInMelody(Melodies.Entertainer), MelodyOptions.Forever)
let index = 0
let obstacles: game.LedSprite[] = []
bird = game.createSprite(0, 2)
bird.set(LedSpriteProperty.Blink, 120)
basic.forever(function () {
while (obstacles.length > 0 && obstacles[0].get(LedSpriteProperty.X) == 0) {
obstacles.removeAt(0).delete()
}
for (let obstacle2 of obstacles) {
obstacle2.change(LedSpriteProperty.X, -1)
}
if (ticks % 3 == 0) {
emptyObstacleY = Math.randomRange(0, 4)
for (let index2 = 0; index2
Figured out the score!
Can't firgure out score
How?
@@lucid_hq6894 put a change score by 0.25 block under the “delete obstacles get and remove value at 0” :)
@@cindytraa it doesnt work for me
@@mtz1nn_722 dont forget to do set score to 0 in the on start block