Hot Red News

Gaming Artificial Intelligence

Lots of modern games have built-in artificial intelligence (AI). Today we will tell you more about the possibilities of machine learning,about various types of artificial intelligence and show with real examples the mechanisms of their work. WHAT IS ARTIFICIAL INTELLIGENCE? The essence of gaming artificial intelligence is that a certain object of the game must act on the basis of the conditions and circumstances in which it is located. This object (it can be either a single game character, or an abstract game object, as well as a whole group of objects) is usually called "anagent". All actions of agents are divided into three stages: - to feel (i.e., collect information about the environment, and identify factors that may affect the execution of an action); - to think (i.e. adequately assess the situation and plan actions in accordance with the conditions); - to act (i.e. implement the developed plan). Then the circle repeats, because after the agent’s actions the conditions change. GAMING AI FEATURES - Agents must act as realistically as possible so that players feel like they are playing with real people. - Agents must make plausible decisions, not ideal ones. - Gaming artificial intelligence should work in real time, without loading the processor for a long time to make decisions. The types of game artificial intelligence directly depend on the complexity of the gameitself, its conditions and plot. Basic decision making Imagine a Pong game in which you need to move the platform so that the ball bounces off of it. This is the simplest possible plot. It is enough for artificial intelligence to analyze the direction of the ball’s flight and, based on the information received, move the platform to the right or left, or do nothing with it if it is located correctly. If you write these conditions in the form of code, you would get the following: every frame / update while the game is running: if the ball is to the left of the paddle: move paddle left else if the ball is to the right of the paddle: move paddle right The same example can be illustrated using a decision tree or a flowchart. Drawing up a decision tree allows you to accurately and simply describe the game in such a way that it is clear to both the game designer and the average user. Making difficult decisions When there are too many conditions, and it is difficult to fit them into the decision tree, developers use more complex approaches to the organization of AI behavior. One approach is the behavior tree. To make it clearer, we give an example. The abstract game has NPC guards. Being in different states, these agents behave differently. - Attacking: if the guard sees the enemy, he attacks. - Patrol: if the guard no longer sees the enemy, he patrols a certain territory. - Runaway: if the guard attacks, but is injured, he runs away. This character may also have several more conditions. - Inaction: when there are no enemies nearby and there is no need to patrol the territory. - Search: when an already noticed enemy has disappeared from the field of view. - Request for help: when the noticed enemy is too strong to fight with him alone. Thus, the behavior tree will look like a decision tree, but with a lot of variations of one action. Also, all nodes of this behavior tree or flowchart in the process of creating a game can be tied to a specific time. For example, if within 10 seconds the state of the guard does not change from the position of the patrol, then the character goes into a state of inaction.

more

Google Digital Addiction Apps

Currently, Google is actively researching various methods to restrict the use of mobile devices to improve the physical and mental health of users. The company published a PDF file describing techniques for creating digital well-being tools for novice developers. Google also presented materials from the Digital Wellbeing Experiment on GitHub. To clearly demonstrate the work of these tricks, Google published its own applications. 1. POST BOX An application that allows users to set the time at which notifications will be sent. 2. WE FLIP An application for group use, which allows the company to forget about mobile devices and spend time together. 3. DESERT ISLAND This application offers to limit the set of applications used, highlight the most important ones and stick to work with them all day. 4. MORPH The application is very similar to the previous one, but here you can create sets of applications for various purposes. For example, for the "Work" mode, you can include applications such as Slack, Dropbox, Google Drive, etc. in the set, and for the "Sport" mode, include applications for jogging and sports in the set. Moreover, each mode can be automatically activated depending on the user's location. 5. UNLOCK CLOCK The counter, which is located on the main screen of the phone as wallpaper, and shows how many times a day you unlocked the phone.

more

Sony PSVR 2 development news

Recently, Sony got a patent for a new device, which the company plans to release in 2020. Judging by the images of the patent, the second version of the VR-headset in appearance will not differ much from its predecessor, but a lot of people were interested in cameras. Two cameras are installed on the front of the device, another is located on the back of the VR-helmet. The patent also contains an image of the controller, which is also equipped with a camera. Prior to this, all VR headsets used data from only one type of camera: headset cameras, or external cameras installed on base stations. For example, the Oculus Rift S and Oculus Quest VR headsets use only cameras mounted on the VR-helmet, and the Valve Index analyzes the player’s actionsand external environment, using cameras installed on the base station. It is not yet clear whether PSVR 2 will use images from both cameras, or is this just a preliminary version and the developers will leave only one tracking system. Sony also equipped controllers with cameras for the first time. We can assume that this unique solution will help the device work correctly even when the user rotates 360 degrees. What other unique features will the new VR headset have? We will find out very soon.

