A downloadable game for Windows and Linux

Download NowName your own price

Battle City Multiplayer is a remake of the 1985 Namco's classic game, but with TCP/IP support and a deathmatch mode.

If you've been living under a rock, or didn't have the privilge to witness this true classic, Battle City is a challenging game where you must face hordes of enemy tanks that will relentlessly try to destroy your base; and it's up to you (or you and a buddy) to outsmart them and stay alive through 35 stages of pure nostalgia/adrenaline.

Some features of the game:

  • 4 different types of enemies.
  • 6 different power-ups.
  • 35 stages.
  • 20 enemies per-stage
  • Different types of terrain that pose different challenges.

Features of this version includes:

  • TCP/IP support.
  • Local Multiplayer with same keyboard or gamepad.
  • More than two players over LAN or WAN
  • Level editor (in a separate download).
  • Friendly fire (toggleable in-game).
  • You can set the lifes per player.
  • You can change the starting level.
  • Custom arcade or death match maps.
  • Built-in chat.
If you like the game please consider donating so I can keep making better games!

Download

Download NowName your own price

Click download now to get access to the following files:

BattleCityMultiplayer_local_MP_support-v1.5-20190906.jar 17 MB
BattleCityMultiplayerLevelEditor-v1.0-20190810.jar 6 MB

Development log

Comments

Log in with itch.io to leave a comment.

does it work on windows 7?

it should!!!

Hi, awesome...
1) It's very annoying when you hit wall and keep pressing movement key in wall direction your tank is not stopped
2) when you hold one key e.g. 'A' then press 'D' (so 'D' and 'A' are pressed at time) tank is moving to right (correct). Afterwards when 'D' is released tank stop despite fact 'A' is still pressed. It's little bit annoying.

Is source code available?
Thanks!

Well, you can't please everybody. I changed the 'not stopping after hitting a wall' thing after another user said it was annoying that it stopped after hitting a wall, hahah!

Source code is available. Scroll lower through the comments to get the link.

Glad you liked it!

Oh sorry, I didn't noticed anyone was complaining about it.

https://github.com/jh62/BattleCityMultiplayer

Hey there! This game rocks. Thanks a lot! I'm not being able to play with a friend in another part of Europe. One of us starts a host game (only yellow tank appears), then the other follows the "join", with ip introduced, and after some few seconds is led back to the main menu, while the person hosting the game continues undisturbed. Am I missing some step? Ports are open through windows firewall. Thanks for any comment!

Try you and your buddy running the .jar through the console. Start the command line and run it like: java -jar "name_of_the_file.jar". If there's any error when connecting, it should come up there. Let me know.

Also, if you are behind a router, you may need to forward the ports (or your friend).

Thank you so much for this game. It was one of my most favourite games when I was a kid!

Can you please tell me how to use the .bcm files created using the level editor? I can't play the levels that I create using the level editor jar file.

There should be a 'mod' folder created right next to where the .jar file is. You put those inside that folder and they should be selectable in-game (just scroll past level35 or backwards). If there is no 'mod' folder, create one manually.

Thanks man..... You're awesome!

really cool game! is it posible for you to share the code on github im learning gdx recently.  

Sure. Here's the link: https://github.com/jh62/BattleCityMultiplayer. I warn you though, this was the first game I ever made (besides small projects) so this is not the best example how things are done and you will see that the code for keyboard/gamepads is a bit hacky because it is. I tried to implement gamepad compatibility in rush time and never touched it back again. Use it as a guide, but this is not how I would code it today. 

(1 edit)

np. still looks a great gdx example to me. great thanks

(1 edit)

may i have the complete gradle project with resources so i can actualy compile it if possible?  thx again!  

Okay, I uploaded the entire project to GitHub: https://github.com/jh62/BattleCityMultiplayer. Just remove the comma from the beginning of some files. I had to put a comma because GitHub wouldn't let me upload hidden files (or I don't know how).

really appreciated. i can build and run now.  thx again

Hey man, do you have any instructions on how to do multiplayer over TCP, trying to play with a friend overseas.  We've opened the ports in windows firewall and router and no luck joining the same game together...

After open TCP AND UDP ports, you should be able to connect. There's no other way. I play it very often with no problems. There's something blocking the connection most probably. Disable the router firewall if there's any. I should warn you though, the internet gameplay it's a little buggy at the time. If the connection is not good and not very fast, it will mostly break from time to time. I usually play in on the internet with friends under a solid connection.

Is there any any way that you make this game co-op?

It's co-op. What yo mean?

Offline Co-op...sorry for my fast writting.

(1 edit) (+1)

It's not required to be online for coop. You just have to connect another computer to your Lan ip. If you mean two people in same computer, be patient. I'm hoping to do a revision of this game in the coming future.

roger roger,thanks for the answer!!

(1 edit) (+1)

In the next days i will upload a version of this game with local multiplayer with the same keyboard and, hopefully, joystick support. Anyway, this version will be just the same game roughly adapted to make the other tank controllable. There will be bugs and maybe incompatibilities. Im doing this because i need it for a game party i will attend and i thought, for the time beign, it's the best i can do. In the future a new version of the game will come with renewed features. Enjoy!

How do me and my friend play?

Start a new game, give your ip to your friend and have him join a game with that ip. If you're behind a router or firewall, ports TCP 2596/UDP 2597 must be open.

Me and my friend keep getting in a game but it lags very bad and i keep getting disconnected. note we are on same wifi.

That's weird. I've tested it live many times through wifi, same local network, internet, etc, and never had serious lag issues or disconnects. If you play other games, those work okey? Try executing the jar through the command line and see what errors you get.