Recent Posts

Pages: 1 [2] 3 4 ... 9
11
General Discussion / About BEPU for Unity
« Last post by Dechcaudron on July 10, 2014, 09:20:44 AM »
Hi GCC,

I'm currently integrating BEPUphysics, and although it raises no issues in the server side, Unity cannot compile the last version of the libraries (v1.3), raising an exception that says it can't load the type GuidAttribute. I am assuming this version of the library was compiled in .NET 4.5 and Unity runs on .NET 3.5. Since in the BEPU project webpage it does not mention in which NET version those libraries were compiled, I'd be very thankful if you could tell me which version you used to run the performance tests.

Thanks beforehand!
Dechcaudron
12
General Discussion / Re: Custom player class
« Last post by Dechcaudron on July 07, 2014, 01:22:56 PM »
Hi Atanas,

just like I thought then

Keep it up,
Dechcaudron
13
General Discussion / Re: Custom player class
« Last post by AMarinov on July 07, 2014, 01:04:16 PM »
Hi Dechcaudron,

You can inherit from the Player class, but the management is up to you.
Recommended approach would be to have your own collections of custom player classes, and update them accordingly to the player Connected/Disconnected events.

Regards,
Atanas

14
General Discussion / Re: Static GameCore
« Last post by Dechcaudron on July 07, 2014, 12:01:20 PM »
Hi Atanas,

thanks for the information. Still, if you do not discard the possibility of running different GameCore instances, a static reference would be only a temporary solution. I'll consider avoiding static members then.

Best regards,
Dechcaudron
15
General Discussion / Re: Static GameCore
« Last post by AMarinov on July 07, 2014, 11:55:50 AM »
Hi Dechcaudron,

The GameCore implementation must inherit from an abstract base class, so static is not appropriate, besides, we may want to run several instances of a single game core at some stage, which also goes against the static approach.
As for the static reference pointing to the current GameCore instance, yes, you could do that.

Regards,
Atanas
16
Feature Suggestions / Re: SendToMultiplePlayers List argument
« Last post by Dechcaudron on July 07, 2014, 11:48:44 AM »
Thanks Atanas,

that will ease our job,

Dechcaudron
17
Feature Suggestions / Re: SendToMultiplePlayers List argument
« Last post by AMarinov on July 07, 2014, 11:24:25 AM »
Hi Dechauldron,

IEnumerable is not very appropriate for our needs, but ICollection should do fine, we will consider to implement this change in the next version.

Regards,
Atanas

18
General Discussion / Static GameCore
« Last post by Dechcaudron on July 07, 2014, 09:48:40 AM »
Hello again my friends,

I really know there is a war out there against people who tend to use static classes and members, but do we really need the GameCore class to be an instance class? I've read over there that static classes generally have better performance when calling their methods since the CLR does not have to solve the instance function, and since Update is called pretty often, I don't know why that couldn't be optimized.

Also, if the answer is negative, would it be ok if I kept a static GameCore member inside GameCore so that my other classes could reference it without keeping a reference to it each? I need it because some of them need to call the ExecuteDbCommand sometimes.

Sincerely yours,
Dechcaudron
19
Feature Suggestions / SendToMultiplePlayers List argument
« Last post by Dechcaudron on July 07, 2014, 09:44:40 AM »
Hi GCC,

wouldn't it be better if you guys changed this List argument to IEnumerable? That would allow us to directly pass arrays or dictionaries as well without having to convert them.

Thanks beforehand :)
Dechcaudron
20
General Discussion / Custom player class
« Last post by Dechcaudron on July 06, 2014, 09:27:03 PM »
Hey GCC,

are we able to extend the player class? I mean, I already have an extension of this class stored in a different table from players, but I have to manage all the dictionaries that keep track of the online players and everything manually. Program.cs could work with a different player class, but since that script is given by your server, changing it myself would be useless.

Comments?
Dechcaudron
Pages: 1 [2] 3 4 ... 9