News for hackers. Stuff that matters.
Re:Facebook is building its own Steam-style desktop gaming p... by ythl on Thursday August 18, 2016 @02:31PM (#12315146)
I hate to break it to you, but Unity already dominates in terms of popularity.
Re:Facebook is building its own Steam-style desktop gaming p... by pjmlp on Thursday August 18, 2016 @03:25PM (#12315617)
Following Unity's growth is like watching again the developers that were trying to create games in "managed languages" (C, Pascal, Modula-2, AMOS,...) slowly wining over the ones writing in pure Assembly.

Yes, there is a lot of of C++ under the hood in Unity, but I also remember the days when writing game engines in C and Pascal dialects actually the majority of the code looked something like:

    procedure MyProc; assembler;
    asm
      (* assembly *)
    end;

Yet 30 years later we seem to have forgotten how bad those compilers were targeting home computers and how much they have improved in all these years.

We need more success stories like Unity to keep driving the industry forward.

Re:Facebook is building its own Steam-style desktop gaming p... by justinhj on Thursday August 18, 2016 @03:58PM (#12315868)
I was one of those developers. I wrote a game in 93 that used mostly c rather than assembly because I didn't want to write it twice for Amiga and PC. At the time games were mostly assembler and it was felt that c compiled code had too much overhead. It was probably true to an extent for another couple of years.

The next fight was to move from C and C++ to Java and C++. This still hasn't happened in console gaming because the overhead needed for gc is not palatable to aaa developers that have to milk every byte of ram in the machine.

Re:Facebook is building its own Steam-style desktop gaming p... by pjmlp on Thursday August 18, 2016 @05:16PM (#12316383)
Yeah, I was one of those early C++ developers being bashed for using a bloated language (vs C), just like C# devs are nowadays.

Regarding GC and consoles, how do the UE 4 developers approach it, just disable the GC related features then?

Re:Facebook is building its own Steam-style desktop gaming p... by SeanBoocock on Thursday August 18, 2016 @09:28PM (#12317444)
I haven't shipped a game on UE4 yet but in profiling our in-development game I've yet to see Unreal's GC emerge as a performance concern.

The UE4 GC is purpose built, simple (mark and sweep), and limited to only certain objects/allocations. The only time I've seen significant GC times/hitches was related to a bug that resulted in thousands of small allocations every second. I would much prefer if Epic dropped the GC - losing tight control over object lifetimes is as bad or worse than any potential performance overhead issues in my experience - but failing that I don't think its inclusion is a serious concern for shipping on consoles.

Re:Facebook is building its own Steam-style desktop gaming p... by pjmlp on Friday August 19, 2016 @01:12AM (#12318081)
Thanks for clarifying it. Always keen in learning a bit more about the console world.
Re:Facebook is building its own Steam-style desktop gaming p... by justinhj on Friday August 19, 2016 @06:15PM (#12323898)
I don't know much about Unreal but one difference is that a game engine can use a lot of unmanaged memory for the meat of the application and then provide a managed environment on top of that for writing the game. That way a much smaller portion of the ram usage is using gc
Re:Facebook is building its own Steam-style desktop gaming p... by dave_sullivan on Thursday August 18, 2016 @02:35PM (#12315176)
Yes, hence why everyone that doesn't make games is super excited. UE4 is the superior engine, made by a company that actually makes games. Networking, rendering, UI, lots more -- it all comes built-in to ue4 where unity has built this plugins ecosystem that is sort of a mess.

Also, does Unity still not give you the source code? I assume they'll change this soon enough; you get the source code with ue4.

I kind of see it like blender vs maya or something. Lots of people are using blender, and it's very powerful. But industry is using Maya (because it's more powerful), and that won't change for a bit I think (good for autodesk).

Re:Facebook is building its own Steam-style desktop gaming p... by babuskov on Thursday August 18, 2016 @04:01PM (#12315896)
> Also, does Unity still not give you the source code?

I believe that the issue isn't that they don't want to share, but that the code is a pile of patchwork that would need to be re-engineered before presenting it to anyone outside the company.

Unity has better marketing. The captured larger audience and thus got more content on their asset market and it has became default engine for beginners (C# seems much easier to learn than C++).

Unity is like Visual Basic of gamedev.

Re:Facebook is building its own Steam-style desktop gaming p... by nucleardog on Thursday August 18, 2016 @07:45PM (#12317050)
'Seems much easier to learn'? I'd attribute the ability to work with it from a managed language with a large part of its success relative to UE4.

Large swathes of even professional programmers have now come into the industry never having had to really deal with manual memory management. (And I happen to think that's fine.)

Given that, and the rising popularity of indie/amateur games, I fail to see how one couldn't count C/C++ as a negative as far as market penetration is concerned.

Re:Facebook is building its own Steam-style desktop gaming p... by babuskov on Monday August 22, 2016 @08:22PM (#12340399)
> Seems much easier to learn

Since I started from Assembler, it's hard for me to estimate how hard is C++ to some beginner. Managing memory came as a natural extension of understanding how the computer works.

> I'd attribute the ability to work with it from a managed language with a large part of its success relative to UE4.

You are probably right, but I simply cannot feel it. Thus "seems".

> Given that, and the rising popularity of indie/amateur games

I believe indie games reached their peak in 2011/2012 and got a huge drop in quality/quantity ratio since.

Re:Facebook is building its own Steam-style desktop gaming p... by niteshade on Thursday August 18, 2016 @11:55PM (#12317882)
I'd go a step further, Unity is the Fisher-Price of games development.
Re:Facebook is building its own Steam-style desktop gaming p... by szatkus on Friday August 19, 2016 @03:43AM (#12318512)
So what is Game Factory or other game makers?
Re:Facebook is building its own Steam-style desktop gaming p... by jarsin on Thursday August 18, 2016 @03:24PM (#12315614)
> unity has built this plugins ecosystem that is sort of a mess.

I regret every non-art unity asset store purchase I made. Need behavior trees pick one of 10 crappy maintained assets etc etc. Constantly felt like I needed to purchase something to fill some gap in unity or spend tons of time developing my own solution.

I don't feel that way at all in UE4.

Re:Facebook is building its own Steam-style desktop gaming p... by Sleaker on Thursday August 18, 2016 @03:04PM (#12315412)
You don't get source with unity unless you pay a lot, and that's incredibly unlikely to change.