6 ms·
And 0 value was added to the actual game. This is exactly how my side projects are never finished
by tobyhinloopen 6y ago
And 0 value was added to the actual game. This is exactly how my side projects are never finished
- Bishop_ 6y agoSame here, but maybe the goal of his side project is to learn and not ship a product. In any case, you're not wrong, but I assume most people writing a game in C as opposed to leveraging a tool like Unity are more interested in diving in and learning something new rather than shiping something.
- ThePadawan 6y agoThey're very different attitudes indeed. E.g. compare OP to the level storage of VVVVVV: https://github.com/TerryCavanagh/VVVVVV/blob/cf53de9ed5cd82a5836cd3592d3c7f33ec139964/desktop_version/src/Spacestation2.cpp#L28 https://github.com/TerryCavanagh/VVVVVV/blob/cf53de9ed5cd82a...
- emmanueloga_ 6y agoAlthough to be fair I'm sure the author wrote a program that generated that array :-)
- Ma8ee 6y agoI certainly hope so.
- allenu 6y agoI love the reference to this because I'm working on a side project and treating it as "something I definitely want to ship" and have found that I have higher tolerance for code that I just copy/paste and slapdash together. I've worked on lots of side projects in the past where I was more deliberate about every line of code and learned that shipping is more important to me now than learning something new. I will say most of the choices I'm making with respect to when to go "deep" with good design are very much calculated. I'm designing the architecture with a lot of thought, but when it comes to laying out UI elements, I will copy-paste and not refactor even if there's a good opportunity for it. It's just plumbing to me, so if it's ugly, it's not a big deal.
- emmanueloga_ 6y agoWriting a custom configuration format seems like some prime quality yak shaving :-) Probably flatbuffers would be a good choice for the author needs.
- makapuf 6y agoC literals const struct files are actually a nice format with no runtime. If you compile in .3s a big C file your compile time wont matter.
- wahern 6y agoOne of the reasons service configurations on OpenBSD (e.g. pf.conf, ipsec.conf, etc) are so convenient and expressive is because they don't shy away from defining and implementing custom configuration syntax using yacc. At some point somebody needs to implement the configuration interface for the human. Punting things by preferring boilerplate, machinable formats and libraries doesn't actually solve the problem.
- jstimpfle 6y agoWith some practice, things like this take between a couple of hours to a couple of days of investment, total. I would say it is a fair price to pay, whenin exchange you get to explore the design space, get to practice some important skills, and get a lot of control over how you want to do things, and get rid of a nasty dependency that might bite you later. Of course, there are some things that you are not going to do that a solid library gets you for free.
- outworlder 6y ago0 value may have been added to the game. A lot of value was added to the author.