increase shot speed; descrease player speed
This commit is contained in:
parent
8a74d6dd2a
commit
cc8d1a05ce
@ -12,7 +12,7 @@ using namespace sf;
|
|||||||
/* GRAVITY can really be any arbitrary value that makes the shot's speed
|
/* GRAVITY can really be any arbitrary value that makes the shot's speed
|
||||||
* feel right. Increasing the gravity will decrease the amount of time
|
* feel right. Increasing the gravity will decrease the amount of time
|
||||||
* it takes the shot to hit its target. */
|
* it takes the shot to hit its target. */
|
||||||
#define GRAVITY 100
|
#define GRAVITY 150
|
||||||
|
|
||||||
#define SHOT_ANGLE 30
|
#define SHOT_ANGLE 30
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ void Server::run( void )
|
|||||||
void Server::update( double elapsed_time )
|
void Server::update( double elapsed_time )
|
||||||
{
|
{
|
||||||
static Player player_prev;
|
static Player player_prev;
|
||||||
const double move_speed = 75.0;
|
const double move_speed = 50.0;
|
||||||
sf::Packet server_packet;
|
sf::Packet server_packet;
|
||||||
sf::Uint8 tmp_player_client;
|
sf::Uint8 tmp_player_client;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user