Java Game Programming - Multiplayer Tank 2D Game

preview_player
Показать описание
#java #javagame #javaprogramming
Building a multiplayer tank 2D game in Java. Get the code and build this game.

Game repo:

Subscribe my other channel:

Practice Recursion Problems in JAVA:

Java game programming is really easy to learn. We will develop a brick breaker game with java. We will use JFrame and JPanel for drawing different graphics to make this game work perfectly.

Develop Snake game in java:
Рекомендации по теме
Комментарии
Автор

Subscribe my other channel for tech vlogs and much more:

AwaisMirza
Автор

Hi can you make a networking multiplayer game tutorial?

torch
Автор

Hi! I wanted to know if it is possible to make the tanks not being able to go through walls

leonkranjcevic
Автор

the collison of bullets and wall work perfectly but the tank itself doesn't stop at a wall, it moves over the wall. the tank can even walk over another tank. can u tell me where it went wrong?.... n i hv only used the 5 java codes main, gameplay, etc and the images used, not the bin, setting, project or classpath.

soumyanayak
Автор

Hi! May I know how do you calculate the number to put in for the bricksPosX and BrickPosY?

nicholassoon
Автор

My programis running with a black frame.. but there are no images displayed.. please help

adarshkumarmishra
Автор

it is working but i cannot play two players at the same time. when i press for eg. left arrow key the other player stops.

juvenildr
Автор

I noticed something in the code, in your private player 1 and 2 class you can replace the if statements with switch and case when you check for KeyEvent instead of using ifs that will load the CPU(not that it matters that much since the code is not that long).
but a good example, there are a few other ifs you can replace with switch case from what I am looking at, and as far as the Player1 and Player2 classes go you could have used a Player class and simply define from it 1 and 2, there is not really a good reason to duplicate code.

also its just my observation of the code because im kinda learning it, so these are essentially bulletpoints for me

zehpjfx
Автор

Can you tell me how to make it when the tank collides with the wall not to go through it.

kaloyanzgurev
Автор

Good video but you should create more tutorials for this game

johanolea
Автор

Can you please tell me what you used and what size was used to make the tank sprites?

templeOfChrist
Автор

My dad told me if I can make this game he will buy me a computer under 3000$ I am so happy right now since I know like some of the things

lledgerledger