micro:bit Shooting Game 3C Creative Views: 36471 Like: 373 How to make micro:bit shooting game by 3C MAKE 13.03.2023
If you put the pause ms to 100, it makes a bit harder for the player, because the current (200ms) is a bit slow. Reply
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)}) Reply
ของผมมันเออเร้อจะทำยังไงดี
I need subtitle
very helpful thank you
If you put the pause ms to 100, it makes a bit harder for the player, because the current (200ms) is a bit slow.
9:00
siallll
you are so ass
english plz
I’m British so this is super duper confusing
Thanks!
Not working…. MEH!!! >:(
ทำตามถูกต้องทุกอย่าง แต่เล่นไม่ได้ครับ
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!
ภาษาไทย
can i get code
good job m8
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 = null
let pjuuu = false
let neprijatelj: game.LedSprite = null
let igrač: game.LedSprite = null
basic.showString("B0MBASTIK")
igrač = game.createSprite(2, 4)
neprijatelj = game.createSprite(randint(0, 5), 0)
pjuuu = true
game.startCountdown(20000)
basic.forever(function () {
igrač.move(1)
igrač.ifOnEdgeBounce()
if (metak) {
metak.move(1)
Crash()
}
basic.pause(200)
})
Amazing work. Thanks so much.