Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kaki2308

Pages: [1]
1
Network / sfml tcp socket performance
« on: December 15, 2014, 11:52:56 pm »
Hello

I was wondering what will be faster:
int length = 200;
char* data = new char[length];
... filling ...
socket->send(data, length);
delete[] data;

VS
int length = 10;
char* data = new char[length];

for(int i = 0; i < 20; i++)
{
   ... filling ...
   socket->send(data, length);
}
delete[] data;

2
General / Rope in SFML (like in worms)
« on: November 05, 2014, 03:30:35 pm »
Hello,

I want to write a game called gusanos. It's real time worms game.
I'm wondering how I can program rope to behave like rope (if you have played in worms world party etc. you should know how rope works).
I'm not taking about drawing but about math&physics behind it.
Any clues?

Pages: [1]