Game Development

Game development and other polite discussion. Game development...
nwp
Nov 4, 2022 11:33
Also since I haven't ranted at Steam for a while: I really hate how people anticipate Dwarf Fortress' Steam release. It really feels like games don't exist unless they are on Steam. How Steam managed to become a middle man for the whole game industry and tax it as they please and why everyone is going along with it is a mystery to me.
nwp
Nov 4, 2022 11:24
I really like that game. Sadly it freezes after a bit which sucks all the joy out of it.
nwp
Nov 4, 2022 11:23
@nwp Had I not failed at getting this to work I might have made something like Cosmoteer.
nwp
Oct 26, 2022 12:53
Welp, you're about 12 years more mature than me 😂
nwp
Oct 26, 2022 12:46
I was more going towards emailing everyone once again, but I guess if you know the details and had to suffer under it it's not funny.
nwp
Oct 26, 2022 12:36
Reply to all with "Wow!"
nwp
Jul 15, 2022 08:25
I think your options with a single unit are rather limited. If you add more players with synergies or pets there would be more options. Make the boss chase the pet around while you kill the adds for example.
nwp
Jul 15, 2022 08:22
Diablo then? Or Path of Exile I guess. There was barely any strategy involved, just mindless repetition. You could add more boss mechanics to force the player to do the thing, but that is not very fun.
nwp
Jul 15, 2022 08:20
I'm just now realizing you're not talking about RTS games 🤡
nwp
Jul 15, 2022 08:19
You could consider going more into hard counters than soft counters to really punish picking a worse strategy, making execution matter less.
nwp
Jul 15, 2022 08:18
If I were to try to make it more tactical I'd remove worker management and worker harassment because it's just not fun. That frees up a lot of brain power.
nwp
Jul 15, 2022 08:17
From what I remember from StarCraft it mostly comes down to picking a couple of good strategies, practicing executing those strategies and executing them well in a game. There is little tactical thinking involved, mostly just knowing timings and being good at managing however many bases, upgrades and unit movements at the same time.
nwp
Jul 13, 2022 20:02
It looks like an std::map<std::pair<std::string, uint64_t>, std::any> should be considered.
nwp
Jul 13, 2022 20:01
(I didn't actually read up on what you want to do)
nwp
Jul 13, 2022 20:00
reinterpret_cast<void*>(object) looks really odd. It's a const_cast.
nwp
Jun 21, 2022 18:20
The project was a complete success to get familiar with variable templates and an utter failure as far as making a useful engine. I'm still very happy with that outcome.
nwp
Jun 21, 2022 18:20
I did that too. The goal back there was to try out C++ variable templates. template <class Component> std::vector<Component> components; looked like magic back then.
nwp
Jun 14, 2022 19:16
Foreigner: Excuse my lack of eloquence; since it is my second language, English grammar and wording does not come natural to me.
Native speaker: Is cool bro, dun wory
nwp
Jun 14, 2022 19:14
You're French Canadian?
nwp
Jun 6, 2022 17:51
Well, the point of "academic" is that it does not require results. That you don't care about using the results beyond publishing them, so it doesn't matter if the results are useful/good.
nwp
Jun 6, 2022 17:26
Personally I went with the academic experience for long enough that I'm now capable of the work part without having gone through much pain, but I understand that that is rather unusual.
nwp
Jun 6, 2022 17:25
I suppose. It's fun in an academic sense if you want to learn about templates and what crazy things they are capable of. They are much less fun if you don't care about templates and just want your code to work.
nwp
Jun 6, 2022 16:20
I don't know what you're all talking about. C++ templates are fun :P
nwp
Jun 5, 2022 15:54
Maybe it's enough to do it per model, assuming your models have a bunch of vertices which seems like a safe assumption.
nwp
Jun 5, 2022 15:48
I think in practice you should have many vectors that get multiplied by the same matrices.
nwp
Jun 5, 2022 15:48
If the vector, move_matrix and rotation_matrix change every time you do the calculation then this isn't useful. It assumes you can do move_matrix * rotation_matrix once and then reuse the result many times in order to reduce the number of calculations.
nwp
Jun 5, 2022 15:38
Of course this is only useful if the matrices are somewhat constant.
nwp
Jun 5, 2022 15:37
Basically when you have vector * move_matrix * rotation_matrix you can evaluate move_matrix * rotation_matrix into move_rotation_matrix and then do vector * move_rotation_matrix.
nwp
Jun 5, 2022 15:36
You just multiply the matrices. The order matters.
nwp
Jun 5, 2022 15:12
There might also be better ways so attach objects to other objects.
nwp
Jun 5, 2022 15:11
If you're rotating a sword you might want to rotate around the handle, not the center.
nwp
Jun 5, 2022 15:11
If that is the point you want to rotate the model around then yes.
nwp
Jun 5, 2022 15:05
Yes, that's how you do it. The trick is that you can multiply the move-to-origin, scale, rotate and move-back matrices to a single matrix, so there is no additional cost.
nwp
May 11, 2022 16:28
Put the functions in an array and store the index of the function in the component. There, you have pure data 🤡
nwp
May 11, 2022 14:24
Sometimes I think unit tests are relatively good at showing off functionality, better than a list of functions and their descriptions because you have self-contained compilable working examples including setup code.
2
nwp
May 11, 2022 14:18
Maybe if you had you would have missed the deadlines and would not be working on it anymore.
nwp
May 11, 2022 12:11
Just be online 24/7, easy.
nwp
May 5, 2022 16:58
I never used SVN so I don't know about the differences.
nwp
May 5, 2022 16:39
Though I think SVN is less finicky about history changing than git is.
nwp
May 5, 2022 16:39
Git can work with SVN repositories, at least convert them. That would also be a nice way to break everything.
nwp
May 5, 2022 16:37
Use git cherrypick to retroactively undo the change that broke everything in order to also break the git repository.
nwp
May 5, 2022 16:36
Oopsi
nwp
May 2, 2022 13:47
Thankfully we were deemed stupid, not malicious, so she just struck out the wrong things instead of calling us out for attempted tax fraud.
nwp
May 2, 2022 13:46
I doubt it. You're supposed to just know that garbage disposal doesn't count as side-costs for rent for tax reasons.
nwp
May 2, 2022 13:34
I really hate having to deal with taxes and finances in general, so I thought having a tax program asking questions and me answering honestly would produce a correctly filled out tax form, but that was not the case.
nwp
May 2, 2022 13:32
It happened to me. Well, not law enforcement exactly, but a tax case worker telling me that a lot of it was wrong.
nwp
May 2, 2022 13:23
Or you get a call from law enforcement because the software messed up.
nwp
Apr 29, 2022 14:03
Though there is probably a meta post from 2015 complaining about that and a bunch of other reports closed as a duplicate to that 🤡
nwp
Apr 29, 2022 14:00
It is supposed to, but apparently it does not. It looks like a bug. The HTML code makes it clear.
nwp
Apr 29, 2022 13:56
It looks like every * starts or ends italic parts.