Game Development Community

how to create a simple network toy?

by KevinYuen · in Torque 2D Beginner · 03/30/2013 (7:23 am) · 2 replies

such as:

create a simple server by script?
create a simple client connect to server?

send/recv message?

thank you :)

#1
03/30/2013 (8:13 am)
You can use mine ;)
github.com/Doc308/Torque2D/tree/master/modules/NetworkToy

It still needs a little more attention... But, it has all of the legacy Network in place, and it does function. The chat gui portion is "broken", and I'm working on it... But, it does function. The GUI is a little ugly,as it appears some things in that regard have changed.

My NetworkToy does allow for a Network connection tho, and if you use it like I have with Sandbox, you'll probably want to set it as a default in your preferences, otherwise the Gui overlaps the tools.

It's extremely basic, and I'm working on fixing up so an interactive lobby (chat gui) will work. I'm also considering swapping out the Gui elements to Sprite based. But, it's a start :)
#2
03/31/2013 (7:25 am)
thank you Doc308~

good toy :)