Jump to content

  • Log In with Google      Sign In   
  • Create Account

ferrous' Journal

Added multiplayer to mazewar

Posted by , 21 April 2014 - - - - - - · 1,178 views

Attached Image

So I added multiplayer, the UI is the default garbage Unity GUI, but it works and its easy, so it'll do for now as a quick placeholder to get to the new stuff. I also have a slider for the number of bots. I'm particularly happy that it supports dynamic joins, updating the map destruction for new players.

Now the downsides:
1. Colors are not synchronized over games (I should do a hardcoded list of good color and distinctive colors, or pass a seed, was lazy, it's just random values)
2. It's damned hard to find yourself in a 8+ player game, I should add some sort of effect, even just a light.
3. The AI gets confused when it gets too close to other AI. (actually a collision/movement issue)
4. I don't handle disconnect messages
5. Or have a way to restart a game
6. Or have a way to set the port (just a matter of adding the UI)
7. Or have a way to name yourself (or chat).
8. I don't have a win condition.

I need to test the synchronicity and smoothness, as it's client/server, but I only have the players instantiated as network objects, and even they don't pass info, except to the server. I probably need to do some smoothing, I think.

Another Unity Prototype: MazeWar

Posted by , 07 April 2014 - - - - - - · 1,126 views

Another Unity Prototype:  MazeWar
So this is a remake of an old Atari game: http://joshv.itburns.net/MazeWar.html

The basic ruleset is you can have only shot out at a time, hitting a wall causes it to explode shortly thereafter, sending shrapnel in the cardinal directions it wasn't shot from. If a projectile hits a projectile, it causes a backsplash.

Still has a few things to do, player/player collision is borked, for example. I should add difficulty, number of zombies, scoring and if I really want to go nuts, I'd add multiplayer of some sort. I should probably try adding mouse controls, and maybe do some actual AI, the current zombie is really simple (doesn't even really do pathfinding, though I don't believe the original game had all that much either, it mostly speed up their move speed.

The original game, by Mark Price is here:

April 2014 »


Recent Entries

Recent Comments