Using a multilayer neural network to bypass obstacles in games

Using a multilayer neural network to bypass obstacles in gamesFinding ways to bypass obstacles in games is a classic task that all developers of computer games have to face. There are a number of widely known algorithms of varying degrees of efficiency. All of them to some extent analyze the mutual arrangement of the obstacle and the player, and the result is a decision to move. I tried to use the trained neural network to solve the problem of avoiding obstacles. I want to share my experience of implementing this approach in the Unity3D environment in this short article.
 

The concept of


 
As a game space, a terrain based on the standard Terrain is used...[/h]
+ 0 -

Multiagent systems in the construction of virtual spaces

One of the critical problems that arise when building multi-user systems is scaling. There are various solutions to this problem: shadding, service model, Entity-Component System. Today, we will consider all options, and also discuss a practical case of resolving the issue. Join now!
 
 
Multiagent systems in the construction of virtual spaces
 
 
Part 1.
 
Part 2.
 
 
I give the floor to the authors.
 
 

Traditional approaches to building multi-user systems. Service architecture


 
Historically, the first method of solving the problem of scaling was shading - the separation of the entire system into a number of servers on some ...[/h]
+ 0 -

Using Unity3D in a native iOS /Android application for modeling the lighting of open spaces

Using Unity3D in a native iOS /Android application for modeling the lighting of open spaces
 
 
Unity3D is a well-known platform for developing 3D and 2D games, which has gained popularity all over the world. At the same time, its capabilities are not limited to the development of only gaming applications, but are suitable for use in any other areas that require the creation of cross-platform applications for working with graphics. In this article, we will talk about the experience of using Unity3D to develop a system for calculating the lighting of open spaces.
 
BL Group . In order to increase the attractiveness of its products and simplify the interaction with customers, it was ...
+ 0 -

"In all serious 3" - Put a cross over Dark Forester

"In all serious 3" - Put a cross over Dark Forester
 
"In all serious" or harsh realities of indie development of Dark Forester
 
"In all serious 2", Dark Forester - a game at a distance of a small plus
 
«Never back down»
 
The year was replaced by the year, but the game did not come out.
 
For the first ten years of my childhood, how much I could remember myself, I wanted to become a football player, I woke up with the ball from the company "Select" and I played 10 years of my life in football, 2 years of them on a professional level. Four times in the interval from 8 to 14 years I tried to pass the selection in Moscow Spartak. And three times ...
+ 0 -

Unity3D: how do you know the degree of illumination of a scene point?

Unity3D: how do you know the degree of illumination of a scene point?Greetings!
 
 
I know, and you at heart know what your card games or "three in a row" games do not suffice. Stealth systems!
 
 
And of course, any self-respecting system of secrecy should be able to take into account the illumination of the environment around the player. I was amazed, having unearthed the topic and discovered an anomalously small amount of information. So I hasten to share the fruits.
 
 
Today we will not develop a full-fledged stealth system for the player, let's consider purely interaction with lighting.
 
 

Method 1: Colliders


 
A simple and not particularly resource-intensive ...[/h]
+ 0 -

The algorithm for finding the path A * in the voxel 3d game on Unity

Introduction
 
When developing my game, I got to the point of creating the first NPCs. And there was a question how to force the NPC to bypass the wall and not "go into it."
 
Having surfed the Internet I found such algorithms:
 
 
Search in width (BFS, Breadth-First Search)
 
The Dijkstra algorithm is
 
A Star "A with an asterisk"
 
Search for the first best match (Best-First Search)
 
IDA
(A
with an iterative depression)
 
Jump Point Search
 
 
And I decided to try to implement my A * on a voxel 3d grid.
 
The algorithm for finding the path A * in the voxel 3d game on Unity https://tproger.ru/articles/pathfindings/
 
...
+ 0 -

The generator of random two-dimensional caves

Foreword


 
If you are also are lazy take care of your time, making a level for your game, then you have got where you need.
 
 
This article will tell you in detail how you can use one of the sets of other methods of generation based on the example of mountainous terrain and caves. We will consider the algorithm Aldosa-Broder and how to make the generated cave more beautiful.
 
 
After reading the article you should get something like this:
 
 
The result is [/b]
The generator of random two-dimensional caves
 
...[/h]
+ 0 -

As we wrote the network code of the mobile PvP shooter: synchronization of the player on the client

In one of the previous articles, we conducted an overview of the technologies that are used on our new project - a fast paced shooter for mobile devices. Now I want to share how the client part of the network code of the future game is arranged, what difficulties we encountered and how they solved them.
 
 
As we wrote the network code of the mobile PvP shooter: synchronization of the player on the client  
here .
 
Lockstep .
 
Synchronization of the state of the world without deterministic logic with prediction for the local player.
 
Synchronization by intuition with fully deterministic logic and ...
+ 0 -

My history of creating a motivational application (iOS and Android) for a daughter with a daughter on Unity and C #

My history of creating a motivational application (iOS and Android) for a daughter with a daughter on Unity and C #
 
This is the first part of the story (mixed with the story of my mistakes and solutions) about how I (somewhere two years in my spare time) developed a mobile application for iOS and Android that would motivate my daughter to solve math examples so that she has reached the automatism in the basics of arithmetic (a number 10 warehouse or a multiplication table). As a result, an application has been obtained that allows the child to earn money with his mind.
 
I used Unity engine and C # language, as well as an additional set of software like mandatory Photohsop or Audacity (for creating sounds).
 
[h3] ...[/h]
+ 0 -

Unity3D: game architecture, ScriptableObjects, singletons

Today we will talk about how to store, receive and transfer data inside the game. About a wonderful thing called ScriptableObject, and why it's wonderful. We will slightly mention the benefits of singletons in organizing scenes and transitions between them.
 
 
This article describes a part of the long and painful way of game development, the various approaches used in the process. Most likely, there will be a lot of useful information for beginners and nothing new for "veterans".
 
 

Links between scripts and objects


 
The first question facing a novice developer is how to link all the written ...[/h]
+ 0 -