!waoZWxdJJQNrbqLfTI:matrix.org

Nim Game Development

2229 Members
The perfect place to discuss game development in Nim. Let's help each other out and test our games!10 Servers

Load older messages


SenderMessageTime
18 May 2022
@_discord_180866243819995136:t2bot.iocreikey their solution is to install mysys2 01:38:29
@_discord_161097102288486400:t2bot.iospoon ah those are the ones i used, heard good things about naylib too 01:38:30
@_discord_161097102288486400:t2bot.iospoon i dont remember having to install that, but i might've gotten it through scoop for something else 01:39:26
@_discord_161097102288486400:t2bot.iospoon for cross compilation or native? 01:43:11
@_discord_479143957595553793:t2bot.ioEcho123 joined the room.04:03:53
@_discord_720860419006267392:t2bot.iomazariego joined the room.04:21:26
@judithbnks:matrix.orgjudithbnks left the room.10:40:15
@billykin:matrix.orgbillykin joined the room.12:28:26
@billykin:matrix.orgbillykin left the room.16:20:10
@_discord_976528463186001940:t2bot.ioAurélien joined the room.16:55:49
@davis_:matrix.orgdavis_ left the room.17:07:33
@_discord_386230567571554305:t2bot.ioRecruit_main707 Raylib_forever works fine in windows 19:06:30
@_discord_915614219364368394:t2bot.ioplanetis can anyone try naylib on windows I would like to have some feedback 19:12:59
@_discord_915614219364368394:t2bot.ioplanetis I did my part, fixed all the reported issues 19:13:04
@_discord_800432830605819906:t2bot.iorlipsc#3365 Hey thanks! AFAIK it's just me using it on a website idea that's in the very early stages, and it's been a good way to feed back more realistic usage to the networking component design. I do have an end product I'd like to build with it, though. 20:33:40
@_discord_800432830605819906:t2bot.iorlipsc#3365 The main goal though isn't so much making a web server with ECS, but making reusable code for TCP + HTTP + routing + JSON RPC etc that can be combined with other things without having to design for it 🙂 20:34:26
@_discord_800432830605819906:t2bot.iorlipsc#3365 It's not quite as crazy as it sounds! In some ways networking actually translates quite well to DoD & ECS: socket + buffers -> components. Then again... I did decide to do it with events that change components on the caller entity to call more events, then decide said events need to catch 'unsafe' mutation chains at compile time, then decide I also need to allow construct which runs all of the add events... within events! You may have a point... 20:35:28
@_discord_800432830605819906:t2bot.iorlipsc#3365 As a proof of principle serving a website with JavaScript and images and the usual stuff it works, but I've not really taken it beyond that yet. 20:36:07
@_discord_800432830605819906:t2bot.iorlipsc#3365 The basic transport design uses one entity per endpoint. So there's a TcpConnection component with a socket, and adding TcpRecv/TcpSend buffer comonents starts listening/sending immediately. Then you poll a system (much like async) to add TcpRecvComplete/TcpSendComplete components and signal completion, which you can then use to trigger further stuff. 20:36:52
@_discord_800432830605819906:t2bot.iorlipsc#3365 To get HTTP, you just add ProcessHttp to your listening entities, and incoming data gets parsed to a HttpRequest. So now you've got an entity with connection, buffers, processed HTTP, and maybe your own components. You can then add a HttpResponse to send a page, which in turn adds/updates TcpSend and starts the send 🙂 20:37:59
@_discord_386230567571554305:t2bot.ioRecruit_main707 if i ever start another raylib project ill try to use naylib first 20:38:01
@_discord_800432830605819906:t2bot.iorlipsc#3365 The basic advantage you get from all this is lots of control at scale, as systems let you control processing rate and interval so you can balance/throttle things, and you can prioritise/chain stuff as immediate in-order responses with events. Plus cancellations are easy and closing a connection is just deleting an entity. 20:39:17
@_discord_415227941408997381:t2bot.ioBubblie I should go back to to adding vulkan to boxxy 20:40:31
@_discord_102899813149855744:t2bot.ioajusa#3756 No threading support though yet right? 20:43:35
@_discord_102899813149855744:t2bot.ioajusa#3756 (comparing this to jester in my mind) 20:43:46
@_discord_800432830605819906:t2bot.iorlipsc#3365 There is this https://github.com/rlipsc/polymorph/blob/c70b79f12ba563b790cd58ea77879ba47a943257/src/polymorph/sharedtypes.nim#L89 but all that really does is read the number of cores for you and some basic work splitting 20:45:37
@_discord_800432830605819906:t2bot.iorlipsc#3365 full automatic threading is TODO, but will basically be static analysis on which systems interact and splitting on that 20:46:13
@_discord_800432830605819906:t2bot.iorlipsc#3365 I wouldn't compare this to Jester though, it's more like a data oriented toolbox 🙂 20:46:40
@_discord_800432830605819906:t2bot.iorlipsc#3365 * There is this https://github.com/rlipsc/polymorph/blob/c70b79f12ba563b790cd58ea77879ba47a943257/src/polymorph/sharedtypes.nim#L89 but all that really does is read the number of cores for you and work splitting itself is up to you 20:49:50
@_discord_615540595527516181:t2bot.ioArbix0501 joined the room.21:39:25

There are no newer messages yet.


Back to Room List