Getting Started With Amazon Lumberyard

I’ve been playing around with Amazon Lumberyard for a while now. I installed it when they announced it back in February. But I had issues getting the editor to run with decent fps. They were an important presence at GDC 2016 as well. I talked to one of the developers recently and they helped me configure the game engine for better framerate. I finally get to play around with it.

I’ve been following the Introduction documentation and things are very well explained. There are few hierarchical issues that came up while going through different parts of the editor. Other than that, its been a smooth sail.

About an hour into the documentation, I’ve already setup the classic Lumberyard voxel like setting for a township.

Untitled.png

I’ve also got the robot guy (third person camera) running around the city.

2.png

Advertisements

Interesting Marketing Techniques of Video Games

I’ve been learning about marketing and the business aspects of game development in my Game Design class. Coincidentally I saw a tweet that made me think about this a little more. AAA games are being developed for 20-40 million dollars. Then there’s another 10 million odd dollars they spend on marketing. Having ads before the Star Wars movie to having front isle display pieces and kiosks.

tumblr_o0x9xwjjkj1qzk2upo2_1280

Marketing can be done in different forms.

Ad Campaigns:

The most recent one I saw was Uncharted 4’s campaign before the Star Wars movie. It was this heartwarming story-like ad which talked about the emotions of the characters and how the game has evolved to what it is today. It was an impressive ad but ofcourse was in CG. It was the perfect time slot for a game that massive. It captured the right audience to a good extent as well.

In-game Ads:

The typical model chosen by most mobile developers is to have ads in their game. InMobi has introduced this new feature wherein you can actually play the game while the ad pops up. The ad loads a level in the game and it helps the guest understand the most fun part of the game. Its like a mini-game inside a game.

tile01-1_playablepg

Amazon:

This is the reason why I started writing about this. I came across this marketing channel recently from Neil Druckmann’s tweet. It is possible to tie up with Amazon and have packaging boxes with the game’s branding on it. I thought this was quite an interesting take on marketing. I was reading up on this and I noticed even Call of Duty did it about 4 years back. They also have a unique URL to the game on Amazon. I feel this is a powerful way of marketing the game. In a country where there are a ton of packaging boxes being used a day, this approach helps reach the audience that might not be hooked onto IGN or GameSpot.

call-of-duty-amazon-packaging

Naughty Dog is doing the same with Uncharted. Here’s the packaging for the same:

cgr7exluaaakqqd

Here’s the tweet I was talking about:

https://twitter.com/Neil_Druckmann?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor

States in Shadow of Mordor

Isn’t is cool that a game can exist in different forms or states across guests but at the end of the day its the same game. Shadow of Mordor is an action-adventure video game created by Monolith Productions, more importantly the makers of Captain Claw. I would probably write about Captain Claw later as it was one of my favourite games growing up.

maxresdefault

Shadow of Mordor came out with their new Nemesis System wherein the enemies around us come ‘alive’ in the most realistic way possible. Mordor is an open-world game and our protagonist encounters enemies in the form of Uruks spread across the world. Like other games, these Uruks get suspicious of you, chase you around and even attach you. But the best part about them is that, incase they kill you during a battle, they directly enter the Nemesis System hierarchy. They enter the ranks of Sauron’s army directly. If we’re defeated again, they start to grow in ranks.

middle-earth_shadow_of_mordor_nemesis_system

There is almost a parallel story to these Captains in the ranks. They often have fights between themselves, they overthrow others above and below them and there’s always new Uruks that join the ranks from time to time. The eco-system of these Uruks are maintained seemlessly throughout the game. This is different for each guest as the hierarchy can be completely different even if two of them are at the same point in the game’s storyline.

shadow-of-mordor-33

Also, incase guests encounter battles with these Uruks and the Uruks survive or flee, they bear scares and injuries from their battle with the guest. They also remember how the guest fought during their previous encounter and also talks about it before the fight begins. This is such an interesting mechanic to have as its so powerful in storytelling. Revisiting someone from the past and them having memories from that encounter is a great experience for the guest.

mordornemesis

