Forum C# Serverside visualisation for debugging?

Serverside visualisation for debugging?

Postby whitershores » June 4th, 2012, 12:41 pm

I was wondering if anyone could suggest a quick & dirty way of visualising whats happening on the server side.

I am fairly new to C#, so quite unfamiliar with how to render graphics onto the screen ? are there any free libraries for rendering 2D games?

(as the networking architecture is built around only transmitting game inputs, I cant visualise it by just looking at flash, as client/server are running their simulations independently)
whitershores
Paid Member
 
Posts: 88
Joined: June 21st, 2011, 4:19 pm

Re: Serverside visualisation for debugging?

Postby Henrik » June 4th, 2012, 3:08 pm

Check out the Debug Visualization section in the bottom half of this page: http://playerio.com/documentation/multi ... mentserver

Just override the http://playerio.com/documentation/refer ... DebugImage method, and call the RefreshDebugView method periodically and the development server will automatically display this while you are running your game.

The .Net Graphics methods are pretty simple, and should hopefully be enough for you to be able to generate something meaningful: http://msdn.microsoft.com/en-us/library ... phics.aspx
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to C#



cron