IT界討論區(58) 唔講上一份人工

1001 回覆
6 Like 0 Dislike
2019-03-07 12:33:04
我覺得Socket IO just send X, Y is enoug
Client side do all logic
2019-03-07 12:33:10
我嗰時嘅諗法係四個 level
- 港畜級 (畜生都不如嘅基層)
- 港農級 (打工級)
- 港士級 (中產)
- 港霸級 (二世祖)

開局刷首抽,抽𠵱四個 level 其中一個
玩到咁上吓可以自殺投胎,有輪迴點加,下次會易玩啲

2019-03-07 12:34:58
最重要係time個part
當時寫左個對時間既library
2019-03-07 12:36:50
抽到港霸級啲 option 會唔同
eg. 可以炒樓炒地、呃創投基金錢,去夜總會加健康值 etc.

但要做得好玩好似幾難
2019-03-07 12:53:10
所以入職後就到三個月quit
2019-03-07 13:06:27
計我話一個diff既lib就好重要
2019-03-07 13:15:51
我會send x,y 同 velocity.
server update個frequency 係24/s
要client side 推番上40 fps
2019-03-07 13:17:03
咩意思,唔明time係咩角色
2019-03-07 13:33:40
有冇睇岩???等緊call interview
2019-03-07 13:40:24
係咪講緊latency點adjust番
2019-03-07 13:43:31
Yes ar but I think no need adjust, you see some games when you lag, you just fly everywhere lol that shows common practice is don’t care.

Also they use UDP
2019-03-07 13:46:15
我想整JavaScript io web game,有咩socket好用
2019-03-07 13:56:57
2019-03-07 14:20:25
2019-03-07 15:40:08
我記得要搞一大輪先send到byte array出去
不過都冇其他選擇
2019-03-07 15:40:59
應該唔駛 有 2.0
2019-03-07 15:42:32
屌 我真係out到
2019-03-07 15:52:34
2019-03-07 15:58:12
Open source let me make some PR lol
2019-03-07 16:19:58
想玩? 揀隻backend 同physics engine先
2019-03-07 16:20:29
Node la
2019-03-07 16:22:23
ok 睇下幾時放棄
利申唔識js
2019-03-07 16:25:52
frontend用create js 好唔好
2019-03-07 16:28:05
Clock drift同clock skew
Don't care is rubbish
寫又唔係寫好耐 寫好左又可以重用 唔明點解唔寫 或者唔拎現成lib用
2019-03-07 16:32:44
Never used any JS game engine, do some research and try try sin lor
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