multiplayer

How to set up a server for a local wifi multiplayer game for python

元气小坏坏 提交于 2021-02-11 15:36:33
问题 I'm making a Cards Against Humanity game (but nicer/family friendly-er) and I have it set up where all I need to do is run player functions and then a judge function until someone wins. I recently asked another question specifically about my game, but if you know a solid foolproof way to set up a multiplayer game over local wifi, I would love some help. Thanks! 回答1: Have you tried network zero ? It's an amazing networking library that I use all the time. Install: pip install networkzero PyPI

How to set up a server for a local wifi multiplayer game for python

大兔子大兔子 提交于 2021-02-11 15:34:24
问题 I'm making a Cards Against Humanity game (but nicer/family friendly-er) and I have it set up where all I need to do is run player functions and then a judge function until someone wins. I recently asked another question specifically about my game, but if you know a solid foolproof way to set up a multiplayer game over local wifi, I would love some help. Thanks! 回答1: Have you tried network zero ? It's an amazing networking library that I use all the time. Install: pip install networkzero PyPI

JavaScript and Dealing with Floating Point Determinism

百般思念 提交于 2021-01-27 05:40:49
问题 I'm looking to build a browser multiplayer game using rollback netcode that runs a deterministic simulation on the clients. I prototyped the netcode in Flash already before I ran into the floating point roadblock. Basically, from what I understand, integer math in Flash is done by casting int s to Number s, doing the math, then casting back to int . It's faster apparently, but it means that there's no chance of deterministic math across different computer architectures. Before I dump all my

JavaScript and Dealing with Floating Point Determinism

自闭症网瘾萝莉.ら 提交于 2021-01-27 05:39:17
问题 I'm looking to build a browser multiplayer game using rollback netcode that runs a deterministic simulation on the clients. I prototyped the netcode in Flash already before I ran into the floating point roadblock. Basically, from what I understand, integer math in Flash is done by casting int s to Number s, doing the math, then casting back to int . It's faster apparently, but it means that there's no chance of deterministic math across different computer architectures. Before I dump all my

What should I use instead of “get player controller” to make a Multiplayer game (Top Down Game Unreal Engine)

萝らか妹 提交于 2020-12-14 23:43:35
问题 Earlier in the day i figured out why my game doesn't work on multiplayer. The reason is that I use the "get player controller" which gives me the index 0 so i can't work. But i use this to get location where my player has to look at (for the get hit result under cursor) and I also use that for make spawn the projectile that my player launch. Do you have an idea of what i could use to make my game work on multiplayer. Here are 2 screen. Let me know if you need some other informations. event to

What should I use instead of “get player controller” to make a Multiplayer game (Top Down Game Unreal Engine)

|▌冷眼眸甩不掉的悲伤 提交于 2020-12-14 23:38:07
问题 Earlier in the day i figured out why my game doesn't work on multiplayer. The reason is that I use the "get player controller" which gives me the index 0 so i can't work. But i use this to get location where my player has to look at (for the get hit result under cursor) and I also use that for make spawn the projectile that my player launch. Do you have an idea of what i could use to make my game work on multiplayer. Here are 2 screen. Let me know if you need some other informations. event to

(Unity) How to test Firebase multiplayer build and editor at the same time? [closed]

巧了我就是萌 提交于 2020-11-29 21:09:39
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 days ago . Improve this question I'm getting really frustrated with @Frank-van-Puffelen who closed my questions just because they don't contain minimum reproducible code. This is a valid question and there are useful answers out there. I made a duplicate question because I felt my first (this one) was closed

(Unity) How to test Firebase multiplayer build and editor at the same time? [closed]

夙愿已清 提交于 2020-11-29 21:07:39
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 days ago . Improve this question I'm getting really frustrated with @Frank-van-Puffelen who closed my questions just because they don't contain minimum reproducible code. This is a valid question and there are useful answers out there. I made a duplicate question because I felt my first (this one) was closed

Dealing with lag in XNA + lidgren

你离开我真会死。 提交于 2020-06-24 04:01:28
问题 I am experimenting with lidgren in XNA and I'm having some issues with the 'lag'. I've downloaded their XNA sample and noticed that even their sample lags. The thing is, the movement is not smooth on the other side, and I'm trying this on a LAN (on the same computer actually) not over the internet. Has any had the same issues as regards unsmooth movement due to a lagging connection with lidgren and XNA ? 回答1: The sample you linked directly sets the position to whatever it receives from the

Dealing with lag in XNA + lidgren

有些话、适合烂在心里 提交于 2020-06-24 04:01:27
问题 I am experimenting with lidgren in XNA and I'm having some issues with the 'lag'. I've downloaded their XNA sample and noticed that even their sample lags. The thing is, the movement is not smooth on the other side, and I'm trying this on a LAN (on the same computer actually) not over the internet. Has any had the same issues as regards unsmooth movement due to a lagging connection with lidgren and XNA ? 回答1: The sample you linked directly sets the position to whatever it receives from the