Jump to content

  • Log In with Google      Sign In   
  • Create Account

SimonForsman

Member Since 18 Oct 2005
Offline Last Active Yesterday, 11:24 AM

Posts I've Made

In Topic: Best gaming platform in the future with marketing perspective.

16 May 2016 - 11:36 AM

You'd be like the guys coding Cobol. They thought they'd have a job forever. However technology moves on, new languages appear, Cobol was discarded, and they're out of a job.


Cobol isn't quite dead yet, There are 17 open cobol positions in my city right now, (all at banks and government agencies), devs who are well past retirement age are being paid insane salaries to stick around and employers are prepared to spend months training junior devs in the language.

Technology may move quickly but big corporations and governments do not, Zombie technology may not be all that flashy and interesting but once big business critical systems have been built on any platform it becomes very difficult to kill it completely and you can build a great career supporting that crap.

In Topic: Islamaphobia in the United States

08 May 2016 - 08:17 AM

 

 

Islamists[...]Islamists[...]Islamists[...]


Is it possible you are completely clueless about the meaning of the word 'Islamist', especially in the way it is distinct from Muslim?

 

What is the distinction? I might be clueless about that myself.

 

I've known, and have known for years, the difference between Arab (ethnicity from one part of the middle east - as opposed to, for example, Turkish, or Iranian) and Muslim, and so don't mix the two. But what's the difference between Islamist and Muslim?

 

 

Islamism (political islam) is a group of political ideologies based on islam, an islamist is a person who subscribes to one such ideology, extreme islamism is what drives organisations such as isis, Iran is somewhere in the middle (islam stands above the democratically elected officials) and on the reasonable end you have islams equivalent of european christian democracy or pretty much any right wing US politician.


In Topic: Does server's location affect players' ping?

29 April 2016 - 11:47 AM

How big is that tiny bit of latency? Currently it is > 100 for some(e.g. that korean had ~200), so some of them cannot play. I want it at least < 60.


the speed of light is roughly 300.000 km/s , the distance between germany and south korea is 8570km which means light would need ~56ms to travel back and forth between client and server if it could do so in a straight line without interruptions (i.e, if the earth was flat and you used lasers instead of cables)

In Topic: Multi-keypress movement in SDL2

14 April 2016 - 11:11 AM

don't move things when you process the events, flag the keys as pressed on key down, unflag on key up.
 
case SDL_KEYDOWN:
    key_pressed[...keysym.sym] = 1;
    break;
case SDL_KEYUP:
    key_pressed[...keysym.sym] = 0;

...

gameloop ...
    dt = Time::GetDeltaTime();
    dx = dt * (key_pressed[SDLK_RIGHT] - key_pressed[SDLK_LEFT])
    dy = dt * (key_pressed[SDLK_DOWN] - key_pressed[SDLK_UP])
    sprite->Move(dx, dy);

In Topic: Keyboard input Windows

07 April 2016 - 03:45 PM

post the relevant code. (message loop and getkeydown method)

PARTNERS