PlayStation.Blog

Building the Open World of Dying Light on PS4

19 0
Building the Open World of Dying Light on PS4

As we wrap up the production of Dying Light, I took some time recently to sit down and reflect on the incredible adventure the development of this game was. The team members made me promise that at the release party for the game, I’ll perform a rap song for them (Don’t ask…) and I wanted to write lyrics that would recount the time we spent on this project.

Dying Light

As I started digging deep in my memory I realized that I need to face one (perhaps the only one) personal regret that I have from that period. Early in the game’s promotion, I said in one of the interviews that I’m not really fond of the “Mirror’s Edge comparisons” journalists were making about our game. Taken out of context it might have sounded to some ears that I didn’t have respect for Mirror’s Edge, and it was certainly spun that way by some online media and internet commenters. That’s not what I meant!

What I meant was that Dying Light is a very complex game, and I simply wanted it to have a better, more accurate description. I sincerely felt that in our case the blurb “It’s Mirror’s Edge with zombies” didn’t really do justice to what we aimed for with Dying Light.

Some would argue though that such a summary is great. Perhaps even a dream one. Right after the announcement of the game, people started describing Dying Light as “Dead Island meets Mirror’s Edge.” So on one hand we had one of the bestselling zombie games in history and on the other a certified classic — one of the few truly stand-out titles of the last generation.

Dead Island proved that the “first person open world co-op hack’n’slash zombie game” formula was something that gamers wanted. And Mirror’s Edge… well, it opened a lot of eyes to what you can do with first person movement. It was a title with a timeless visual design and one of the most genuinely charismatic characters in the history of video games. I was surprised that it didn’t start a new genre, and that it didn’t define a new way of playing games. I wish there could be more Mirror’s Edges — games that are courageous, visionary, left field. These are the games that make interactive entertainment go forward.

And that was our ambition as well. When we started the project, we knew that we want to create a first-person, open-world game that tears down walls (visible or not). We aimed to create a game that would allow you to step outside of the corridors, hop over fences, climb on top of a building to see what’s on the other side.

Dying LightDying Light

To achieve that we started with an approach similar to what Mirror’s Edge did — we started placing interactive elements by hand, putting “hooks” on edges of rooftops and walls so that the player could grab and climb on them. First there were hundreds of them, then there were thousands, and after a few weeks we had about 50,000 of these edges the player could interact with. That system had its advantages — for example, we always knew were the player will be after triggering the climbing animation — but it also had its limitations. The player could approach these objects only from a certain angle, and it was a nightmare to keep track of all the objects, making sure that level design changes will not leave them hanging in the air.

Yet the most important thing was we still weren’t satisfied with what we had, because with each added “hook” we saw at least two or three locations where we would like to place the next one. Our appetite for freedom of movement was growing, but the approach didn’t allow us to satisfy it.

So we had to try something different. Our gameplay programmers suggested that we could do a real-time time analysis of the area around the player to determine what kind of action he could perform — i.e. climb, jump over, slide, or wall-run. If the same system could then analyze the surrounding geometry, player parameters (like his speed and position) and potential animations to select the best possible action on-the-fly then we could have what we wanted. Unfortunately, it was the perfect case of “easier said than done.”

Even though we knew from the start that this new idea — dubbed Natural Movement — had way more potential, implementing it really gave us lots of migraines.

The level designers discovered that with the new system the player could reach places previously unreachable, and on top of that he can also create his own paths through the environment. The scripts and designs they already made went out the window so they had to create all of the main story and side quests missions from scratch, considering the fact that the player can move from point A to B using multiple ways, and that they can approach their objectives (point C) from multiple angles. It’s an open world game, after all.

Dying LightDying Light

The animators found out that without strict control over what the player can grab and climb on, all of the animations they did are prone to clipping through objects. We basically opened up a Pandora’s Box of various glitches that we now needed to take into account. They also had to fix a set of very unusual problems stemming from the notions of motion sickness a small group of players were experiencing. We discovered the problem was quite easy to identify: the player’s brain sees unrestrained motion but his inner ear doesn’t register any movement. It was much harder to solve this though: we had to experiment with various settings for field of view or the saturation of colors. We also went through at least dozen iterations for the wobbliness of camera movement and we needed to work on interpolation algorithms for different cases to make sure that the camera (essentially the players’ eyes) were moving smoothly and naturally.

The AI guys had to think of new ways of spawning enemies, so that the player, who could be basically anywhere on the level, would never see a zombie just appearing out of thin air.

And our engine guy — and here it gets even more complex because at times I feel these guys speak in riddles — had to implement a caching mechanism on the level geometry around the player, and seriously optimize the geometry tracing algorithms to make everything work as smoothly as we intended it to be.

And to be honest that’s just a tip of the iceberg of problems, issues and challenges we had to face and solve to reach the point where we are at with the project at the moment. So while Mirror’s Edge was absolutely a key inspiration, copying their system just didn’t work for us. Looking back I wish it was that simple.

Thankfully though every hour spent on the development of Dying Light was 100% worth it. I know the gaming community expects developers to stay humble, and one of the many valuable things I learned in this industry is the fact that it’s always better to “under-promise and over-deliver” than the other way ’round.

But I’m really excited about Dying Light, and I can’t wait for player to get their hands on the final game. I’m beaming with pride, because I know that our team created a game and a movement system that will open a lot of eyes. I’m confident that we have at least a shot at “evolutionizing” first-person games in general (I always was wary of the letter “R”). I can’t wait for player to see this thing in action and to hear what they think.

Comments are closed.

19 Comments

  • Guys (and girls?), please take your time and release something you are proud, we don’t need another Driveclub. With all due respect to the other guys, but that could have gone better.

    Best of luck!

  • italodancemp3

    This game should come to Vita as well.

  • I’m really tired of people with no knowledge of performance constrains spitting that same sentence. You want to play those games, don’t expect to run the same on your portable. Also, when you say it, you make yourself sound dumb. Stop it.

  • BlueBl1zzard

    Really cool post. It’s interesting to see the different challenges you guys faced in developing this game, and it makes me appreciate it that much more. That said, as a fan of Dead Island and huge fan of Mirror’s Edge, I absolutely can not wait to get my hands on this. It’s probably my most anticipated game at the moment (yup, even over Mirror’s Edge 2).

    Thanks Techland for doing what you do, and I wish you all (and this game) the best!

  • thunderbear

    I’m there day one, I think it looks fantastic. Just hope I can get through my backlog of games before then, but either way I am picking it up first day.

    As a side note, I felt I understood what you meant when you said you didn’t like the Mirror’s Edge comparison. Any innovative game designer don’t want their game put in a category and labeled “it’s this meets this”. Takes away so many subtle game design issues that are so important for making a great game. But a lot of people like categorizing things, and it’s also great click-bait to create conflict.

    While i haven’t played the game yet, everything I’ve seen looks like a lot of fun. All the parkour movement seems so seemless with the combat, but the night-time dynamics, open world, and story also seem really intriguing. Also love the wind effects :). Best of luck at launch!

  • PanTheMan16

    Tymon, this was a great read and I am so glad that you decided to pay us a visit. I do have a big issue with this game, though, and that’s that I have hardly heard anything at all about it. Until I read your post here, I also just had some extremely vague idea of “Mirror’s Edge with zombies”. You need to be more vocal with the gaming community and give Dying Light the dominating presence it seems to deserve. Some devs regularly check in here and by the time a game releases, our nation of gamers is well aware of it and the hype is crazy. Currently, I feel like the only reason there is any hype for Dying Light is because of Dead Island and because it was announced at the beginning of this gaming generation. So please, come back, numerous times, with much more information and some trailers and True gameplay videos (not just montages that are confusing to people who’ve never played the game). I expect this will be a day 1 purchase for me, and I don’t like that it feels so hidden away.

  • Wow! This looks great!!

  • SureBigBuster

    @2 how could you possibly think this game would run on a Vita. The graphical downgrades would be huge not to mention a lot of other elements that would also need to be sacrificed to make a Vita port

  • Yeah just remote play…derp…

  • death_nation100

    I never knew the characters could climb over stuff . It sucks when a game got zombies in it it’s only the humans are affected not animals they had absolutly no zombie animals in Dead Island when it’s on a Island for crying out loud , How To Survive did had zombie animals however . Zombie Games needs more challenge than killing undead humans .

  • I saw the 1st 15 minutes on IGN…
    http://www.ign.com/articles/2014/12/01/dying-light-the-first-15-minutes-ign-first

    I am very disappointed with the use of gaming assets:
    – The same door crumbles in every room…
    – The zombies look bad and repetitive. Everyone has one arm and wife beater.
    – The guy you attempt to rescue had a poor instant transformation into a zombie and then he breaks apart like he had rotted away to nothing.
    – Some local AI didn’t respond to the firecrackers. The firecracker animation or sound effects should vary a little bit.
    – Couldn’t they at least change the plate numbers of those green cars that need to be activated?
    – PS3 graphics?

    Do I dare say it will be another: Aliens: Colonial Marines?

  • plaztiksyke

    Looks really cool. I really liked Mirror’s Edge, and even Brink. Getting the trophy in Mirror’s Edge for not using a gun the entire game was one of my proudest trophy moments.

    I’d love to see a next-gen remake of Mirror’s Edge will real multi-bounce global illumination. Does your game have GI?

  • PanTheMan16

    @12, That trophy eluded me because there was one level that I shot someone but I couldn’t remember which and didn’t want to replay them after getting through the rest of the game. That end-ish level where you make your way down the stairs with all the SWAT coming at you.. one of my least enjoyable moments ever, since I wasn’t shooting back.
    I’d love a sequel, but not a remake. And would rather have it current-gen than wait 7 years to play it next-gen.

  • GWFusions1994

    @11 you do realize that the footage you posted was when the game was still in early stages , they obviously would have update all the ai , animations and everything

  • TheJunkShot

    @11 I love how people have no lives and probably sat down watching a 15 minute clip for hours on end trying to pick out little details to ***** about. Guess it’s everywhere you go to read about games, spoiled brats who can’t except the games cannot be 100% what they want. How about you make your own game and get back to us, sounds like you have the time to do it.

    Thanks for the interesting writing Tymon, been following this game for a long time now. Definitely my most anticipated game since I got my ps4. I appreciate you and Techlands hard work and time spent and I know fans will love it.

  • spacemonkeyham

    Love platforming and melee. Might be my first next-gen day one buy.

  • sheikhsaif6333

    I preordered this game, i have high hopes for this one and a feeling that this would be IT. ugh 2 more months to go.

  • Lord_SpringWind

    i’ve ask santa this year to bring me a game that is totally complete…{major bugs..broken,ect…}
    been waiting for this game!!! this will be the only game im play with my ps4!!!!!
    so,i hope u take ur time and make this game clean n mean b4 u release it….

  • I still can’t figure out how to link my account to the Dying Light website to get access to the aweapon Dockets due to pre-ordering the game.

Please enter your date of birth.