Better HN
topnewbestaskshowjobs
Log inSign up

eigenbom

674 karma · joined Apr 6, 2012 (14y ago) · 118 submissions

Submissions

1.

End of the Machinery Game Engine

209 points · by eigenbom · 4y ago · 93 comments

comment 7y ago · link · parent

From their GitHub page: "ChaiScript is one of the only embedded scripting language designed from the ground up to directly target C++ and take advantage of modern C++ development techniques, working with the developer how they would expect it to work. Being a native C++ application, it has some advantages over existing embedded scripting languages:

It uses a header-only approach, which makes it easy to integrate with existing projects.

It maintains type safety between your C++ application and the user scripts.

It supports a variety of C++ techniques including callbacks, overloaded functions, class methods, and stl containers."

comment 8y ago · link · parent

There's no implication there.

comment 8y ago · link · parent

Life is way more complex than an isolated study might lead you to believe. Read research, but be aware of its limitations.

comment 8y ago · link · parent

I was agreeing with him!

comment 8y ago · link · parent

Oh yeah, no chance. The best outcome for me is to earn enough to keep making games.

comment 8y ago · link · parent

The game is my life, but so are my wife and daughter. It's a life!

comment 8y ago · link · parent

Hi Sam!

comment 8y ago · link · parent

Sorry!

10.

How to take 7 years to ship a beta(medium.com ↗)

3 points · by eigenbom · 8y ago · discuss

comment 8y ago · link · parent

And so marks the end of the std::graphics era. I originally thought it was a good idea, but now agree that a graphics API like that has no place in standardisation.

comment 8y ago · link · parent

In libcxx it's a few lines. Unless you also count the overloads for initialiser_list etc.

13.

Show HN: Change my Twitter avatar(bp.io ↗)

2 points · by eigenbom · 8y ago · discuss

comment 8y ago · link · parent

Americans invented the laugh track. ;)

comment 9y ago · link · parent

Best joke I've heard all day.

comment 9y ago · link · parent

I'm excited by this feature, along with all the other compile-time programming stuff (reflection, concepts). The downside I see is having to remember how a metatype works.. e.g., the default access type for member variables of struct, class, interface, value, .. and on and on. But if we keep the number of metatypes low, this may manageable.

comment 9y ago · link · parent

Seems like a very broad definition that would place science, religion, and this comment within the sphere of art.

comment 9y ago · link · parent

fixed point is often used for that case

comment 9y ago · link · parent

Took a few rounds but the Angels were in on this one.. ;)

comment 9y ago · link · parent

Thx!

comment 9y ago · link · parent

I think she triggered an interrupt in my brain and now I'm running a deep hidden subroutine..

comment 9y ago · link · parent

Haha with a constantly changing ABI right? Thx :D

23.

I'm a dad

11 points · by eigenbom · 9y ago · 9 comments

comment 9y ago · link · parent

You could definitely make them full entities, it would depend on your use case. If you're making a bullet hell shooter then maybe bullets need to be handled as a special case. Either way best not to get caught up in ideology or finding a perfect architecture, just do what works for you and your game.

comment 9y ago · link · parent

It's a problem, but I'm not sure it's a big enough problem to seek out an alternative architecture altogether.

Bullets probably would be simple structs in a shooty game, not full blown entities.

The next step beyond that simple approach is to store the components outside the entity. E.g. using SoA that Jon's new language has support for.

In my game (http://moonman.io) i use an approach similar to that in the bitsquid engine, with static polymorphism and crtp and other nonsense. It works but i admit is probably overkill.

comment 9y ago · link · parent

Have you written about this in more detail Jon? I'd love to read about it.

I'm not sure if there's an explicit definition somewhere, but i think an ECS could be as simple as an entity struct that contains an (optional) physics struct, that is then operated on by some physics module.

comment 9y ago · link · parent

A good retrospective. I'm always inspired by Evan's passion and ability.

28.

A collection of gamedev articles for NotGDC(eigenbom.github.io ↗)

4 points · by eigenbom · 9y ago · discuss

29.

Dynamic vs. Static Procedural Generation #NotGDC(medium.com ↗)

1 points · by eigenbom · 9y ago · discuss

1234