![]() ![]() I'll probably release it when it's done, so stay tuned for that I guess. That's it for now, just wanted to share the idea with you! : base(ServerPacketHeader.MyDeathMessageComposer)īase.WriteInt(Convert.ToInt32(Math.Floor(Convert.ToDouble(BlocksCaptured) / 256.0))) // Blocks captured multiplierīase.WriteInt(BlocksCaptured % 256) // Blocks captured remainderīase.WriteInt(Convert.ToInt32(Math.Floor(Convert.ToDouble(PlayersKilled) / 256.0))) // Kills multiplierīase.WriteInt(PlayersKilled % 256) // Kills remainderīase.WriteInt(Convert.ToInt32(Math.Floor(Convert.ToDouble(HighestRank) / 256.0))) // Highest Rank Multiplierīase.WriteInt(HighestRank % 256) // Highest Rank remainderīase.WriteInt(Convert.ToInt32(Math.Floor(Convert.ToDouble(SecondsAlive) / 256.0))) // Seconds alive multiplierīase.WriteInt(SecondsAlive % 256) // Seconds alive remainderīase.WriteInt(DeathType 3 ? 1 : DeathType) // Killed by, 1=player, 2=the wall, 3=yourself Public MyDeathComposer(int SecondsAlive, int HighestRank, int PlayersKilled, int BlocksCaptured, int DeathType, string KilledBy = "") You are playing against players from around the world, so good luck and have fun How to play: Arrow keys or swipe to move. The more blocks you control the higher your position on the leaderboard. ![]() Though I have yet to configure all the incoming packets, and the game itself etc. Capture as many blocks as possible while avoiding take over by your opponents. The server handles and sends packets properly. The server is 100% selfwritten, though does it contain some inspiration from some projects I've been working with lately. I'm not againt Java, don't get me wrong, but I simply love Visual Studio. Splix.io is made with html5 technology, developed and uploaded by, you can use it on PC and mobile network. io category, Splix.io has received a 5-star rating from 90 of players. You're either pro- or anti-C#, I "grew up" programming in C# as I was always working on Habbo related projects. io online game that you can play for free on PC, mobile, iPad browsers. ![]() I simply modified the client, allowing me to log packets and learning more and more about the game. The library I'm using for C# WebSockets is Flex, the reason for this is simply because I had experience with it. It uses a javascript client, and in my case a C# server. Just like Ogar did with Agar, I can create some custom gamemodes too which is really fun to look forward to. Never before have I made my own C# project, so bear with me as you might see some irregular code.īesides wanting to expand my knowledge, it seemed a good idea to me to let people create their own private servers, allowing them to play with their friends, and their friends only, in for instance a much smaller map. I like the game very much, and have nothing but respect to the developers of it, yet I'm still a curious George wanting to expand my knowledge. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |