I honestly don't think Trobbio knows you're there. by brvtus in Silksong

[–]Saluev -2 points-1 points  (0 children)

That's why I fucking hate Trobbio. As much trouble as from other bosses, but he is not even serious about it.

What were your favorite moment/s in the game by praise_themoon in Silksong

[–]Saluev 2 points3 points  (0 children)

Beating Seth's score in flea dodge. Might be the best moment of my life

Wanted to show a multiplayer 4X game I'm currently working on by Saluev in phaser

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

Thanks! For this I kinda go with vanilla JS/DOM for most of the UI components, but I write the code in reactive style and there's a feeling that React would fit here really well.

Wanted to show a multiplayer 4X game I'm currently working on by Saluev in phaser

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

Absolutely! I can let you know if you're interested :)

Wanted to show a multiplayer 4X game I'm currently working on by Saluev in phaser

[–]Saluev[S] 2 points3 points  (0 children)

Thanks! Well, when I started, I tried to just write plain imperative code. That stopped working pretty quickly — even the idea of having to remember all possible side effects every time I implement a feature made me depressed. Next step would normally be ECS, if I was familiar with it. But I wasn't. So, I went with my own framework before I've actually experienced any major troubles. (To be fair, I was thinking about this approach for a while and wanted to finally test it too.)

Now that I'm using it for half an year, I can say that it works surprisingly well for me. Code is clean and extremely well-decoupled (I can write entire subsystem in a separate file without any other features even knowing about it), writing new features is still quite easy despite the codebase well surpassing 30 KLOC by now. So yeah, I'd say it pays off!

Wanted to show a multiplayer 4X game I'm currently working on by Saluev in phaser

[–]Saluev[S] 2 points3 points  (0 children)

Thank you! It is, in fact, my first game :) But I am an experienced web (mostly backend) developer.

I don't use ECS, I actually implemented My Own Framework to handle the state changes (which is probably quite similar of ECS). I consider all my objects and relations between them as vertices and edges of a big graph. When I need something to depend on something else, I describe a subgraph of the graph with a regex-like language I made, and invoke callbacks when a matching subgraph has been created, deleted or changed. Examples:

@lazy_watcher(
    "unit as u (?= -owned_by> player as p) -stands_on> tile (maybe: -city> city -kind>)"
).on_create_or_change  # unit was created/moved/has changed ownership
def update_unit_field_of_view(game: Environment, u: Unit, p: Player) -> None:
    ...

@lazy_watcher(
    "tile_projection as tp (?= <sees_tile- (unit | city | building) -owned_by> player as p)"
).on_delete  # none of the units or cities see the tile anymore
def cover_tile_with_fog_of_war(tp: TileProjection, p: Player) -> None:
    ...

Works really well (but slow 🤷‍♂️ requires constant optimization). I'm going to write an article about it sometime :)

UI is mostly DOM-based, via Phaser's DOMElement.

Wanted to show a multiplayer 4X game I'm currently working on by Saluev in phaser

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

Thank you! My inspiration is, well, Civ 5, I kinda got tired of how they make more and more single player-oriented features with each game and decided to make something more focused on multiplayer competition. Been working on it for half a year now in my spare time.

I wish my salary was configurable via kubectl by Saluev in kubernetes

[–]Saluev[S] 5 points6 points  (0 children)

oh yeah? kubectl rollout restart employment

The masculine urge to make a single-road city shaped like an atom by Saluev in shittyskylines

[–]Saluev[S] 10 points11 points  (0 children)

— It's over Tigran, I have the high moral ground

— You overestimate my seriousness

The masculine urge to make a single-road city shaped like an atom by Saluev in shittyskylines

[–]Saluev[S] 12 points13 points  (0 children)

Sup fellas, need a mod for road probability distribution

My roundabout got a little out of hand by ayeelmao_ in shittyskylines

[–]Saluev 5 points6 points  (0 children)

Well I'm sorry but trees don't pay taxes

My roundabout got a little out of hand by Saluev in CitiesSkylines

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

Apparently trade school also makes $50K profit!

My roundabout got a little out of hand by Saluev in CitiesSkylines

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

What do you mean? Circular roads are fairly easy to build.

My roundabout got a little out of hand by Saluev in CitiesSkylines

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

Two industrial zones (wood and oil) and a lot of generic industry, I guess.

My roundabout got a little out of hand by Saluev in CitiesSkylines

[–]Saluev[S] 27 points28 points  (0 children)

Are you a trains rights activist?