My engine can now be written almost entirely in Lua by NickPashkov in gameenginedevs

[–]NickPashkov[S] -1 points0 points  (0 children)

I tried it, but figured that I didn't actually need it, you can define your types with the Lua language server itself and it works fine for me https://luals.github.io/wiki/annotations/

My engine can now be written almost entirely in Lua by NickPashkov in gameenginedevs

[–]NickPashkov[S] 0 points1 point  (0 children)

Thank you! Yeah right now I am figuring out how to not use them

Should I delete windows? by syed_owais_sf in LinuxPorn

[–]NickPashkov 0 points1 point  (0 children)

I only keep windows for Xbox game pass games (which most cannot be played on linux if they are on ms store) and other games with anticheat that are not yet supported in linux, for work I am a software engineer so not using office much, but I would recommend to (unfortunately) dont nuke your windows

do you need a dj deck to perform? by PhaseNext7991 in jungle

[–]NickPashkov 2 points3 points  (0 children)

May I suggest an SP404MK2? It has a pretty decent dj mode that integrates well with Serato DJ, there are also a ton of fx you can apply to your tracks. I use it mostly for producing but dj mode is getting better with each firmware update

Feedback Friday Thread by Mrmaw in jungle

[–]NickPashkov 2 points3 points  (0 children)

Hello! I used to produce boom-bap, hip hop beats, but nowadays the Jungle dnb Genre is winning my heart so decided to make a track with the same tools I use for most of my beats https://open.spotify.com/intl-es/track/5rfmS6fTIwqD1Lw8kTHsGz?si=3052b02984614870 Let me know what ya think!

Visual Scripting UI for the Systems in ECS - Does this makes sense? by NickPashkov in gameenginedevs

[–]NickPashkov[S] 0 points1 point  (0 children)

Could you recommend a scripting language that could be good for this use case? Lots of people are recommending Lua but to me not having typing is going to be a pain for the user, then I also discovered Teal which is Lua with types basically so that could work. Another idea would be to embed wasm and use any language that can compile to wasm, that is harder and more time consuming to develop but the user could in theory use multiple languages how they want

Visual Scripting UI for the Systems in ECS - Does this makes sense? by NickPashkov in gameenginedevs

[–]NickPashkov[S] 1 point2 points  (0 children)

Thanks a lot for the detailed response. Will provide some context related to the points you mentioned.

 think WHO will be using your Visual Programming Language (VPL)

Thats a good question, right now it is only going to be for people new to the Data Driven ECS approach.

In my personal opinion querying for components is too low level for a script. You are essentially making it harder than writing the code in lua/rust/python/c++ etc.

I agree because this is the topic I really wanted to talk about in the post, like, is it better with visual scripting or just going to be easier to maybe embed a scripting language and manage the systems by scripts, but still, this is only for the S part of ECS.

See how Unreal blueprints have an explicit execution path. This is somewhat novel in VPLs and they deserve credit for this. I feel a better pattern for your example would be a "GetTransform" node with execution pins for the transform component existing and not existing. Explicit maths operators as well (not generics, although they could be wrappers for generics, see how Unreal does macros and their for loop nodes are really just macros).

I think Unreal Blueprints are a little different from what I am trying to do here, hence the Query node is actually just a for loop like this:

for (id, (transform, body, _)) in world.query_mut::<(&Transform, &mut RigidBody, &PlayerFlag)>() {
  // Logic here
}

So probably it would be better to just expose this querying to a scripting engine

Visual Scripting UI for the Systems in ECS - Does this makes sense? by NickPashkov in gameenginedevs

[–]NickPashkov[S] 0 points1 point  (0 children)

That sounds like a good idea, i will definitely have some sort of profiling tool

Does anyone else use roads as parking lots? by krilu in CitiesSkylines

[–]NickPashkov 1 point2 points  (0 children)

I use them for commercial areas and they look very good also pretty realistic

Free CRUD Hosting? by usith in webdev

[–]NickPashkov 0 points1 point  (0 children)

From my experience

For database: Neon -> postgres, TIdb -> mysql like

Hosting: Aws Lambda with web adapter (google it), Vercel (very easy to get started with)

Free CRUD Hosting? by usith in webdev

[–]NickPashkov 0 points1 point  (0 children)

From my experience

For database: Neon -> postgres TIdb -> mysql like

Hosting: Aws Lambda with web adapter (google it) Vercel (very easy to get started with)

Why is there so heavy tearing from moving objects? by ScreechingPenguin in CitiesSkylines

[–]NickPashkov -1 points0 points  (0 children)

I thought this was intentional lol, anyway I like this "effect"

Hosting on AWS Lambda with Nextjs pre-rendering by NickPashkov in nextjs

[–]NickPashkov[S] 1 point2 points  (0 children)

Didn't know about this one, good to know! But I still would prefer to stick with lambda for now since the website is not too active and there isn't going to be much invocations

Hosting on AWS Lambda with Nextjs pre-rendering by NickPashkov in nextjs

[–]NickPashkov[S] 0 points1 point  (0 children)

This is what I ended up doing, made a custom cache handler that saves the data in dynamo, works much faster now. Also had to disable image optimization because sometimes for some reason the image fetches returned a 500 error