The knowledge of the Uruks can be used by the player by dominating them and collecting intelligence which could be used to build strategies or to have insights into war chiefs higher up in the hierarchy.Thus the whole game world is build on state transitions and intentional emergences providing the interactor with a more real world experience.

I have never seen such a state being saved throughout the game and how it affects the entire play-through of the game.

Breakdown of Eagle Flight by Ubisoft

Last week, I was fortunate to attend the Game Developers Conference (GDC) at San Francisco. I was excited to be part of the event and to check out all the latest advancements and talks in the game development community. Another major attraction towards the event was ofcourse VRDC. This time, GDC had a dedicated mini-conference for virtual reality. This was not even a summit. It was much more than that. They actually had to shift the venue to a larger space to accommodate for the large number of people who were attending that event. There were a lot of interesting virtual reality experiences.

img_0308-1080x675

One of them that caught my attention was the Eagle Flight game by Ubisoft for the Oculus Rift. During our research and development for Sony PlayStation, I tried out many games for virtual reality, but this game gave me a higher sense of immersion compared to many others despite being grounded to a chair. The game comprised of a 2 vs 2 capture the flag setting over the network. Guests were not falling sick despite being a fast-paced game. The game had a black vignette effect around the periphery of the eyes which dynamically changed as you tilted your head to change direction of the eagle. This was interesting as it blocked out the light to your eyes from that direction. But this effect was not viewable while wearing the headset. The only way I noticed this was by observing others play the demo. Research proves that motion is most perceived using the corner of our eyes.

eagle-flight-ann-init

Also, the game implemented a subtle motion blur which always directed the guest’s eyes to the center of the screen. The game also has a beak as a point of reference as though the guest is being railroaded in virtual reality. The game being fast paced, got me slightly sick, not during the fast-paced chasing sequences but when I got out of such situations which was surprising to me as I always avoided fast paced sequences during the prototyping phase for our projects. I noticed a lot of guests including myself, weaving their way through the buildings, either chasing or being chased by their opponents. It was interesting to see that none of them were actually falling sick in the experience.

Also, Ubisoft made sure everyone spent enough time in the virtual world, in the single player game before jumping into the multiplayer version of the game. This ensured guests were comfortable with the game before jumping into a multiplayer showdown with other people.

In short, the game is quite well made for virtual reality and Ubisoft has given more emphasis on the head-based tracking rather than mapping out a bunch of controls to a controller.

eagle-flight-676x380

 

 

 

 

 

Model Loader in Java

I recently wrote a simple model loader in Java which is what this blog post is going to be about. I started off researching on the most easiest filetype to approach this issue. My first idea was to go ahead with FBX but I found out that FBX comes either in ASCII (easier to work with) and also in a binary format which is a proprietary of Autodesk. So I decided to work with OBJ files which were easier to parse and handle. In the future, I plan to extend this loader to incorporate other filetypes like COLLADA.

I started off by looking at an OBJ file I downloaded off the internet for free. The model I worked with was a T-Rex. An OBJ file mainly consists of three parts: vertices, faces and normals.

Vertices are points in 3D space. This means is has a position in space which is represented using x, y and z. Here is a snippet of the vertices that came with the T-Rex model:

v -39.437401 11.184499 6.216902

Here, the vertex has values x = -39.437401, y = 11.184499 and z = 6.216902

Normals are used by your 3D application to determine the direction that light will bounce off of geometry. This is very helpful to get control over how the light reacts to certain materials on your 3D objects.

The line connecting different vertices are edges. A face is formed from edges. So closed edges together form a face. Faces are important as shading material are applied on them to create a better looking model. The model I load does not incorporate shading just yet. It only has a mesh of the model being rendered.

f 53/90 52/91 81/92 66/93

Faces are prefixed with ‘f’ and have two parts. It has a vector that is related it to it and also a normal. The first half in each set (53,52,81,66) are the vertices and the second half are the normals. This constitutes a face.

Once we have these three values, we’re set to load the model. I used LWJGL (which is a library that uses OpenGL) to load the model to the screen.

