Subscribe my new channel: www.youtube.com/@ProgrammingwithUmair321
@GetInfo-j7k
4 ай бұрын
You Dumb Guy have no idea how to Teach Means Just Readaing Code from somewhere and writing Blidly What the Fucken way of Doing.... Literally got Fuked my Mind As u just copying from somewhere else and telling No Logic Big L for You
@mJiVAL
5 жыл бұрын
Just wanted to let you know that you just got me a 95% on my final computer science summative which brought my failing mark to a passing mark which allowed me to graduate highschool ! thank you!
@vadari9705
5 жыл бұрын
Your school had a computer science course? that sounds cool as hell.
@dr4876
5 жыл бұрын
@@vadari9705 We have Minecraft in our school
@dr4876
5 жыл бұрын
@@hussmess1161 Welcome to Germany
@randomaccount6146
5 жыл бұрын
@@dr4876 waaaaaat you never heard of tuber simulator ???
@TomEyeTheSFMguy
5 жыл бұрын
Why can't I be enrolled in classes like this? All I get are shit classes like global history, human bio, and Spanish.
@bloxshortsdaily971
6 жыл бұрын
These are the kind of people that make the world so much easier to live on.
@khyatimaddali9360
3 жыл бұрын
For beginners like me who don't understand the logic easily, your videos have always encouraged me and made it fun! looking forward to many more tutorials. thankyou :))
@TattedFaceJoey
Жыл бұрын
At 23:26, don't forget to add obj.addKeyListener(gamePlay) after obj.add(gamePlay) in your Main class to get your paddles to move.
@steroid17
Жыл бұрын
thanks
@LeonidasSthlm
5 жыл бұрын
Here is the code: Main.java _______________________ package brickBreaker; import javax.swing.JFrame; public class Main { public static void main(String[] args) { JFrame obj = new JFrame(); Gameplay gameplay = new Gameplay(); obj.setBounds(10, 10, 700, 600); obj.setLocationRelativeTo(null); obj.setTitle("Brick Breaker!"); obj.setResizable(false); obj.setVisible(true); obj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); obj.add(gameplay); } } _______________________ Gameplay.java _______________________ package brickBreaker; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.Timer; import javax.swing.JPanel; public class Gameplay extends JPanel implements KeyListener, ActionListener{ private boolean play = false; private int score = 0; private int totalBricks = 21; private Timer timer; private int delay = 8; private int playerX = 310; private int ballPosX = 120; private int ballPosY = 320; private int ballDirX = -1; private int ballDirY = -2; private MapGenerator map; public Gameplay(){ map = new MapGenerator(3,7); addKeyListener(this); setFocusable(true); setFocusTraversalKeysEnabled(false); timer = new Timer(delay, this); timer.start(); } public void paint(Graphics g) { //background g.setColor(Color.black); g.fillRect(1, 1, 692, 592); //drawing map map.draw((Graphics2D)g); //borders g.setColor(Color.yellow); g.fillRect(0, 0, 3, 592); g.fillRect(0, 0, 692, 3); g.fillRect(691, 0, 3, 592); //Score g.setColor(Color.white); g.setFont(new Font("serif", Font.BOLD, 25)); g.drawString("Score: "+score, 300, 30); //The paddle g.setColor(Color.green); g.fillRect(playerX, 550, 100, 8); //The ball g.setColor(Color.yellow); g.fillOval(ballPosX, ballPosY, 20, 20); if(totalBricks570) { play= false; ballDirX = 0; ballDirY = 0; g.setColor(Color.red); g.setFont(new Font("serif", Font.BOLD, 35)); g.drawString("Game over! Your score was: "+score, 100, 300); g.setFont(new Font("serif", Font.BOLD, 20)); g.drawString("Press enter to restart", 200, 400); } g.dispose(); } @Override public void actionPerformed(ActionEvent e) { timer.start(); if(play) { if(new Rectangle(ballPosX,ballPosY, 20, 20).intersects(new Rectangle(playerX,550, 100, 8))) { ballDirY = -ballDirY; } A: for(int i = 0; i
@arifdidic7074
5 жыл бұрын
MapGenerator.java package brickBracker; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; public class MapGenerator { public int map[][]; public int brickWidth; public int brickHeight; public MapGenerator (int row, int col) { map = new int[row][col]; for (int i = 0; i < map.length; i++) { for(int j = 0; j < map[0].length; j++) { map [i][j] = 1; } } brickWidth = 540/col; brickHeight = 150/row; } public void draw(Graphics2D g) { for (int i = 0; i < map.length; i++) { for(int j = 0; j < map[0].length; j++) { if(map[i][j] > 0) { g.setColor(Color.white); g.fillRect(j * brickWidth + 80, i * brickHeight + 50, brickWidth, brickHeight); g.setStroke(new BasicStroke(3)); g.setColor(Color.darkGray); g.drawRect(j * brickWidth + 80, i * brickHeight + 50, brickWidth, brickHeight); } } } } public void setBrickValue(int value, int row, int col) { map[row][col] = value; } }
@omkarkale4072
3 ай бұрын
Send this code plz
@RsFgLeB
6 жыл бұрын
For people that have problems when its not drawing anything do this: put your obj.setVisible(true); after obj.add(gamePlay); This will make it visible after the objects are drawn, I don't know why it matters though but it fixed it for me
@itsfye3096
6 жыл бұрын
Gleb Thanks a lot, worked for me.
@sianlalsuantak6844
6 жыл бұрын
works for me as well....don't exactly know why....hahahahha i was struggling untill i found your comment!! thanks buddy
@RsFgLeB
6 жыл бұрын
No problem:)
@TsukiCTF
6 жыл бұрын
thanks :)
@tahsinahmed1602
6 жыл бұрын
It's not working 4 me man
@jaffzzop4259
7 жыл бұрын
You can change the starting direction of the ball so you arent playing the same game over and over by changing the ballxdir to a random number within small range Random random = new Random(); int n = random.nextInt(2+1-2) - 2; private int ballXDir = n; private int ballYDir = -2; you can adjust the range of the random for +speed/+difficulty. Make sure to change it in the ENTER key event also.
@NaveenKumar-lf8yp
Жыл бұрын
Bro how can I download source code
@hkstar2871
6 ай бұрын
how to change the speed please help
@InPassing79
4 жыл бұрын
After 6 months of classes in text and math based Java, this was my first graphics based Java and I LOVED IT!! Thank you SO MUCH!!
@deepakshivraj4881
4 жыл бұрын
Timothy , I didn't see the entire video but can u tell me the requirements for doing this project. Like do I have to know hashmap , hashset and something like that bcoz i am still not there but I do know oops concept. Is this enough to learn and do this project. Plz reply
@InPassing79
4 жыл бұрын
@@deepakshivraj4881 nothing complex like that. He goes step by step so if you can copy you can do it all. I have a working copy just by following. Graphical syntax commands. You can do it. I've only been doing Java practice 3 months and I could follow and understand.
@zsoldosbotond7531
4 жыл бұрын
It tooks 7 hours to make this game after your tutorial, but I learned very much from it. Thank you!
@pth194
4 жыл бұрын
Could u send me the code plz
@somecreativeperson6719
4 жыл бұрын
@@pth194 Gotta learn how to do it and practice it yourself my guy.
@HannahOmer-e1h
2 күн бұрын
wait why did it take that long? did you re write it from memory?
@chiragmehta2955
Жыл бұрын
can you share source code please..it would be big help for us😀
@panagiotiskoligas9631
5 жыл бұрын
dear Awais Mirza,i am from Greece.thank you very much for this video.it really helped me a lot.but i built this game with netbeans and i must inform you that you must write the command:timer.start(); into all the functions you have created and implement the keylistener and the actionlistener otherwise the game will not be started!!!take care.thanks again!!!
@ranianatsheh8565
3 жыл бұрын
hello , can u show me how?
@ranianatsheh8565
3 жыл бұрын
so far the map and the bricks aren't showing on the game
@panagiotiskoligas9631
3 жыл бұрын
@@ranianatsheh8565 i don't know about that.it's been a while since i watched this video and tried to follow ecactly mirza's steps but i remember that the bricks were showing...!!maybe you miscomputed something..send him a comment.maybe will answer to you...!!!
@ranianatsheh8565
3 жыл бұрын
@@panagiotiskoligas9631 thanks for replying back, i wrote everything like he did however the bricks are still not showing , and yes i wrote him a comment but he didnt answer,most probably wont , but anyways thank you again for replying back .
@panagiotiskoligas9631
3 жыл бұрын
@@ranianatsheh8565 it' ok.unfortantly i had written his code many years ago i am not even sure if the programm still exists in my pc!!so i can't help you further.be sure that your main class extends jframe and has all the neseccary swing libtaries ..hope i helped..!!!!
@ayub3048
3 жыл бұрын
okay, so I've completed this tutorial. glad to say this was my first game program. Here are some troubles I encountered: 1.Wrong signs - Mostly < & > were misplaced [Syntax Error] 2.Game restarts with any key press once the ball goes off-screen. I'm new to coding and would really like to step forward. Thank you very much, Awais for this tutorial.
@baeleaf8
5 жыл бұрын
For those of you confused about the timer, he changed the private int Timer time; to private int Timer timer;
@leonkv3653
4 жыл бұрын
Just private Timer timer; but thank you :)
@jessicabeatriz8500
Жыл бұрын
Thanks a lottttt
@abdullaharif6561
6 жыл бұрын
I have made this Brick Breaker game in just 2 hours and 15 minutes it's working properly like yours.This is my first game ever that is in java language and I learned a lot from your video.Thanks🙂
@code913.
6 жыл бұрын
0:06 I saw the length of the video and was AMAZED
@CarlosRamirez-jv7nc
6 жыл бұрын
I like how you explain, cause you go step by step. first time using swing and JFrame and totaly understood.
@_vasu2907
6 жыл бұрын
Great Video for beginners😊.You have taught in a well mannered and easy way.My game ran succesfully.Thanks a lot.
@mrsunny9217
4 жыл бұрын
Sir my right key and left key is not wrking plz help mee...
@vasanthkumar9359
4 жыл бұрын
Bro I need source code
@tanishtyagi1301
4 жыл бұрын
yeah me too
@jump3erlt
7 жыл бұрын
Thanks, really helpful video, made me understand how timer, update and render works. Apart from the "physics", did all those changes between states and other things by myself. I think this video helped understand the basic game-makery and will lead me forwards to more advanced gaming stuff. Now I'm looking forward to upgrade the game and add tons of functions, levels, maps and so on. Thanks!
@andrewschatz3949
7 жыл бұрын
Thanks for doing this. It was extremely helpful. For future reference, could you please explain what certain lines of code means? For example, the entire Gameplay constructor was a little confusing with most of the lines.
@Amera-vt6xo
4 жыл бұрын
I'm angry it didn't work in the 20min and now i have headache 🤕 It works ☺️ thank u so much
@devesa8022
4 жыл бұрын
I have a problem. In 20 minutes, the paddle for me is not working. How do you solve it?
@MrGotz911
7 жыл бұрын
hi sir, I was hopping if you could share the Java file for this game! thanks
@sanjaymarathe3763
3 жыл бұрын
github.com/krzychna/Game_breakout yes here is repo
@mehmedcavas3069
7 жыл бұрын
best Java channel. solve problems and videos to make games where u explain what u do. best man
@AwaisMirza1
7 жыл бұрын
+Mehmed Çavaş there are more project in java on my channel check tge project playlist
@skyz3ra
7 жыл бұрын
thank god youtube for x1.25 speed
@danyodark5574
6 жыл бұрын
more like 2x
@simonbago
5 жыл бұрын
Thank you, sir
@longplays4days
5 жыл бұрын
yea x1.5 at least, even x2 :D
@Someone-ig7we
4 жыл бұрын
Most of my videos I play at x2 speed! Twice as many videos in one day! :D
@Someone-ig7we
4 жыл бұрын
@@soulextracter guess I'm blind then lol
@fatemaakter2363
4 жыл бұрын
Hello. I did everything as shown on the video until 20:38 seconds. But the green bar doesn't move when pressing right and left key. how to solve this problem? please help.
@abhishekgupta6371
4 жыл бұрын
Same problem happen to me too!
@mrsunny9217
4 жыл бұрын
How to handld this.......?
@information88info
4 жыл бұрын
same
@information88info
4 жыл бұрын
first use tab key then arrow keys will work
@abhishekgupta6371
4 жыл бұрын
@@information88info no ite not working!😕
@badrinarayans2290
3 жыл бұрын
When I am trying to increase the speed by reducing the delay time.The speed of the remains unchanged.So please guide me How to increase the speed??
@joyboy1730
3 жыл бұрын
Even I have same issue . Can we use a diagnostic troubleshooting queries to resolve?
@ayub3048
3 жыл бұрын
you can change the value of private int delay = 8; to something lower and speed will increase. This worked fine for me.
@emresen8060
3 жыл бұрын
@@ayub3048 can you send me source code i need help
@milk4lyfe
3 жыл бұрын
unchanged.so sounds like a cool website
@AyuWulndari
3 жыл бұрын
@@ayub3048 i have tried it and the speed remain the same. Any suggest please?
@chatly8461
3 жыл бұрын
I loved creating and playing the game later. Thank you so much for making it seem easy.
@shaikhzoyeb
7 жыл бұрын
thank you Awais Mirza. your video is kick starter for those who want to create simple game.thank you so much bro
@itsthecrazytom7855
7 жыл бұрын
Yep couldn't have put it better myself ! ^^
@AlamBarmaja
11 ай бұрын
for a begininer it will be hard to understand your video because you skip a lot of the explanation, but for an experienced progrommer he will be able to connect the dots even if you skip somethings
@Sami-nw9zh
4 жыл бұрын
You should add a counter to count how many times you say "alright"
@akash0damawale12d
4 жыл бұрын
LOL
@biglloyd5870
7 жыл бұрын
The balls starting x and y should be random under certain conditions of course so that the game doesn't play out exactly the same every time non the less well done I've learned so much as a beginner from this video
@benzenatizineeddine7816
4 жыл бұрын
I don't want to be "this guy" but.....it's brick brEaker
@ankitchandora6902
7 жыл бұрын
the way u explained it all was the best....i learned a lot from this tutorial...thank you sir..
@dzjon37
5 жыл бұрын
"do as i do" was all i heard.. what was exactly explained here? maybe he has programming skills, but as a trainer, he definitely needs improvements...
@sexillamasexi7182
5 жыл бұрын
My ball can just move up and down and won't move to the sides at all I have tried pushing it using the paddle to the side but it just glitches inside the paddle for some reason... Someone help? (Kinda late I know)
@sakthi4272
5 жыл бұрын
Yeah I have the same problem now
@sexillamasexi7182
5 жыл бұрын
@@sakthi4272 I fixed this problem now I don't remember exacly how but I have changed the game into something totally different now sadly
@storrem5094
5 жыл бұрын
same problem
@shailysingh844
2 жыл бұрын
Paddle is not working
@swativerma9494
Жыл бұрын
My Ball is moving in one direction only, so its basically stuck in a loop and going up and down in a straight line. This way the game never ends. what to do?
@VWSPD
3 жыл бұрын
thank you so much i learned many tools from this video
@mutasimrafid4446
4 жыл бұрын
Just finished making the game.😁😁😁 It's working nicely 😍😍😍
@kylechavez5427
6 жыл бұрын
Why does "if(map[ i ] [ j ] >0)" was a error to me?
@wilfriedk8948
4 жыл бұрын
Kyle Chavez I have the same error, but I don't find the solution
@amankale4692
4 жыл бұрын
use control+space to get suggestions when needed it makes coding much faster.
@ujjawalkumar1126
3 жыл бұрын
Thank you very much, code was very simple to implement and you explained everything beautifully😀
@tyty21315
6 жыл бұрын
Hi, how do you change the speed of the ball? I want to make it so when you complete it, it restarts at a faster pace.
@5mimiloe
5 жыл бұрын
Did you eventually do it? I would like to know how you did all that
@daviddavidov8026
5 жыл бұрын
@@5mimiloe lower the delay integer
@shivarajbiradar8977
5 жыл бұрын
make delayTime less
@mrlildylchillin
7 жыл бұрын
this is an extremely basic version of the game. it also has many bugs but for an hours worth of video its definately worth the watch. it would be good to give the ball a different bounce angle depending on where it is on the panle the ball hit because it would make the game play a lot less predictable. Thanks thanks for helping me with my java essay as i'm a c# dev :)
@AwaisMirza1
7 жыл бұрын
Download the GitHub version of the game it has the functionality for ball moving randomly
@FamousCloud
7 жыл бұрын
link please :)
@danieloluwakemi9088
Жыл бұрын
@@AwaisMirza1 can't find it, it's not in the description
@charlesenglish6922
7 жыл бұрын
Great starter ! Tan Yixun asked about the code and I am interested also! It would help a lot in my progress. Please and thank you.
@logeshv1335
5 жыл бұрын
The brick doesn't intersect correctly and I can't find what's wrong but we can play the game some one please help me??
@srikanthracharla420
4 жыл бұрын
I am getting error as setStroke() i need to type caste it, how to do it?, Can anyone tell me
@brunomello7499
7 жыл бұрын
Why don't you start using eclipse's hotkeys? Like for example: Ctrl+1 for showing quick fixes, Ctrl + shift + F for auto indent, etc
@СимонЦанков
5 жыл бұрын
Does it work with InteliJ, i prefer it rather than ecpipse
@DavidVazquezBk
5 жыл бұрын
Works even in notepad, the IDE is only a helpful program to ease the process of programming
@cutelittlebirdie789
5 жыл бұрын
so gameplay is like the same run from start to finish. same thing happens over and over until you fail. but anyways i learned a lot from this tutorial. it's a nice kickstarter tho! thank you for this.
@DavidVazquezBk
5 жыл бұрын
You just described the idea behind every videogame, it is called the "loop" of the game, the method that executes every frame
@queenaz1851
6 жыл бұрын
Hello! It's a great video! But I'm kind of confused about the part in GamePlay where if(ballPositionX + 19 = brickRect.x + brickRect.width) ballDirX = -ballDirX; else ballDirY = -ballDirY; Could you explain it, please? I think I kind of got your general idea but it still seems not to make sense to me.
@TomGrey56
6 жыл бұрын
The ball has hit the brick (ballRect.intersects(brickRect)) is true; the brick disappears, the ball bounces. Either the ball hits a left or right side (X), or a top or bottom (Y). The complicated || (or) test is to check the left/right side hit, which causes the reverse ballXdir = - ballXdir. Otherwise it hit a top/bottom side, and bounces with ballYdir = -ballYdir. This was a good question -- to an excellent video tutorial. Thanks!
@AnhTuNguyenanhtunguyen
6 жыл бұрын
Hi, can anyone please explain, why do we need "break A" in 46:50?
@queenaz1851
6 жыл бұрын
Tom Grey Yah I got it after a while!😅
@gumbubbleyt6137
Жыл бұрын
can someone explain to me what the timer object is suppose to do? I am new to programming and would like some clarification if possible, thank you!
@Rob-uv4bn
7 жыл бұрын
Great video! Thank's for sharing, it was really informative!
@the_creator9451
5 жыл бұрын
THANK YOU VERY MUCH!!! YOU'RE A HERO WE DON'T DESERVE!
@tonatiuhfitzgerald9112
7 жыл бұрын
Everything works great besides ball deleting brick from the left when it hasn't touched yet, only from the left, it makes contact from the bottom, right, and top.
@benitto_rajf6178
5 жыл бұрын
It's my first work to create game, thank you sir
@rogerabercrombie8450
7 жыл бұрын
Why won't mine show up on my screen when I try and run it. Their is no errors
@AwaisMirza1
7 жыл бұрын
+Roger Abercrombie i have already answered this question read the comments
@RetroGamingClashOfClans
7 жыл бұрын
theres too many coments could u please help witht his problem
@samkitbarbhaya4698
7 жыл бұрын
use setVisible() at the end.
@lastronomediscount9304
5 жыл бұрын
i havnt tested this out yet but i figured that maybe by setting position of moving objects in float and casting them to a int before rendering them would make the movement seem smoother
@sahajsomani9193
6 жыл бұрын
Thank you so much buddy! This tutorial was of real help! Maybe you can also teach us how to make the game a little advance my adding levels and more persistent bricks which have to be hit twice or even thrice.
@yixunnnn
7 жыл бұрын
do you mind sharing the java code as a text ? thanks :)
@Sanjanauday39
6 жыл бұрын
do u have the code in the form of text?
@ashokajmera9104
6 жыл бұрын
code given or not ashok jain
@anisharjula7587
5 жыл бұрын
Yi Xun Tan
@franm.e.7183
6 жыл бұрын
Mirza, thank you very much for sharing your knowledge. The game worked perfectly for me, after correcting my own mistakes of course!! Mine were I sometimes wrote 1 instead of i and forgot to use ! before play. Just hoping it could be of help for other newbies like me.
@paragcoimbatore9894
4 жыл бұрын
can u tell me, how to set border for the third side
Aiden Wang hey can you explain how the main methods keeps calling different instances of the object. I understood how the paint repaint works but the heirachy in the main class is lost in me
@aidenwang7276
7 жыл бұрын
The rectangle keeps on getting erased by the background (drawing on it).
@BUFFDOENUT950
7 жыл бұрын
Actually, I can not get it to move either, and I did all of those things.
@mikejay8987
6 жыл бұрын
@ ajinkya Kelwadkar i did what you said, but it's still doesn't work. i can only move my paddle to the right side, left side is not working!
@olekristianmller-hansen4220
7 жыл бұрын
Your finished product contains a glitch. If you start off by moving the paddle 6 times to the left, the ball will get stuck underneath the paddle. You can move the paddle along with the ball to keep it trapped until you release it.
@kylechavez5427
6 жыл бұрын
When i try to move the arrow keys it show error for "if (map.map [ i ] [ j ] >0 )"
@TheTriangle444
4 жыл бұрын
For every beginner like me who are tasked to create a simple game in java and wondering, "How the hell do games work in Java??"" the answer is repaint(); Now enjoy watching you''ll see it yourself :)
@ThA_Gambler
7 жыл бұрын
can someone explain me the brick map ?
@AwaisMirza1
7 жыл бұрын
Try dry run the code, use debugging mode. You will get more understanding if dry run it yourself. I don't think any body can explain you map class by writing text.
@paragcoimbatore9894
4 жыл бұрын
@@AwaisMirza1 sir,how to get the border for the third side, i am getting an error
@jimmckay2337
4 жыл бұрын
Great job going over this. Easy to follow along.
@shrutidevshatwar882
2 жыл бұрын
I have written the code as said in video but my ball in output window just moving vertically not horizontally. It just moving upward how could I solve this problem PLEASE ANY ONE CAN HELP
@christinahsu253
5 жыл бұрын
Great tutorial. Easy to follow and clear instructions.
@shrutiturbadkar4789
7 жыл бұрын
how to create a next level for this game
@redditman9525
4 жыл бұрын
im getting a error when using timer i did exactly what you did and imported it right "timer cannot be resolved to a variable"
@Josip9888
4 жыл бұрын
Check on your imports and change it to: import javax.swing.Timer; You have different: import java.util.Timer;
@oge6257
3 жыл бұрын
at the right border, the yellow rect not visible. i have checked the code many times. it's completely exact code, whats going on?
@franciskinyuru3459
2 жыл бұрын
Awesome introduction to game development in java.
@bryaniceberg1419
7 жыл бұрын
30:05 XD
@cellmachiner
4 жыл бұрын
XD XD XD
@icecreamdino1904
4 жыл бұрын
First ever java game :) never been so happy in my entire time coding.
@MySisterIsASlytherin
5 жыл бұрын
Any idea why I wouldn’t be able to see the border on the right side of the window? The other two show just fine...
@aamirali8114
5 жыл бұрын
g.fillRect(681, 0, 3, 592);
@venom-br4uy
4 жыл бұрын
Oh my goodness, you gentleman helped me so much. You explained everything you did, even tho I didn't understand some things. I learned a lot more from u, thank you so much. You earned a subscriber and u earned a like for this video. Thank you so much.
@maximilianojorgeriggiocorr5943
2 жыл бұрын
Excelente, aprendi muchisimo gracias por enseñar tan bien. Saludos desde Argentina.
@raghavendrach9886
6 жыл бұрын
Thank you sir for giving such game to create, its nice for beginners thank u soooo much
@basalduat
7 жыл бұрын
Very Well Done Awais!! This site is excellent for Java Learners. Just do one thing for us who have poor eyesight. Please Enlarge the font as much as you can! Thank you very much.
@AwaisMirza1
7 жыл бұрын
Thanks :) Ya sure.
@cellmachiner
4 жыл бұрын
bro this guy so close to 100k lol 99.9k
@collinb0607
6 жыл бұрын
This video was very well done. I learned a lot as well as I now have a game for myself. Nice job! :)
@navdeeparya1270
6 жыл бұрын
theweirdo0607 Hey help me fix the issue.
@majmud
3 жыл бұрын
Hey one tip you can do Ctrl+Shift+O to import packages as well
@NishthaSharma-j3s
4 ай бұрын
Hi I need some help with the code... the bricks are not disappearing after the interaction with the ball and the you won disappears instantly when the game ends please helpp
@parulsrivastava3268
5 жыл бұрын
There is error at action event and key event . It is showing -cannot find symbol -class KeyEvent/ActionEvent
@ItzRoyallol
3 жыл бұрын
when i tried to launch it for the first time it said "The selection cannot be launched, and there is no recent launches" please help
@reynaldmarcsanjose6504
10 ай бұрын
i follow all your steps after i run the code i can play but when the ball hits the brick it didn't remove how to fix?
@swarupmore2046
2 жыл бұрын
Thank You For Making Such Amazing Tutorial 👌👌 Please Do More Videos on Java Projects
@ramsannidhi7585
4 жыл бұрын
this is the best video I ever have seen on java
@danieloluwakemi9088
Жыл бұрын
you should have shared the source code bro, I've been stuck somewhere and I've been rewatching it to find my error, still can't find it. Comapring it with the source code would have been way easier. when I create the brick map, instead of showing a 3 by 7, it's showing 3 by 3 and I set it to 3 rows and 7 col. As is its cropped or something's blocking the remaining parts. And the ball doesn't move fast enough even though I set the same values with him EDIT: uh, silly me, it was just something in for loops, I didn't add index of 0 where I needed to
@piyushchaudhary7269
5 жыл бұрын
game.gameplay is not abstract and does not override abstract method KeyRealeased (Java.awt.event.KeyEvent) in Java.awt.event.KeyListener
@himanshumishra7131
3 жыл бұрын
Thank u so much.I have learned so much from your wonderful explanation.
@abrahamcastanedocornejo2510
2 жыл бұрын
Its not working for me, im using netBeans, at minute 23 Im trying to show the black window with the line and the dot but its not showing anything :c help
@arbrih2
6 жыл бұрын
there is a mistake with pedals but I correct it thanks anyway for sharing your knowelege if(e.getKeyCode()== KeyEvent.VK_LEFT) { if(playerX >=600) { playerX = 600; }....... }
@shekhnasim1541
3 жыл бұрын
Game Over part not working in my code. I just follow as yours. Any suggestion??
@kiehore9961
3 жыл бұрын
Please do zoom the screen when you are recording the video,it is very hard to see what you writing the code
@jessethomas9327
2 жыл бұрын
Wow that's really awesome thank u so much for such an informative video, God speed sir.
@davidmatterson3946
5 жыл бұрын
Excellent tutorial - loved it ! this why java is great !
@АсенГеоргиев-п6ж
4 жыл бұрын
Thanks for your videos and work but a bit of advise when you make tutorials try to explain more clearly the STEPS of your code : Why you do somethings for example - not just writing the code.
@235_rowshansultana8
Жыл бұрын
It's works properly thanks for this video man 😇
@zoradam6769
7 жыл бұрын
I have a problem when i code g.setStroke(new BasicStroke(3)) it is warming me that is not applicable for setStroke func.How we can solve it?
Пікірлер: 1,2 М.