more

Interesting blogs about game development

Do you like game development as much as we do? Do you want to keep up to date with the latest news and know about the latest products and technologies? Then, especially for you, we have prepared a small list of interesting blogs in which you will find all the most useful and relevant information about game development. 1) GAMEDEV.NET A social platform with various articles on all aspects of game development. Content is divided into categories, which greatly simplifies the search for the necessary information. 2) GAME FROM SCRATCH On this blog you can find a lot of useful game development materials, from textbooks to various design and programming tools. Now on the site, in addition to the usual text articles, there are a lot of videos. 3) MAKING GAMES The site of the print magazine, which is published throughout central Europe and designed specifically for professional video game developers. The site publishes the latest articles related to game development, as well as market research and analysis in this area. 4) GAMEANALITICS One of the most powerful tools used by thousands of developers around the world. This resource provides an opportunity to understand and analyze the actions of players, and improve the product in accordance with these information. 5) REDDIT / GAMEDEV Here you will find various materials and discussions not only on programming and game development, but also in other areas.

more

LS Garage

Do you want to experiment with the design of your car, but you are afraid to ruin it? Practice on virtual models! Soon, you can create your own unique car design by simply downloading the app developed by Red Rift, Inc. LS Garage - a multiplayer car tuning simulator. Here you can not only create a unique car design, but also compete with other users by participating in shows. And if your design is recognized as the coolest, you will get coins and crystals, and will be able to buy trendy details or even pick up a new car! The game is developed on one of the best game engines - Unity 3D, and our developers use Microsoft Visual Studio to write LS Garage code. Microsoft Visual Studio is a code editor that includes an IDE and other development tools. One of the benefits of Visual Studio is the ability to create and connect third-party plugins to extend the overall functionality. At the moment, the project is under active development, but we can already share with you the first frames of the game. The release of LS Garage is planned soon. Follow the news!

more

What languages are better to translate the game into?

During the publication of the game on the Internet, the question arises of its localization. Just a couple of clicks is enough to release a game in several countries, but will users want to install an application created in a foreign language? Everything is clear with simple logic games: here you don’t need a deep knowledge of a foreign language, but what about role-playing games in which there is a plot and many characters? Typically, developers translate the game into English, it’s considered international. But there are several other markets in the gaming industry whose users don’t speak English. What languages are the best to translate the game into? Is it possible to translate the game on your own or is it better to use the professional help of translators? What services exist for translating a game into a foreign language? Let's figure it out together. First, some statistics. The first place among the language markets in the gaming field is Chinese simplified language. Not only because the population of China is the largest in the world, but also because gamers in China are willing to pay for the purchase of the application. Therefore, the Chinese language is one of the priority languages for translating the game, but it is also one of the most difficult in the world. Moreover, there is no Google play in China or its analogue, so it’s rather difficult to publish the game in this country. The second place is occupied by English. It is spoken by residents of many large countries: Australia, Canada, India, Ireland, Kenya, New Zealand, Nigeria, Philippines, Singapore, South Africa, Great Britain and the USA. The third place is occupied by the language of the country of innovation and new technologies - the Japanese language. But only Japanese people speak this language, in other countries this language is unpopular. Next come Spanish, Korean, Chinese Traditional, Hindi and French, followed by Russian and German. The standard set of languages in the game includes the main European languages: English, French, Italian, German, Spanish, as well as the main Asian languages: Chinese, Korean and Japanese. So, if you are not ready to experiment and publish the game, for example, in Africa or India, then you can use the standard set of languages. The game can be translated by your own if you are fluent in a foreign language. However, don’t forget that simply translating the game is not enough; you should also take into account the cultural characteristics of the target audience and the mentality of the country's inhabitants. To avoid incidents during the translation, you can use the services of professional translators. The most popular services for localizing games, applications, web pages and other products of development companies are: • PhraseApp • Lokalise • OneSky • Smartling • POEditor. All of them are paid, but each service has its advantages. Among them are integration with corporate programs (Slack, GitHub, etc.), experience with the largest companies (Bosch, Ubisoft, IKEA, Volvo, Nike, etc.), corporate use opportunities, and many others.

more