CS Discoveries Unit 3: Lesson 25 - Functions (23 - 24)

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 8

  • @MaYuRiKK
    @MaYuRiKK 5 месяцев назад +1

    Thank you 🙏

  • @r3v4music84
    @r3v4music84 4 месяца назад +1

    Thanks again mr decker. ^v^

  • @AhmedElShehri-ql5ou
    @AhmedElShehri-ql5ou 8 месяцев назад +1

    thanks for this great video

  • @LosFrijolesMSC
    @LosFrijolesMSC 10 месяцев назад +4

    Thank you 🔥🔥

  • @_the_art_video
    @_the_art_video 9 месяцев назад +1

    Thanks man that really helped with school work

  • @daviddecker281
    @daviddecker281  Год назад +3

    There are a couple corrections in the code to make if you want to make a better functioning paddle game in challenges B & C on Bubble 10. In the collectStar function, when you are checking if the ball is touching star or star2, reset their y value with a randomNumber block with 25, 275 instead of what I set them to in the video. This will make sure the stars don't appear at or below the paddle. In addition, I set the ball x, y location after it goes off the bottom of the screen to 300, 300 to test the game over screen a little quicker/easier. To make the game function better, when you reset the location of the ball after it goes off the bottom of the screen, use 200 for x, and 50 for y. This will make the game easier. If you want the game to be more random, you could use the randomNumber block to reset the ball to a random location on the screen each time it goes off the bottom and you lose a life.

  • @reinysa
    @reinysa 7 месяцев назад

    41:38

  • @AubreyPorter-mb9gr
    @AubreyPorter-mb9gr 5 месяцев назад

    no challenges d and e