5,056 karma · joined Mar 2, 2020 (6y ago) · 1,574 submissions
comment 3y ago · link · parent
This wiki is the Bible for ECS/ECBS systems: http://entity-systems.wikidot.com/
comment 3y ago · link · parent
Having an ECBS system: one could model all the permutations as described while keeping code concise, shareable, and non-repeatable. Unity is really an ECBS.
Inheritance vs non is as old as OOP vs functional. Each has their place, each has their pros and cons. Having functional components and behavior traits attached to object inheritance based entity nodes is probably the best of all composition. Entities can get more and more complex with inheritance chains (further classifying what components can be attached), components can include behaviors, data, events/triggers, sub-components. Behaviors (triggering events or waiting for) is where your game logic would mostly reside.
comment 3y ago · link · parent
I do love their chicken though.
comment 3y ago · link · parent
I whole heartedly disagree. There’s an entire class of performance tuning you can do to math intensive applications that absolutely require knowledge of assembly to squeeze that last 0.5% out of the machine.
Video Games, Video Editing, Image Editing, Simulations, Scientific applications, all benefit from having some assembly sprinkled into their algorithms for speed.
Because of this, I don’t need crates or packages to do things for me, I’m capable of doing it on my own. I’m capable of building a 64kb demo scene executable. I’m capable of building a hardware accelerated video decoder. I’m capable of parallel vector operations because I can haz assembly. I can disassemble and reassemble binaries, libraries, files, stacks. I can even inject my own code.
If you have no need for speed and efficiency, then I’m sure a browser-based desktop app with some JavaScript will be fine for your use case.
comment 3y ago · link · parent
comment 3y ago · link · parent
Going by my logic, there are MOG’s and there are MMOs. Guild Wars 2, World of Warcraft, EverQuest 2, games where thousands of people can be on screen at once, where that server instance is synchronized with the rest of the cluster, for one seamless virtual experience. I’d say half of the self-proclaimed mmos ever really reach massively-multiplayer status. Games like Dota 2 and CS2 are played by millions but I wouldn’t say it’s an MMO because each match it’s 5v5.
Realm vs Realm or World vs World mechanics explain my perspective perfectly.
comment 3y ago · link · parent
I’m talking about 10,000+ players. Where you need clusters of servers and synchronization techniques.
There have been some small multiplayer games that have tried to pass as mmo’s but without the player base in the 10k+ range, you never encounter certain classes of engineering problems.
comment 3y ago · link · parent
comment 3y ago · link · parent
Likewise GLint is just a type alias for int. There are only value types (str, int, float, etc), everything else is a construct. The only true types are those value types (and pointers to them). If you call a type a Color and I call a type a Color, you are using my lib to build a program (not me using yours), you must adhere to my contract of what a Color type is to my API. Period. You can not call a function with an unknown type and expect it to behave properly.
If it panics, it’s your fault.
comment 3y ago · link · parent
You’ll frequently find Java, C#, Go, and Python as backend rpc/tcp game servers.
comment 3y ago · link · parent
Rewind 15-20 years ago and all the folks who wanted to make a game, their first game, and they want to build an mmo. None of them succeeded. Not 1. The only ones since were from people who knew the ask. Or had a crowdfunded ponzi scheme.
comment 3y ago · link · parent
Such a Texas thing to say.
I had my fair share of wind turbines on my sailboat. Nothing this guy is taking about is 1) new. 2) novel. 3) revolutionary.
What he’s trying to do is white-wash and “patriot”ize a simple existing technology. Only with half a brain cell so he thinks he’s solving the worlds energy crisis.
Wind turbines are loud. The faster they spin, the louder. The faster they spin the more potential for hazardous blade separation. I once sliced right through a dinghy with one. Imagine if that was little Melody with her stuffed animal.
The future of energy is not physical force pushing propellers to drive alternators, it’s capturing (and harnessing) the power of the sun. Solar panels provide 2-3x the output, none of the physical dangers, and are quieter than an ants whisper.