The Daily Click ::. Projects ::. Wargame ( Online )
 

Project: Wargame ( Online )
Project Started: 16th June, 2009 Last Update: 9th September, 2009
Project Owner: Mxthe Project Members: Mxthe Zethell
Project Type: Online 2D SideScroll Shooter Project Progress:
More Info: http://www.filefront.com/14312693/Wargame-Online-V.0.9-Installer.exe/ Faves: 2

Online Coming UP !
Posted 11th Jul 09, by Mxthe  
Hey everyone, sorry I haven't posted any news ! I have been fully working with MOO click and stuff, I had the whole engine converted with MOO click, but I also kept the old one, fixing a lot of small glitches.

But then, 3 days ago, I discovered OINC, and I had to manually convert EVERY line of code to the equivalent in OINC, that was painful I can tell you, but now it works way better, and I don't get any latency issues anymore ! Hurray !

The thing is, when the map starts, you choose between playing offline, or playing online, when you choose the play online, you select a server from a list, and then, a channel list is generated from the current online games.

You can join any game currently going, but you can only play if there is a post available (3 players max)
You can off course host a game, by creating a channel thanks to the great Host button !

If you join a full channel, you will automatically be set as a spectator.

In spectator mode, you move the camera with your mouse, and you can spectate everything, but you can't really do much, you can of course chat with the other people and you can leave the server, or wait for a player to leave, and in that case, you will take his place !

How this works ?

Each time a player joins a channel, he is given a number, basically it's a counter, when the player connects, the counter sets itself to :

Number Of peers + 1, which means, that the counter will set itself to the number of people in the channel, plus one, giving each users a specific ID, and better yet, in the order in which they joined the game !

Now, User 1 is the channel host, User 2 and 3 are the two additional players, every user above that, will be spectators, and cannot do anything in the level, just move their cursor around which will move the camera.

The thing is that, when a user leaves, all the users ids greater than his will get one less.

For example, if user 2 leaves, user 3 will become user 2, user 4 will become user 3, ect...

Which means, that the specator will take the place of the user 3, and then the user 5, who came after user 4, will now be user 4, and if another user leaves, he will take the place of user 3, which means that if someone leaves, the spectator that was here first will get to play, in the right order !

You can see your user ID in the hud...


Now that's about the user things, but what about the game itself ?

Well in the game, every player see themselves are the main character (the one with the dark hair) but the other users, see you as the Teammates, ( Light hair and bald guy ).

The thing is that I have optimized every bullet and grenade, so that when they "take place" away from the player's sight, the sound that plays, and the amount of debris is significantly changed !

Meaning, if another player shoots a grenade, and that you are at the other end of the map, all you will hear is a distant explosion, and only a few amounts of debris will be created, but if this player is right next to you, you will hear a close explosion, and a lot of debris will be created !

Hell ! If you're standing right next to the explosion, you're ears are gonna beep, and you're gonna be deaf for a while, but you won't suffer any damage.


Friendly Fire is Off with other players, but On with Computer allies, only for explosions.

Meaning, if you throw a grenade on a computer ally, he will die, and you will loose score ! So watch out where you throw your nades when playing with computer mates !

Some other stuff :

When a player joins, his name, level and the right color of his name is displayed above him, meaning you will know the names and level of each player, which will really affect gameplay !

A level 10 guy will be faster than a level 2 guy, and will probably have all weapons unlocked, as well as the outfits !

Now the outfits display accordingly, meaning that if you have your Jason Mask on, to slash ennemies in 2, the other players will see you with your jason mask ! Ain't that great?


Another cool thing, Left 4 Dead'ish, if a player leaves the game, and there are no other players to replace him, the Ai will take the empty spot, meaning, that the character won't just die, or respawn, he will stay at the last position where the player was, and his name will be randomly generated, and he will be, the usualy computer dummy !


That's about it ! Any questions, recommendations, critics, or Hurray, just post !

This project could use some comments !

I hope you guys are enjoying the beta !

http://www.create-games.com/download.asp?id=7831

No comments have been posted for this post.


 



Project Forums


Favourite

Advertisement

Worth A Click