Activity 7 - Crashy Bird
HTML-код
- Опубликовано: 11 сен 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!
do you know Shakira ??????
shakira shakira!!!!!!!
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
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
it is not moving the obstacles
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.
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.
hey, thanks for the tutorial! it really helped me understand!
Ayyy i finaly found a electronic i can use that doesnt need a computer to use! Even better i can program which is good!!!
very great,😁
Thanks for the tutorial !
This tutorial does not work, i hope you cant fall asleep tonight 😝
yesb totaly
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
my remainder of is( /)
no (+)
6:59 my time
Can someone help me figure out score i'm really stuck
Thank u so much 😊
Thank you this was really helpful
help i can´t make de obstacles
hello
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
can you just drop the zip here
Flappy birb
this was boring!!!!
kurvaaaaa