It sure is :thumb:
I have been watching this project since long time, and I was thinking of joining but when I started seeing problems reagrding managing time for this project. I think same will happen with me, so decided not to commit anything.
Printable View
It sure is :thumb:
I have been watching this project since long time, and I was thinking of joining but when I started seeing problems reagrding managing time for this project. I think same will happen with me, so decided not to commit anything.
This seemed like a really cool project. Where does it stand currently?
You are right about this: the project is cool indeed.Quote:
Originally Posted by Nexeh
I have made a client and a server application implementing the basics (based on Gabriel's code). And that's about it. Nothing more has been done since then...
And what do this server and client do ?
As far as I remember correctly the client and the server exchange positions (of clients of corz) and some basic actions.Quote:
Originally Posted by Krishnaa
So you can connect with two clients to the same server and walk around. I think I even implemented eating and fighting as basic actions. Eating could be done when you (as a client) were walking into a square with food properties. And fighting could be done when another "robot" was nearby.
I had (lucky me) some time left afterwards and I have played around with Direct3D. On the server application I have added a 3D view of the "arena" and you could see the clients walking around.
Okay, I tried connecting 2 clients to server, I dont see them walking, where are they summoned after connecting ?
I thought I saw some compiling errors... :ehh:Quote:
Originally Posted by Krishnaa
I guess that was fixed easily and you have edited your post :thumb:
Anyway, the "see" part was done after I had posted the client and server. I had some time left afterwards and I added the Direct3D view. This "add-on" was never posted though (as far as I remember; and I can't check it right now). You can only see the clients connecting if you are debugging the server.
The posted client and server are a working framework with just basic functionality. For this point on, you can add more functionality. The biggest and most attractive part is always the graphical part. And this is non-existing at the moment...
I see some part of yellow grid in the right top on server, if I move mouse it moves and disapears.
Serously? Then the 3D part was added. Forgive my brain, it's getting old :oQuote:
Originally Posted by Krishnaa
I wasn't able to get the start position of the camera right. So you will have to move around in 3D using the mouse until you get to see the "arena".
Try something like click-and-hold the left or the right mouse button and move left/right/forward/backward. This will change your position in 3D. You should be able to move in any direction in 3D.
If I look at the downloaded server app, I can trace back what the colours mean:Quote:
Originally Posted by Krishnaa
Code:switch( square->getType() )
{
case Square::Empty: box->setColor( 1.0f, 1.0f, 0.0f ); break; // Yellow
case Square::Border: box->setColor( 1.0f, 1.0f, 1.0f ); break; // White
case Square::Food: box->setColor( 0.0f, 1.0f, 0.0f ); break; // Green
case Square::Life: box->setColor( 0.0f, 0.0f, 1.0f ); break; // Blue
}
Thats ok, but why the grid is not laid in middle of the screen ? Is it by design that it apears in the top right ?
The camera position needs to be adjusted but I never took the time to correct it.Quote:
Originally Posted by Krishnaa
If you would happen to know what needs to be changed, please let me know.
Hello all. In the original post I read that the server and C++ client was done with MFC. What is or are the alternative approach or approaches in C++ besides MFC? Just curious.