Jump to content

  • Log In with Google      Sign In   
  • Create Account

Vaclav

Member Since 19 Jul 2012
Offline Last Active Dec 02 2014 11:38 AM

Topics I've Started

SpeedBird online multiplayer game

02 December 2014 - 11:35 AM

Hello,

 

I'm here to announce my finished game, so you guys can play it.

 

SpeedBird is an online multiplayer minigame.
It's the race of two little birds that can't fly, only run and jump.
 

You can play against a friend, or find an opponent in Lobby chat.
 

It's free to play, please donate if you enjoyed the game.
The game is browser based, make sure your browser is updated.
Android is also supported with Chrome, Firefox or Opera.

 

The game uses latest browser technologies:

  • HTML5 Canvas
  • Websockets
  • WebRTC

Website (play): http://speedbird.tk

 

On Indie DB: http://www.indiedb.com/games/speedbird

 

Logo2.png


SDL_net get MAC address from socket

14 May 2013 - 01:51 AM

Hi

Say I'm the server, a client is connected to me using TCP. How can I get the client's MAC address from it's socket using the SDL_net library?

Thank you for your help.


Two way TCP with SDL_net

23 April 2013 - 02:45 AM

Hey,

I use the code from the following great tutorial:

http://content.gpwiki.org/index.php/SDL:Tutorial:Using_SDL_net

But I can send only from the client to the server. Can you help me what do I have to add the code to send from the server to the client? Do I have to create another socket, or I can use that one already open? Note that I need only one client per server, so I want just something simple.

Thank you,

Václav


ODE problem with Hinge2 joint

09 February 2013 - 08:18 AM

I've been trying to create a car model with the ODE physics engine.

I set the rear wheels to always face forward parallel with the chassis:



dJointSetHinge2Param ( joint, dParamLoStop, 0.0);
dJointSetHinge2Param ( joint, dParamHiStop, 0.0);

When the car is moving forward it's fine but when the car turns the rear wheels get turned somehow. I control only the front wheels, it's not four wheel steering.

I've tried to set other parameters of the Hinge2 joint as well like dParamERP and CFM, dParamStopERP and CFM or dParamBounce but they had no effect on this, I've also tried number 1 and 2 from these. (See in the ODE manual: Joint types -> Parameter Functions.)

 

Here are two screenshots to see the problem better:

Spoiler

 

Thank you for your help.


Which physics library can also step backwards in time?

18 December 2012 - 05:48 AM

Hello
I'm looking for a free, cross-platform (windows and linux is enough for me), C/C++ physics library which can also step physics back in time, not only forward in time.
For example, what I want to do looks like this:
[source lang="cpp"]world.update(0.05);world.update(0.05);...world.update(-0.025);world.update(-0.05);world.update(-0.025);[/source]
And I want to get the same state in the end as it was at the beginning.
I have already tried Box2D and chipmunk physics. Box2D only stops time for negative values (does nothing), chipmunk does the thing (ok not very accurately) as long as there are no collisions. If there was a collision meanwhile, I get completely different result when rolling things back in time. Without any collisions it works.

Have you guys ever did this, or know which library can do it well?
I could even try ODE, if it can do this. It's 3D, but I can use it for 2D too I guess.

PARTNERS