Bit about using Unity
I’ve messed with Unity3D a good bit and it is a nice set up so I decided to see what I could do linking Eric into the game engine. Adding a network interface to Eric was easy and just sent a string of all the variables to whoever connects to that port. All I had to do then was connect Unity to the port and read the string. Unity now had all the information that Eric has, and Eric’s actions could now be replicated, on screen, within Unity, in real time.
At this point I have yet to get my head around making internet connections, I’m talking on the kind of basic level. I have a lot more reading to do on the subject so for now I’ll use a piece of well quoted code. Quick and dirty to get things working and we can tidy up later.