Screen Shot 2016-02-22 at 00.17.29.pngScreen Shot 2016-02-22 at 01.00.04.png

Co-op in single player games

Back in the days, co-op was always on split screen. I’m reminded on Need For Speed 2 where I used to race with my friends taking over Proving Grounds. For the longest time, split-screen was the most logic and direct approach to single couch, co-op.

hqdefault

But then in the middle of it all, Sony came up with this mind-blowing technology of 3D TVs that would spit out two different displays for two separate headsets. The day they announced it, I was super excited to see where the technology was going to take us as it was plausible to refresh between two different views and have the glasses only pick up one. I could never get my hands on one and by the looks of things I do not think that technology went too far either.

18j1zgazbv2lgjpg

And now recently I played the game Bothers – A Tale of Two Sons and I just fell in love with the game. I’m not going to talk about the game and how beautiful the game design is, but rather their approach to how they’ve taken a game and implemented both single player and multiplayer elements which can be switched out any time the guests feel like. If my friend was to take a bathroom break, I could continue playing the game without having to wait for him. Also, the game can be played alone as well. The game has different challenges when played as single player and multiplayer.

2497667-screenshot2013-06-12at9-01-34pm

So the game works like this. You have two brothers, controlled by the two analog sticks of the controller. The brothers are controller separately and L2 and R2 is the only other key you need to use for the two brothers. Its a puzzle solving game, wherein the puzzles require interaction from both the characters and also needs to be in sync. They have also made use of the two buttons as a push and release mechanic to avoid using other keys. So if you’re grabbing a ledge by holding onto the button, directing it to another foothold and releasing the button would make the character jump towards that position. This mechanic was interesting and to build a game around just one button was fascinating.

r9nulqo0zxawom2u8vxc

The environment was also beautifully and meticulously planned out and even though the game an almost flat interest curve without a lot of twists and turns during the game, it does end in a non-traditional sense of video game storytelling which the developers have ceased quite well and have used that in their favor. All in all, it was a great game to experience and play.

First Global Game Jam

I participated in my first Global Game Jam last weekend. Come to think of it, this was my first hackathon event I was a part of and I wasn’t sure what to expect from it. The event took place in 48 hours and we had to deliver a game within that time frame. So in this post, I would like to go through the thought-process of how the game came to be. Game Jams usually have prompts each year and this year the prompt was ‘Rituals’.

Once we had our prompt in place, we started brain-storming as a team to figure out how we could build a fun game around it. From the beginning, we did not want to do a regular game. We wanted to go out of the box like how everybody wants to when it comes to any event. This is us brain-storming ideas:

Prototyping

The Toy

We discussed about various rituals in different countries, went on to discussing about satanic rituals (the obvious choice), funny rituals, scary rituals and down right disgusting ones. The most interesting thing about such events is that brainstorming happens under an hour as time is of the essence. Slowly, everybody started to branch out into their own ideas and suddenly we were struck with this idea of the tooth-fairy legend – about how the tooth fairy picks up teeth that has fallen off and inturn leaves money under the pillow. We were working on a storyline for that when we came up with the ritual of having a Thanksgiving turkey. Everybody loved the idea!

Mechanic

We started iterating on that. Once the toy was decided, we moved onto the mechanic of the game. Being a fun event, we decided the game should be multiplayer. Soon we decided the turkey should be controlled by two people. We decided to use two controllers to move the turkey in space and escape from humans. One guest would control the right wings/feet of the turkey and the other guest would control the left. If someone moved only to the left, the turkey would spin around in that direction and vice versa.

The next challenge was to get the right camera angle to do the same. We discussed between first person and third person camera and finally settled on how the third person camera made more sense for this game as the guests had to see the humans chasing after them.

IMG_1210

Level Design

We soon broke off into groups and started working on all the requirements. In the mean time, couple of us worked out a level design for the game where the turkey would start the game in the dining room and had to work its way through the house to get to escape from the same.

Final Game

This was what came out of the 48 hours of development – Turkesh

screen_shot_2016-01-31_at_9-28-54_am2_223

Download Link – http://globalgamejam.org/2016/games/turkesh