Комментарии:
Thanks Kenny. That was fun to make. I learnt Java years ago and have forgotten most of it - so to have a well-structured tutorial taking me through writing the code step by step helped. Based on my level of enjoyment, I'm going to both like this video and subscribe to your channel! :)
ОтветитьThese videos are like the next generation coding tutorials. Very clear and useful. I have never seen clear project tutorials like this. Great, smart and professional work. 😊❤
ОтветитьThank you for showing it with the native Java functions without all the cumbersome libraries loading.
ОтветитьYou missed one condition in placeFood(). Food should not be placed where snake body is :)
Ответитьthanks alot for your effort but i have a little suggestion could you please plan the project before we start coding this will make the vision clear and give us the opportunity to think first how to implement the ideas and think about what components to use .and again thanks for your great effort ❤❤
Ответитьis it possible to run this in blueJ ?
ОтветитьIf the score is zero and it hit the wall then the program not showing any game over string on the screen. could you fix it?
ОтветитьBro i will break the pc after the second imports they delete after the last 😡🤬
ОтветитьHow I move the snake😢
Ответитьcan u make this game multiplayer like the same game panel has 2 snakes and they can colide to each other and compete to eat the same apple
ОтветитьGreat video
🙂
can you let me know if you implemneted any data structures if so then how many ?
ОтветитьAmazing Tysm I’m making this tm can’t wait 😊
Ответитьi can't understand why the tile move along with snake head, help me guys!!!!! it's been a day
Ответитьwhat if I want to change just the color of the snake head? how can I do that?
ОтветитьUSLESS FUCKING TUTORIAL I CANT FUCKING RUN THE GAME AFTER THE LAST FRAME CODE LINE FUCK YOU YOUR GIVING FAKE TUTORIALD BITCH
ОтветитьTHANK YOU this helped me make a java game for the first time YAY
ОтветитьI get a bug on line #22 "Tile" snakeHead variable. I only get the "TIle" as abc
**Resolved.
The class path was misspelled.
Is there any idea how can I put a button that says "Start Over" and the game resets from the start again. When u lose, u have to close and run it again, wonder how can I do that, beginner btw peace.
Ответитьhe i like you but java dont and thank you for letting me see thise because now i now java is not a fit form me but a fun learning experiense (love ur vids btw)
ОтветитьThank you for this video. it was very helpful and understandable.
Love from India ❤❤😊😊
thankss
ОтветитьHello Kenny, I am wondering why when I type in line #9.....frame.setVisible (true);
and line #11....frame.setsetLocationRelativeTo(null);
a "b:" and a "c:" are added automatically to the "true" and "null" like (b:true) and (c:null).
Is it there an "auto-correction command" in the VS that I can deselect?
Wonderful videos and thanks for teaching me VS and Java.
Thenks bro i love you
ОтветитьAwesome
ОтветитьThanks! you have a knack for story telling, which is good for in this line of work (media).
Ответитьthanks for explaining all the complicated parts! really helped me out a lot!
ОтветитьDoes this code work on BlueJ too?
ОтветитьThank you so much TTTOTTTT i really needed this for our final project
ОтветитьThank u <3
Ответитьthe best snake video on entire you tube
ОтветитьThank you for this video, it help to learn how write java code :) !
I try tobuild a restart function after a game over. For exemple, when you press the space key, it restart the snake game. I failed but, can you advice or give food for thought please ?
Thank you in advance.
I tried this :
boolean restart = false;
public void keyPressed(KeyEvent e) {
...
// restart function
if (e.getKeyCode() == KeyEvent.VK_SPACE && gameOver) {
restart = true;
}
}
@Override
public void actionPerformed(ActionEvent e) {
...
if (gameOver) {
gameLoop.stop();
if (restart) {
gameOver = false;
gameLoop.restart();
}
}
}
Just did the project and it did help me clear my java fundamentals!I just had one idea,how can I increase the speed of the snake each time it eats the food?
ОтветитьDo you have javafx experiance, it is possibile too? Snake game?
ОтветитьCan we do this in scanner class?
ОтветитьObrigado que tutorial incrível, ficou muito bom esse jogo. Assisti vários vídeos de como criar um jogo da cobrinha, e eu percebi que existe várias inúmeras maneiras de fazer um jogo mesmo sendo parecido, más com instruções diferentes, Obrigado vc explicou muito bem .
ОтветитьReally cool. Thanks
ОтветитьAI:🗿🗿
ОтветитьThanks for the latest info.
ОтветитьThe best way to appreciate you is by Subscribing. Thanks for this video. Can you please create a soccer game development tutorial.
ОтветитьQuestion: Why do you need to declare all the stuff for the frame. and then declare stuff again in another class so it can be drawn on?
ОтветитьThank you for the helpful video
ОтветитьI can´t run the code,I think it´s because the javax.swing feature is not working, but I´ve written it exactly how you did, so I am confused a little bit.
Sorry if there is a mistake on my side, but I´d be really happy if you could help me with that.
I set up Java in vscode like you in your tutorial, but I could´ve done a mistake, so I please help me if you can.
Also thank xou for creating videos like this.