News for hackers. Stuff that matters.
Re:An Open Love Letter to Our PC Fans by ChuckMcM on Monday December 08, 2014 @11:36AM (#8717308)
I've heard this a lot in the games industry -- "For each version, the programming was done from zero. We can’t stress this enough."

That seems so wasteful and challenging, anyone from the industry care to comment on how a studio would get itself into a situation of effectively zero reuse of their code?

Re:An Open Love Letter to Our PC Fans by NickPollard on Monday December 08, 2014 @11:44AM (#8717367)
The main issue is a lack of money/long-term survivability for most studios, which leads them to cut many corners in order to release the game before running out of cash. This means that code is written to ship the game out of the door, rather than for the future, so there often isn't time for proper engineering. Then if that game does OK they get to work on the next one, throw away all the hacks they did last time, and start again...

It also doesn't help that due to the structure of the industry (e.g. work hours, low pay etc.) they have trouble retaining developers and instead replace them with fresh grads. A huge percentage of people I know left the industry before they hit 30 (myself included). This leads to a lack of experienced engineers.

Re:An Open Love Letter to Our PC Fans by eropple on Monday December 08, 2014 @12:13PM (#8717528)
I'm going to preface this post with a note that, yes, there are surely good developers in game development, this is not a universal thing, etcetera etcetera.

Ass properly covered, I'll be real: I'm never surprised to see this because "code reuse" is generally the sign of reasonably advanced developers and I don't know a single person in game development I would hire for a role outside of it. It's not just NIH--that's a problem but one slowly going away. It's more just a fundamental lack of understanding of software engineering and building Good Code. As time goes on I've seen gamedev acquaintances poorly reinvent most of the wheels that the rest of the world takes for granted--even something as simple as serialization for save data and network transport (but no schematic validation, because "schemas suck") was trumpeted to me as this Big Crazy Great Thing. Which contextually it may be, but I kind of feel like the state of the art for stuff not involving pointer munging is about a decade behind everybody else.

So, code reuse? Gotta make good code first.

Re:An Open Love Letter to Our PC Fans by SimpleMinds on Monday December 08, 2014 @01:27PM (#8718077)
I agree with what you said with my limited experience. I hope it's anecdotal nature is good enough.

I worked in a company that went from doing software gigs in general to be full mobile gaming company. Before it was quite standard Agile style company: Scrum, code reviews, TDD, cross-functional teams (front end devs knew how servers works in general), focus on quality over quantity (one dev, rotated weekly or biweekly, focusing on fixing bugs), separate concerns.

After going full game-oriented, company hired couple of people from gaming industry into higher positions - tech leads, project managers etc. Over couple of months, people with many years of experience in those big companies dismantled what was standard for me, using combination of two arguments:

- big names don't do it, so it must be wrong - it's a waste of time

Before I quit, there were no longer code reviews (waste of time), all testing was to be handled by QA team (waste of valuable dev time), ship with issues (waste of time to fix minor bugs when can add features), single system responsibility (one dev to write code for client server protocols, one dev for UI, one dev for assets etc, that's gow big names do it).

At one of the last talks with "industry veteran", when I mentioned those things - and how negative, in my opinion, those changes are, his response was "so you are saying that whole gaming industry dev practice is wrong". At that point I thought he's right and I sound full of crap, now I believe that yes, AAA companies are simply bad development practises shops.

My guess as to why is because AAA is very strongly driven by deadlines and marketing, where you cannot simply delay release (Christmas shopping spree is coming). This idea I saw articulated on HN first and I agree with it.

Re:An Open Love Letter to Our PC Fans by pandaman on Monday December 08, 2014 @02:06PM (#8718341)
If the AAA practices had been so bad then, by now, we had Agile-TDD-etc shops taking their lunch and driving them out of business. As of now there is just one studio practicing Agile, Blizzard. If it is not known, Blizzard is also famous for incredibly long projects and missing deadlines. I had personally observed collapse of two Agile AAA studios, who, while doing pretty well by the industry standards, did not have the super-profitable titles to hold them up during 5+ years of development cycle. So I believe we have the AAA practices not because game programmers are stupid but because studios that don't use them are not around for long.
Re:An Open Love Letter to Our PC Fans by ryanobjc on Monday December 08, 2014 @02:42PM (#8718598)
The answer is fairly simple here, is that software quality is not everything in this space. The systems are not mission critical, and PR, marketing, money and a good "property" (eg: star wars) can pave over quality issues.

For example, look at Assassin's Creed - will the bad launch cause people to avoid AC in the future? Maybe, but probably not.

Re:An Open Love Letter to Our PC Fans by SimpleMinds on Monday December 08, 2014 @10:24PM (#8720827)
I was not implying that game programmers are stupid, sorry. I meant that they way it was told in the company how AAA do it sounded similar to what I learned about how big companies done it 10 or something years ago. Coming from agile workplace, I think there were things that could have been kept in place to improve quality of life for developers and art teams. I'm not sure if I can express what I mean correctly. For example, why the dreaded "crunch time" in gaming is treated as norm, while in modern web/mobile shops its believed that something like this is going to result in worse quality over time?

I could see arguing here with myself that AAA games are usually "ship and forget", with some bugfixes only. Maybe because company I was working in was not AAA, but small (by industry standards) f2p mobile shop, where applying AAA ideas is not that great (in my opinion). I mean that's where your product is more along lines of web apps - you are going to constantly add content, update code base, refine features, so focusing on quality in long term is better. This, thought, I was not able to articulate clearly and properly to AAA veterans.

I feel like not all ideas from current practises can be applied to big gaming studios, but saying that I believe it can be improved. This may need time and risk that companies that are big enough to be called AAA are not willing to take.

Why two companies you mentioned failed? I think we can assume there might be more reasons to that than only being Agile, maybe their games were just not that good, or IP was boring? Still you sound like you have more experience than me here, I'm trying to wrap my head around whole AAA industry thing. I'm ranting about it so much because making games was way more entertaining than web/mobile, but the industry is so poisonous for pure developers that I had to quit to regain my sanity :)

Re:An Open Love Letter to Our PC Fans by pandaman on Tuesday December 09, 2014 @12:14AM (#8721156)
I am not sure people outside game industry do not crunch. A brief search shows that the term existed long before the modern game industry or any game industry at all. Same goes for "overtime" - the term is even codified in laws. I assure you nobody treats crunch as a normal mode: even people who are forcing unnecessary crunch understand that it's something unordinary and often do it just because it is not something normal (to show how good they are at management, to extort a bigger budget, to undermine their political rivals etc).

>This may need time and risk that companies that are big enough to be called AAA are not willing to take.

Infinity Ward, the original home of $1B+ games, had about 100 people at the time of the split from ATVI and founding Respawn. It's about the same size now as well as the Respawn. Media Molecule is just a few dozens. Size does not make a AAA studio.

And you don't even need to show the best practices right at the AAA level - start small and if it's any good people will copy you or, at least, you should be able to grow yourself.

>Why two companies you mentioned failed? >I think we can assume there might be more reasons to that than only being Agile

Indeed, it would be naive to blame Agile on destroying multi-million businesses. Agile seems to be just a symptom. It could be that the management sees that the development process is failing and tries to improve it with a well advertised technique, for example. Or that some Agile enthusiast gets too much power due to the weakened culture. What I was trying to say is that very few AAA studios practice it now and the ones that did in the past are not in the business any more.

Also, there is no single AAA development way. For example, Valve's practices are very different from Bungie's, which are different from the R*, which are different from ATVI's COD teams etc.

Re:An Open Love Letter to Our PC Fans by NeverEnough on Monday December 08, 2014 @02:58PM (#8718742)
there isn't any reason to suspect that a small company doing one thing better will walk all over AAA, that's hyperbole. AAA's culture is good enough and their other large advantages give them their market share.
Re:An Open Love Letter to Our PC Fans by pandaman on Monday December 08, 2014 @06:59PM (#8720071)
What are the advantages AAA studios have? There are no patents or secret know-hows, there is only reputation they have built themselves. If you have a superior process why cannot you do the same? For example, a small company id Software started developing games in C when everyone else had been doing Assembler and pretty soon not just established itself as a AAA studio but effected everyone else to switch to C as well. This is how a superior process works in the games industry.
Re:An Open Love Letter to Our PC Fans by eropple on Monday December 08, 2014 @09:53PM (#8720709)
> What are the advantages AAA studios have?

Shitloads of money. Massive institutional knowledge of public relations and marketing. Direct lines to Sony and Microsoft. Every kind of benefit of economy of scale you could want.

Re:An Open Love Letter to Our PC Fans by pandaman on Monday December 08, 2014 @11:19PM (#8721010)
You seem to be confusing publishers and studios. If you are so good with development practices you can sign the same contract other AAA studios do and get the same access to the benefits of economy of scale you attributed to studios.
Re:An Open Love Letter to Our PC Fans by eropple on Tuesday December 09, 2014 @12:51PM (#8724314)
Um. Publishers own the majority of these studios (or they self-publish, generally after a spinoff or long working relationship under a publisher). That's why those advantages apply to them. Otherwise, how exactly do you propose to "sign the same contract" without having money in the first place to build the infrastructure and already having spent a shitload of money to be in a position to be considered for it?

It's not like the idea of a barrier to entry is a new concept.

Re:An Open Love Letter to Our PC Fans by pandaman on Tuesday December 09, 2014 @01:21PM (#8724558)
Some studios are owned by publishers, some are not. The statement I argued was made about every AAA studio, BTW. But if you cannot compete with a publisher owned studio then go after ones that are independant like Epic or Bungie or Insomniac or Arena or Telltale or Riot etc. etc. If you want how it's done look no further than Respawn. The studio was just founded in 2010 , signed a publishing contract without long relationship with the publisher and infrastructure, shipped a game already. It is how almost every AAA studio started (there are few studios that had been seeded by publishers, but as far as I know, none if them exist now).

It's pure meritocracy here, if you are good then getting a publishing deal is not a problem.

Re:An Open Love Letter to Our PC Fans by eropple on Tuesday December 09, 2014 @02:02PM (#8724852)
So you have a list of studios that all either got big when the barriers to entry were much, much lower than they are now (Insomniac did not spend a hundred million dollars on Spyro the frigging Dragon) or were founded by people with significant industry contacts and kicked off with direct lines to Sony and Microsoft and to publishers right in hand because of who they are? Are you sure you're proving what you think you're proving?

The core of an "AAA studio" is a big fat wallet. It's essentially definitional. You're not actually saying anything with respect to them in any of your posts.

Re:An Open Love Letter to Our PC Fans by pandaman on Tuesday December 09, 2014 @02:31PM (#8725068)
So who were Riot's founders? Who were Media Molecule founders? Did the barriers for entry suddenly rise between 2008 and now? From what I see it's much easier to publish a game even for consoles. There are tons of indies doing that regularly. In 2008 you had to have a secured office and 20K in cache to get a devkit, today you can get a loaner at home if you cannot manage 2K price.

AAA do get a lot of money but it's the effect of them making games that sell well. There are dozens of startups in SF that cannot make even mobile games with their piles of cash and hundreds people. Money do not make you a AAA studio.

Re:An Open Love Letter to Our PC Fans by pmelendez on Monday December 08, 2014 @01:17PM (#8718011)
I worked in the gaming industry for a couple of years and after I worked in the RTB industry and lately in the forex industry. I am not alone, and I have a lot of friends coming out of gaming that work very well in other industries.

The problem is not whether or not game developers know how to reuse code but whether or not it makes sense or are allowed to reuse it. One big challenge when you are going to reuse code is not having a stable set of requirements (which in gaming is almost non existing even in the late stage of a project) and when you take that and join it with tight and unreasonable schedules you would have a huge mess as result.

The state of the industry is very unhealthy in my opinion and I wouldn't be surprise if there is another dark age for videogames coming up.

Re:An Open Love Letter to Our PC Fans by smacktoward on Monday December 08, 2014 @01:50PM (#8718238)
This seems unsurprising, given the game industry's notorious reputation for developer burnout. The developers don't know how to write good code because by the time they've learned they've burned out and left the industry. They're then replaced by clueless young people, and the cycle repeats.
Re:An Open Love Letter to Our PC Fans by alexnking on Monday December 08, 2014 @01:05PM (#8717929)
Well there's a difference between code reuse, and cross-platform code reuse. If you're porting a Laravel project to Rails or vice versa, you should be reusing logic, not code.
Re:An Open Love Letter to Our PC Fans by highCs on Monday December 08, 2014 @12:31PM (#8717654)
Almost all the graphics, audio, net, event, ui, system calls and data structures are generally tied to the low level frameworks without any level of virtualization.

Add to that that each framework has its own standard and way of doing games (event-base, component-base, etc.). The worse part I think is the game logic is generally enclosed in framework-specific objects like events in as3, components in unity, etc.

Virtualizing that would be expensive, tricky and costy in terms of performance.

Re:An Open Love Letter to Our PC Fans by ChuckMcM on Monday December 08, 2014 @01:30PM (#8718095)
In the way back times, when the Amiga was a hot machine, I hung out with folks who were games people and they were always trying get one more erg of power out of the machine because, as they put it, "Every cpu cycle spent on the game makes it that much better." Which was clearly true in the Amiga, and the PC/AT and Macintosh II, but for a modern machine with 4 cores and 8GB of memory and a GPU that fills a 1080p screen with triangles almost without thinking about it. It seems like 'bare metal' is suddenly a hindrance and 'moving to multiple platforms with minimal rewrite' would be the thing evolution would push into game studios. Where did that message get lost?
Re:An Open Love Letter to Our PC Fans by sharpneli on Monday December 08, 2014 @01:55PM (#8718276)
The message gets lost in performance.

The difference between engine optimized for certain platform is simply massive. We're talking at in the worst case 10x the performance difference.

Why is this? Let's take modern console game for PS4. It uses mantle like API where you can simply spam drawcalls like no tomorrow. Port that to DX11/OpenGL and you'll choke.

Or move a simple OpenGL game from PC to mobile, it does nothing fancy and uses ES2.0 subset of OpenGL so it should work nicely? Not quite. All your scenes are built using effects that cause massive performance penalty in tile based renderers. Sure it works fine on Tegra K1 but everywhere else it's horrible.

On the other hand there is a way of doing multiplatform development. It means using Unity (or other multiplatform engine), limiting yourself to a common subset and leaving the optimization part to be the headache of the engine developers. However even if you use Unity you have to manually consider the effects you are using on per platform basis.

Re:An Open Love Letter to Our PC Fans by highCs on Monday December 08, 2014 @02:34PM (#8718540)
> 'moving to multiple platforms with minimal rewrite'. Where did that message get lost?

After the Amiga/Atari/Commodore/etc era when games were ported on every platforms came the PC age (which was relatively divided from the consoles during a long time). Now heavy crossplatform is back again.

Re:An Open Love Letter to Our PC Fans by jfoutz on Monday December 08, 2014 @01:01PM (#8717896)
I am genuinely surprised that a flash game is so tightly coupled to the underlying hardware.

That's amazing.

Re:An Open Love Letter to Our PC Fans by wtracy on Monday December 08, 2014 @02:30PM (#8718509)
The problem is not that the Flash game is so tightly coupled to the hardware, it's that it is tightly coupled to the Flash runtime. (Mainly because Flash forces a certain structure on your code, but also because Flash's idiosyncracies are so bad that you have to bend over backwards to get good performance from it.)
Re:An Open Love Letter to Our PC Fans by sehugg on Monday December 08, 2014 @02:25PM (#8718459)
Let's say it's 2011 and you want to port your Flash game to iPhone. You can try packaging your Flash game using Adobe's tools, but it'll probably be very slow, and Apple might change their mind again about allowing Flash apps on the platform. There aren't very many well-supported C/C++ frameworks for iPhone yet -- you search the forums for each and only find unanswered questions. You're worried about it working well on the new iPad.

So you do the safe thing everyone else is doing, Cocos2D and Objective C. You'll worry about porting later, if the game does well. Maybe you'll just pay someone else to do it.

Re:An Open Love Letter to Our PC Fans by NDizzle on Monday December 08, 2014 @02:27PM (#8718478)
I'm going to paraphrase a friend of mine who is a great mobile developer.

They could have used AIR on mobile to re-use the AS3 codebase. Alternately, they could have done c++ on cocos2d-x instead of objective c, so that would have been pc portable.

They would just have to write it twice, in that case. However, if you are a group of AS3 devs jumping to mobile, they probably picked the best sounding thing at the time - which was cocos2d.

Keep in mind android wasn't really a game platform in 2011, so choosing cocos2d in obj-c over c++ wasn't really a bad call.

Re:An Open Love Letter to Our PC Fans by pjmlp on Monday December 08, 2014 @01:47PM (#8718216)
The game industry grew up in the 80's where the only suitable language to write games on was Assembly and everything computer was completely different, even between revisions.

Basic, C and Pascal were the Python and Ruby back then.

So porting studios appeared, specializing in porting the games to specific platforms. The porting industry came to life.

Fast forward 30 years, you still need to write quite hardware specific code if you wish to squeeze out every possible ms out of the machine, which opens the door for all kinds of shortcuts.

This of course only matters when doing AAA games.