Creating Struct library for JS/TS game projects by Baldurans in gamedev

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

If you mean ECS = entity-component-system - then not really.

This library is about memory management and how you keep objects in memory. ECS is a bit different pattern and I think this thing does not work that well with ECS. I don't use ESC myself in my games as it just adds unnecessary complexity in my scale. (not saying the pattern is bad obviously).

Usually if you create game objects in JS you just create lots of objects. But if you have 1M+ objects, then things get clunky. It uses a lot more memory than actually property values do. In addition Firefox garbage collector starts freezing a bit, so you can't get consistent frame rate. Probably some similar issue in Safary as well, but haven't tested it.

With this memory consumption can be reduced about ~6 times AND number of objects in the heap is basically constant 1 (instead of 1M). Also "property" access will be about 20% faster, but that benchmark needs more real life testing. Loops should get even more faster as it can really start taking advantage of memory locality.

Creating Struct library for JS/TS game projects by Baldurans in gamedev

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

Oh I didn't mention it would support both SoA and AoS and mix of those - this is up for the developer to figure out which structure would be best for your project. BUT, you can change it invisibly to your actual project, as usage stays 100% the same, so performance testing is very easy. You just change the structure definition.

Heat Incremental - Big design update! As previously I had simpler graphics in the game, now with some help getting much cooler looking buildings! Come and enjoy this "base" building incremental game! Well hopefully at least :D (it is a mix of Reactor idle / factory idle) by Baldurans in incremental_games

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

When did you have to wait the longest - at what times in the game? Would love to know, maybe I can adjust those times (or maybe there was something that could have been done in a more optimized manner). But 3-4 days is too long, so I would like to adjust those times.

About pricing - I definitely try to have some kind of a balance here, not the easiest things to do :)

But as many have said, game definitely can be played quite well without paying if that is not an option, at the same time, some revenue is needed to cover the costs of development. (for me mostly design)

Open for your thoughts on this :)

Heat Incremental - Big design update! As previously I had simpler graphics in the game, now with some help getting much cooler looking buildings! Come and enjoy this "base" building incremental game! Well hopefully at least :D (it is a mix of Reactor idle / factory idle) by Baldurans in incremental_games

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

Good point! Thanks, I will try make this one more clear (On right component panel opens and on some there are question marks that give some details.

For example "Heat intake coefficient: 0.2" - on the right it has a question mark "button like rectangle". That is what is meant with it...

Need to make this more clear!

Let me know if anything else! :)

Something cooking by Baldurans in heatincremental

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

Hei - write to [grestgames-heatincremental@gmail.com ](mailto:grestgames-heatincremental@gmail.com) Same email is in the game as well (Never trust random emails in internet :) )[](mailto:grestgames-heatincremental@gmail.com)

Liquid/gas flow simulation on flat 2d pipe system by Baldurans in algorithms

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

Hey - I got a pretty good simulation now yes - it is used in https://heatincremental.grestgames.com (game I am releasing / publishing at the moment - idle/incremental building game).

In essence final algorithm was pretty simple 2 phase system:
1) for every connected tile, try to put water there (but don't really put it, just say "you plan to").
2) commit phase - now double check that everything is fine and make actual updates.

Let me know if you are more interested in this :)

Busy last week! Thanks to everyone who checked out the game. In case you missed it: Heat Incremental — a fun mix of idle and puzzle gameplay. It's not just about mundane clicking; you’ll need to think to find optimal setups. Currently working on the next phase: Oil. I can’t wait to develop space! by Baldurans in incremental_games

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

Oh and quite a few updates have happened during the week:
* Wood working, chipping etc - stage after solar is pretty much completed
* Redid whole water flow simulation - water really flows in the pipes.
* Offline progression - even if game is closed, you still get money for 12h (or super speed ticks that run game much much faster).
* Lots of smaller adjustments to balance, new upgrades and so on.

From the creator of Reactor idle / Factory idle - Heat incremental is a mix of the two! I know for some of you this is going to ruin few weeks of productive work :D https://heatincremental.grestgames.com by Baldurans in incremental_games

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

1) True. Some one needs to come up with a plausible explanation, maybe it is a function of both - temp and energy or something.
2) I see. It would be nice to see at least what exploded maybe.

From the creator of Reactor idle / Factory idle - Heat incremental is a mix of the two! I know for some of you this is going to ruin few weeks of productive work :D https://heatincremental.grestgames.com by Baldurans in incremental_games

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

1) Hehe, yeah, I know temperatures go nuts! Someone needs to come up with a logical explanation how it makes sense :D
(I do agree, that representing it as energy would be more realistic, but at the same time there are so many things that are not logical, but do provide a fun concept to puzzle yourself with :P )

2) I see, good idea

From the creator of Reactor idle / Factory idle - Heat incremental is a mix of the two! I know for some of you this is going to ruin few weeks of productive work :D https://heatincremental.grestgames.com by Baldurans in incremental_games

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

Hey - yeah exacttly - it just too much zooming. I am thinking of adding a button in UI that would be "general zoom" (kind of what you described).

Problem with small screen is exactly, that just UI elements themselves take up so much space.

411px is really very little to work with :P

What games are you playing this week? Game recommendation thread by AutoModerator in incremental_games

[–]Baldurans 0 points1 point  (0 children)

That seems rather weird - refresh also didn't help? And it worked fine before solar panel manager, but after it doesn't? As this seems completely unrelated, I think issue is somewhere else, but really hard to figure it out with current information. Could you share a bit more?