BPI bit (also referred to as BPI-bit, stylised as bpi:bit) is an ESP32 with 32-bit Xtensa LX6 dual-core processor based embedded system. It supports Webduino, Arduino, MicroPython as well as Scratch X programming environments. Compatible with Micro :bit accessories http://wiki.banana-pi.org/BPI-Bit
ของผมมันเออเร้อจะทำยังไงดี
I need subtitle
If you put the pause ms to 100, it makes a bit harder for the player, because the current (200ms) is a bit slow.
very helpful thank you
9:00
siallll
you are so ass
english plz
Amazing work. Thanks so much.
I’m British so this is super duper confusing
Here's the code input.onButtonPressed(Button.A, function () { if (pjuuu) { metak = game.createSprite(igrač.get(LedSpriteProperty.X), igrač.get(LedSpriteProperty.Y)) metak.turn(Direction.Left, 90) pjuuu = false }})function Crash () { if (metak.isTouching(neprijatelj)) { game.addScore(1) metak.delete() neprijatelj.delete() neprijatelj = game.createSprite(randint(0, 4), 0) pjuuu = true } else if (metak.get(LedSpriteProperty.Y) == 0) { metak.delete() pjuuu = true }}input.onButtonPressed(Button.B, function () { for (let index = 0; index < 1e+105; index++) { basic.showString("ćčćčćčćčćčćčćčććčćčćčćčćčććčćčććčćććčććčćčćčćčćčćčćč") }})let metak: game.LedSprite = nulllet pjuuu = falselet neprijatelj: game.LedSprite = nulllet igrač: game.LedSprite = nullbasic.showString("B0MBASTIK")igrač = game.createSprite(2, 4)neprijatelj = game.createSprite(randint(0, 5), 0)pjuuu = truegame.startCountdown(20000)basic.forever(function () { igrač.move(1) igrač.ifOnEdgeBounce() if (metak) { metak.move(1) Crash() } basic.pause(200)})
input.onButtonPressed(Button.A, function () {
ship.move(-1)
})
input.onButtonPressed(Button.AB, function () {
blast = game.createSprite(ship.get(LedSpriteProperty.X), ship.get(LedSpriteProperty.Y))
blast.change(LedSpriteProperty.Brightness, 20)
for (let index = 0; index < 4; index++) {
blast.change(LedSpriteProperty.Y, -1)
basic.pause(150)
if (blast.isTouching(alien)) {
game.addScore(1)
alien.delete()
}
}
if (blast.get(LedSpriteProperty.Y) <= 0) {
blast.delete()
alien.delete()
}
})
input.onButtonPressed(Button.B, function () {
ship.move(1)
})
let alien: game.LedSprite = null
let blast: game.LedSprite = null
let ship: game.LedSprite = null
ship = game.createSprite(2, 3)
game.setScore(0)
basic.forever(function () {
alien = game.createSprite(randint(0, 4), 2)
alien.set(LedSpriteProperty.Brightness, 150)
basic.pause(24)
alien.turn(Direction.Right, 90)
for (let index = 0; index < 4; index++) {
alien.move(1)
basic.pause(500)
if (alien.isTouching(ship)) {
game.gameOver()
game.removeLife(1)
}
if (alien.isTouchingEdge()) {
alien.delete()
}
}
})
good job m8
can i get code
But how do you get points in the game?
BPI bit (also referred to as BPI-bit, stylised as bpi:bit) is an ESP32 with 32-bit Xtensa LX6 dual-core processor based embedded system. It supports Webduino, Arduino, MicroPython as well as Scratch X programming environments. Compatible with Micro :bit accessories
http://wiki.banana-pi.org/BPI-Bit
Thanks!
Not working…. MEH!!! >:(
Set bullet in on button a is not working what to do🤯
ทำตามถูกต้องทุกอย่าง แต่เล่นไม่ได้ครับ
96kyjyjg
Would appreciate english subtitles, very good game tutorial otherwise!
Can you put English subtitles, please?
If you can add English Subtitle , that would be great!
ภาษาไทย