Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 09 May 2010
Offline Last Active Oct 26 2016 10:39 AM

Posts I've Made

In Topic: Free networking framework for C#?

02 October 2016 - 07:00 AM

WCF is wholly unsuitable for the front-end networking of multiplayer games. It can work fine for back-end service-to-service communications.

Lidgren is a C# game networking library. I don't know how easy it would be to integrate with Unity, whether the assemblies would work as-is, and such, but it might be worth a shot.


It works good with unity. But I have to poll for new messages instead of catching it in a observer pattern. I currently got this polling working but I actually want to extend it with a observer pattern so I can override something like void OnGameWorldChanged(). But first I want to familiarize myself a bit more and have some sort of chat/lobby application with rooms.

In Topic: Free networking framework for C#?

01 October 2016 - 08:44 AM

I was actually using System.Net for writing my own Socket application and wasn't aware of WCF. I will be looking into it, all I currently need is functionality to send data between server and clients. I currently also have a working connection between a Unity client and a C# console server using Lidgren.Network.



Just looked at that link and that actually looks amazing. It looks to be well documented, I can't believe I missed that in all my searches.

In Topic: How do I finish my first game with few hours to code but a lot of free time?

04 July 2016 - 02:58 AM

I would rather try to find a solution to get more hours behind a PC. If your parents do not allow it then explain what you are doing instead of playing games and involve them in your project. This can give good motivation and feedback for you as well. But I don't know the exact reason why you can only spent a view hours each day. If you don't own your own PC then build one yourself, if you are lucky you can get a pretty good one for just $25. Plenty of people that can help you with it on hardware forums.


Making notes and looking up sources is a good idea for your spare time but you cannot try it out and for a lot of things you need to go back and forth between documentation and coding.


Anyway, 3 hours multiplied by 30 days is still 90 hours. Creating a full (yet simple) game in 90 hours is totally doable if you have some experience. So finishing up half a game should be possible, depending on the game of course. For a competition this long most people can only commit about 3 h/day = 21 h/week since they probably have a full time job.

In Topic: Keep checking credentials on Rest API?

04 July 2016 - 02:40 AM



I really like the idea of a token so I think I will be generating my own tokens with userID + random string to make it unique and store this on the client and database. But this leaves me with a security question. I guess I have to use https and I have no experience with this. Can I just develop without SSL and when I deploy the app install SSL on the server? Obviously I need to change all my http web requests to https but I can just change my domain string to achieve this. Or should I setup a SSL connection with XAMPP to continue developing locally? I tried setting it up locally with my own certificate but I'm experiencing problems and I rather just continue developing :).

In Topic: Implamenting a code

01 May 2016 - 02:41 PM

Learn to code first then worry about design patterns...


Thats why I put Java 101 prior to design patterns. Programming any game requires you to at least recognize design patterns since LibGDX and other frameworks will use them. Yes you could tell a man to just .addlistener(new Listener() { ... }) but I rather tell a man how to fish instead of catching one for them.