Wednesday 31 January 2018

Lag Compensation Solutions for a True Real-Time Multiplayer Experience


Determining what information should be sent to the server with the purpose to replicate a true real-time multiplayer experience is the foremost step in the direction of designing effectual networking communications. Of course, there are many key facets to consider before a game developer actually gets there.


Here in this article, we will be discussing a few important topics that are important in Multiplayer Game Development. We will cover-
  1. How lag affects games?
  2. Why is it important to address lag?
  3. And a few lag compensation techniques

What is Lag Compensation?

Before actually moving to lag compensation, let’s understand a few basic concepts, which eventually will help in dealing with lag compensation issues:
  1. Round trip time or the RTT – As the name suggests, round trip time is the amount of time a packet of information takes to travel from client to server and back to the client. Here the processing times are not considered.
  2. Lag – Again, the name says it all. Lag is the time delay that occurs when the player sends the “action” and when he/she receives the “reaction” from the server. Here the action can be - jump, shoot, duck, etc. and the reaction from the server can be – avoid the hit, shoot the bullet, etc.
  3. Lag Compensation – The role of lag compensation is to minimize the discrepancy caused by the lag in the response time and offer uninterrupted gameplay. Depending on the type of game, this technique can be applied either at the server level or at the client level.
These were a few basic definitions; however, it is important to understand both client-side lag compensation and server-side lag compensation if you want to learn Multiplayer Game Development at its best. Let’s explore each of them one by one –

Client-side lag compensation

With the aim to solve lag issues from the client, the developer could work by means of an interpolation system for setting the game characters. The approach aims at delivering simulation from the clients, which is a few steps behind what is received from the server. For example – When a server sends data, like – the position of an enemy – the client simulation won’t be updated instantaneously, but it counterbalances seeing the lags from other clients.

This can even be extrapolated in a manner that – the client envisages the next possible position of the character and correspondingly revises the position when the updated data is received from the server. This also means that the client presumes that if a character is moving in a specific direction, the same will keep moving in that particular direction.

Server-side lag compensation

The client-side lag compensation solutions cover a very limited number of situations and for many developers, these solutions do not work for most of their multiplayer gameplay experiences. For such situations, server alternatives are some better options that aim at achieving better lag compensation. However, just keep in mind that these solutions can lead to complications as well.

There are three ways of compensating lag from the server-side-
  1. Deterministic simulation – This solution aim at handling all the simulation in the server, based on the inputs client send to the server. This way similar lag is experienced on all the clients, thus reducing the compensation issues. The negative aspect of this approach is that it affects the player’s interaction with the game, resulting in slowing down the player’s perception of the response time. Reason being – the user sends the input, the server receives the data, sends back a response – this wastes time, causing lag. Quite evident to the player.
  2. Reliable protocols – Another approach is to use a reliable protocol, like TCP – which ensure reliable and correct ordered data packet delivery. This ensures simple and quick processing both on the client side and on the server side. For more advanced networking, one can even opt for sophisticated, custom game protocol with lighter encapsulation for reducing the inherent overhead bracketed with TCP.
  3. Send all simulation state – In this very solution, the total game state is shared. However, it should be ensured that only one client is allowed to modify the game-state at any given point, that the state is atomic in operations. Doing this will ensure that both client (or even clients) and the server will have the latest game versions at all times and hence can perform actions accordingly.
This was all for this article, for more information on the topic and where to learn Multiplayer Game Development, 

Role and Types Of Advertising In The Video Game Industry


Advertising has a major role to play both in the success and failure of a product in the gaming industry. Yes, nothing new, it is common to every field, every industry and to every product. Thus, video games should be taken as any other product and need to be advertised in a manner that the potential consumers know exactly what the product is before they actually decide upon buying that product, which here is a video game.


In recent years, even the video game industry has realized the importance of advertising and start relying all the more vigorously oan it for growth. Also, with buyers becoming more alert and connected and the world of gaming encountering rapid technological upgrades, the video game publishers will just keep on harnessing the potential of advertising.

The advertising market for video games, however still in its early stage, has become gigantic over the past decade. This growth in the market is creating some crucial job opportunities for the advertising experts with expertise in the video game industry. For anyone who wants to make a career in video game advertising, must enroll for an advertising course that incorporates teaching various parts of a brand’s marketing system.

Now let’s see what is the current scenario for advertising in the video game industry-

Interstitial ads


These are full screen advertisements that cover the interface of their host application. These advertisements are normally displayed at natural transition points in the flow of an application. A few examples here include- between activities or during a pause between different game levels. These advertisements give users the choice to either view the advertisement or close it and return to their host application. The direct call to action and the full screen size are some of the attributes that make these types of advertisements one of the most effective ways of video game promotions.

Reward-based ads


Also called by the name ‘Incentivized Advertising’, the name says it all. The Reward based advertising offer its player an in-game currency. This type of ads market has grown substantially, owing to the popularity of smart-phones and in-app purchases. The advertisements shown here are either game-based or random and not customized to the player’s preferences. Also, keep in mind that these types of ads work in particular set-ups, where the reward or the incentive is sufficiently great for the gamer to need to make a purchase.

Native Ads


Native advertising is the latest trends in the video game industry, the types have reaped a lot of attention after these have been utilized as a part of US presidential campaigns in the year 2008 and 2012. Coming back to video game industry, native advertising is as useful as these are for other industries, as it offers the players with a real-life experience, which eventually make them more connected to the game. This connection between the gamer and the game lead to improved sales and hence the motive of the advertisement is achieved.

All the advertising types mentioned above reflect the fact that the traditional advertising model has grown from a ‘one-size-fits-all’ methodology to a more personalized and engaging one. Video games are no longer seen as the product for youngsters and young adults alone, in fact, the latest studies show that the average gamer today is 35 years old. Moreover, it’s not the men who dominate this gaming zone, there is a significant increase in the number of female players and this increase is growing and will grow over the next few years.

To put it plainly, the gaming industry has become a mainstream medium for entertainment, mainly because of the creative ways by which they are being advertised to the world.