shy_mia

joined 5 months ago
[–] [email protected] 1 points 3 weeks ago
[–] [email protected] 3 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Yours is a flawed, extremist view.
How impressive something is has nothing to do with whether or not its source is available. What, if they release it to the public it suddenly becomes impressive?
You can disagree with the method of distribution, but it doesn't affect the quality of the game.

Piracy being a thing isn't a strong argument for open sourcing everything, since the barrier of entry is higher than you may expect for non technical people, a barrier that would definitely be lower if any game was freely available and compilable by anyone. Someone will make a free, one click installer, guaranteed.

Now, can you charge for open source software? Definitely.
Will it generate significant revenue in most circumstances? No.

Open source software relies on two methods for funding:

  • People's good will, through donations
  • Paid enterprise licenses and training

The former isn't something one can stably rely on, the latter just isn't applicable to games.
Again, that model can work for some high profile projects, but in the vast majority of cases, it won't. Especially not for games.

One can make works of passion and still want to be compensated, that's what artists do and games are a form of art. You clearly never had to put food on the table with the art you make.

Your vision of everything being open source is a utopia. A noble idea, for sure, but reality is much more bleak.

[–] [email protected] 1 points 3 weeks ago (1 children)

Just open sourcing the actual engine wouldn't do much. At best, you'd be able to make it work on newer hardware if problems arise, or port it to other OSs. Great stuff, but not enough when it comes to improving the game, preserving multiplayer, and so on.

There's a great amount of scaffolding on top of the base engine that any moderately sized game implements, be it through scripting or native code. That's what I meant by the line between the engine and the game being blurry. If you want to make meaningful changes to the game, you need access to that framework portion, but releasing it would allow for easy reverse engineering of everything else. It's a difficult balance to achieve.

[–] [email protected] 6 points 3 weeks ago (3 children)

I could see that being a thing, but the line between the engine and the game itself is a bit blurry in this context. Copyrighting just the assets and content would often not be enough. There will always be a good chunk of game code which isn't strictly part of the engine but under this model should remain closed source, otherwise people could just bring their own assets.

Frankly I'd be satisfied with companies open sourcing their games after they stop supporting and/or selling them, mostly for preservation and all that. I think that would be a great middle-ground.

[–] [email protected] 36 points 3 weeks ago* (last edited 3 weeks ago) (9 children)

Ah yes, closed source, such a dealbreaker, as if 99% of the other games weren't.

Don't get me wrong, I have nothing against open source games, it's just not a viable monetization strategy for most projects, and people gotta eat. There's reason why most open source games are either passion projects or old games that have been open sourced simply as an act of kindness towards the community since they generate pretty much no revenue.

[–] [email protected] 11 points 1 month ago

I really wanna know where you get your language info and examples from because nearly every single one you wrote in your comments is just wrong.

Program state in Rust isn't immutable. datastruct.nextState() is not only possible, but perfectly reasonable, it's exactly how iterators are implemented.

[–] [email protected] 2 points 1 month ago

At least it has something to complain about, unlike Karens.

[–] [email protected] 16 points 1 month ago* (last edited 1 month ago)

The fact that it can be used as a scripting language doesn't mean it's a scripting language. You could use C++ as a scripting language as well, but it would suck.
C# even supports native compilation nowadays, not just JIT, so it's definitely not a lowly scripting language.

Anyways you've got options. Go may also be one of them if you want GC, I forgot to mention it.

[–] [email protected] 23 points 1 month ago* (last edited 1 month ago) (2 children)

I've found working with Rust and Bevy to be quite pleasant. If you're used to working with ECS, I suggest you at least give it a go.
Rust is as functional as C++ 20 with ranges and views is, which is to say it isn't. Not sure where you got that impression from, but while it does borrow some ideas from functional languages, it's still very much a procedural one.

Zig doesn't have headers, nor inheritance. Again, not sure where you got that from, but Zig is basically a modern C, so there's no OOP anywhere, let alone multiple inheritance.

As for what to use, I think they're both viable alternatives. I lean more towards Rust, but that's just due to familiarity. Odin also looks like a viable option, if you don't mind a smaller ecosystem.
If you want a garbage collected language, then I'd go for C#. Despite its historic reputation as a Windows only language, it's been cross platform and open source for roughly a decade at this point. I find it great to work with.

[–] [email protected] 1 points 2 months ago (1 children)

I'm not happy about it, but it makes sense.
They're trying to avoid polarizing issues so as to not alienate undecided voters. Either way a democratic presidency would be better for LGBTQ people than a MAGA presidency, so I'm not too upset about our issues being put on hold for a few days to achieve that. I imagine they'll become a little more vocal about them once they're actually in the White House, and if not we'll still be better off regardless.

Transgender people are a minority amongst minorities, catering to them while potentially alienating so many more voters is not a wise strategy. Reasonable trans voters will already vote for Harris because they know what's at stake.

I don't like it, but if it means keeping fascists out of the office, I can live with it.

[–] [email protected] 4 points 2 months ago

I find this to be true for every new language I try out. Since every language has a different way of doing things and gives me a new perspective, in the long run they all end up improving my programming style as a whole. I always end up integrating the best parts of each into my next project when possible.

Experience will always be more valuable than any set of rules these kind of books tout as "the way things are meant to be done".

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

Oh for sure. I have nothing against getters and setters when they're justified, but in the case of bare fields with no validation like that example it's just annoying.
Also stuff like this just grinds my gears (oversimplified example again):

class IntegerAdder {
    private int a, b;
    public IntegerAdder(int a, int b) {
        this.a = a;
        this.b = b;
    }
    
    public int get_sum() {
        return a + b;
    }
}

Just make it a bloody function.
You may say it's silly, but I've genuinely found code like this in the wild. Not that exact code snippet of course but that was the spirit.

100
He hungry (lemmy.blahaj.zone)
 
73
Father and son (lemmy.blahaj.zone)
 
44
eep stretch (lemmy.blahaj.zone)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 
view more: next ›