Menu

Havoc Zone

Home / portfolio / Havoc Zone

Havoc Zone

Hovoc Zone is a personal project where you play against other players in a free for all shooter. You play agains each other in a single arena via steam multiplayer servers.


The idea for the project is that I wanted to make a game where you play multiplayer agains each other in a multiplayer shooter. When I started I wanted to work with the Steam multiplayer servers to make a multiplayer game using steam.


img-Image


This is a part of a larger script to add and update all the information of the players in the lobby. All the correct data gets set to the players own information like the playername, playerid, steamid, profile picture and if the player is ready to play. This information is required to see if the player has indeed installed the game and so you can display specific stats at the end or during a game. All this information gets saved in the player until this player has left the game.



img-Image


This function will set for the total width and height of the gid where you are simulating all the cells on or off. This will edit the sprite editor to change the visual of the cells to show what cells are alive or dead. If the cells are alive or not is remembered by the "_activeCells" array and set into the "_cellGrid" array to show which cells visuals are being changed.


If you enjoyed this read or have questions feel free to contact me!

Download/View project

Share