NodeJs server SDK

0

Is it possible to write game server in NodeJs?

질문됨 7년 전315회 조회
8개 답변
0

Ok I have found something by myself. So there is no server SDK implementation for javascript (NodeJs). But I did some reverse engineering research on C++ SDK and GameLiftLocal and i know that GameLift use WebSockets and JSON to establish connection between Server SDK and GameLift service itself. So it is quite easy to write my own SDK for new programming languages, especially NodeJs.

Bad news is I can find any documentation of this API :(

Maybe someone can help me with that? Are there any chances to make this documentation available public?

답변함 7년 전
0

Hey man. If you still wanna port NODEJS version of the sdk let me know. Id be interested in moonlighting that with you.

답변함 5년 전
0

Hey Pablo , have you hosted your nodejs sdk solution someplace ? Or any pointers regarding this would be great help

Cheers

답변함 5년 전
0

Hi @REDACTEDUSER

somebody already made it.

답변함 5년 전
0

If you haven't seen GameLift realtime servers run NodeJS scripts for you: https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-plan.html

The disadvantage is you don't own the server here, but you can update the server scripts without having to remake your fleet.

답변함 5년 전
0

Ah thanks, @REDACTEDUSER

답변함 5년 전
0

@REDACTEDUSER Also is there a way to install modules such as crypto-js on the fleet instance ? Alternate I guess is packging the crypto-js source along with the script

답변함 5년 전
0

For now I believe you can only zip up everything you need in your 'script' bundle, but then everything should work ie:

myscript.js node_modules/aws-sdk/…

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