JavaFX Game: Snake Classic

Поделиться
HTML-код
  • Опубликовано: 24 окт 2024
  • We make a simple clone of Snake.
    Twitter: / almasbaim
    GitHub: github.com/Alm...
    LinkedIn: / almasb

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

  • @larsroth5758
    @larsroth5758 9 лет назад +5

    Things one could add:
    Graphics
    Sound Effects
    Highscore
    Food only appeaing on free blocks
    More than one food item at the time
    Great tutorial by the way. I´m getting addicted to them ;)

  • @hendrixj.8356
    @hendrixj.8356 8 лет назад +1

    Another great tutorial!! Im loving the JavaFX tutorials, thanks Almas!

  • @lucasf.v.n.4197
    @lucasf.v.n.4197 6 месяцев назад

    hi, thanks for the playlist, learned a lot; keep going; a playlist on javafx 3d would be nice too;

  • @bangpham2871
    @bangpham2871 8 лет назад +3

    Hi, for some reason my game displays, but the block does not move initially. Also it doesnt move when i pressed any key at all, the initial head only displays on the top left of the screen. Any advice?

    • @cubingunlocked1812
      @cubingunlocked1812 6 лет назад

      Bang Pham I also have the same problem......didn't you get the solution in one year??😁😁

    • @exewo99
      @exewo99 5 лет назад

      @@cubingunlocked1812 Any solution?

    • @cubingunlocked1812
      @cubingunlocked1812 5 лет назад

      @@exewo99 nope

    • @Bram135Q
      @Bram135Q 5 лет назад

      @@cubingunlocked1812 I had the same problem, but then I found out that I was using the wrong import of Duration in the constructor of KeyFrame. It forced me to cast it to a long which cuts of the decimal value. First I used import java.time.Duration and now import javafx.util.Duration.

  • @tomasbedarbo699
    @tomasbedarbo699 7 лет назад

    I have created some basic FX programs, tried to do text based RPG. I still find this difficult to understand. I attempt to extract from this code " square freely moving, without tapping Button button".

  • @НиколайБеляков-ш2л

    works fine without that "moved" variable. I failed to understand what that variable was for :-)

  • @mrxgmn
    @mrxgmn 7 лет назад +1

    can you submit the code ahm mr?

  • @priyaparameswaran8846
    @priyaparameswaran8846 3 года назад

    Hi u help how to add sound in background

  • @hankmoody666
    @hankmoody666 5 лет назад

    I tried to copy you but my keyboard response time was really slow for some reason. Any tips?

  • @rosiadelia7015
    @rosiadelia7015 8 лет назад +5

    we are codes please :'(

    • @marker52
      @marker52 7 лет назад +5

      yes you are a code

  • @fireblasted9915
    @fireblasted9915 8 лет назад

    u dont say anything to teach try to start all over when u do a video and i am trying to learn a good language to make an epic game tell me if u know a good begginer video i programed 1 thing on java a mod but i dont understand it so much i also do java and scratch!!! :)

  • @answer143143
    @answer143143 9 лет назад +1

    i like your tutorials. but one thing though. your mic is ON only when u speak. but this makes such an annoying thing.
    one moment its absolute silence and then shhh.... comes with speaking. Probably im the only one saying this :) but i think mic should not go ON/OFF with recording.

    • @AlmasB0
      @AlmasB0  9 лет назад

      I'm using laptop's mic and its fans are pretty close which creates constant background noise if i leave the mic on. Thanks for pointing it out though, I'll try to come with up something

    • @AlmasB0
      @AlmasB0  9 лет назад

      Here's the new tutorial, I left the mic on for whole video, let me know if that's better
      ruclips.net/video/-xW0pBZqpjU/видео.html