WEBVTT
Kind: captions
Language: en-RU

00:00:00.160 --> 00:00:04.800
I downloaded screenshots from every game on Steam and used a neural network to build a

00:00:04.800 --> 00:00:09.760
"Game Map" - a landscape where similar games are grouped together.

00:00:09.760 --> 00:00:13.680
Can you really learn anything from studying the look and feel of the most successful games

00:00:13.680 --> 00:00:20.080
and how they are presented on the platform?  I won't keep you in suspense, the answer is not entirely clear.

00:00:20.080 --> 00:00:24.320
But I will show you some interesting patterns, and you can draw your own conclusions.  I'll

00:00:24.320 --> 00:00:29.440
start with the method.  I got data for all Steam games directly from the source,

00:00:29.440 --> 00:00:36.560
through their API and a little web scraping.  This includes game tags, prices, reviews, and URLs of

00:00:36.560 --> 00:00:42.160
promotional images used on each store page.  I then wrote a small script to download some of

00:00:42.160 --> 00:00:48.160
these images.  I focused on the first image that appears in the gallery and the header (

00:00:48.160 --> 00:00:53.920
the wide image that typically includes the game's title and serves as the main visual element on Steam).

00:00:53.920 --> 00:00:59.440
In total, this gave me about 130,000 images of each type, which I reduced

00:00:59.440 --> 00:01:05.600
to low-resolution thumbnails for analysis.  That's a lot of images.  Performing the following steps

00:01:05.600 --> 00:01:11.760
for all games proved to be computationally impractical, so I narrowed the dataset to just over 10,000 games.

00:01:11.760 --> 00:01:17.520
To keep the results meaningful, I included every game with over 3,000 reviews, as well as a 5% random

00:01:17.520 --> 00:01:26.960
sample of the rest;  about 3700 popular games and 6800 less popular ones, including low-quality games.

00:01:26.960 --> 00:01:30.720
I then used a machine learning model called a neural network,

00:01:30.720 --> 00:01:36.560
specifically EfficientNet-B3, to process the images, treating screenshots and captions as

00:01:36.560 --> 00:01:41.680
two separate groups.  I chose this model because it works well on large

00:01:41.680 --> 00:01:47.600
image datasets and has shown high accuracy in identifying games from screenshots.

00:01:47.600 --> 00:01:53.280
Neural networks need data to learn patterns.  For training, I used the

00:01:53.280 --> 00:01:58.640
ImageNet-1K benchmark dataset;  over a million labeled images in a thousand categories,

00:01:58.640 --> 00:02:04.400
from animals and vehicles to everyday objects, just to give the model a broad visual base.

00:02:05.040 --> 00:02:10.560
Such models produce huge numerical vectors that describe each image.  In this case, there are

00:02:10.560 --> 00:02:18.240
more than 1500 values ​​reflecting various visual characteristics.  There are too many dimensions for us

00:02:18.240 --> 00:02:25.267
humans to imagine.  So I used an algorithm called T-distributed stochastic neighbor embedding.

00:02:25.267 --> 00:02:31.760
We usually call it t-SNE for short and pretend to remember what those letters mean.  I used it

00:02:31.760 --> 00:02:36.960
to compress these multidimensional results into just two dimensions, keeping similar images

00:02:36.960 --> 00:02:42.960
close together and different ones further away.  Having obtained these two-dimensional coordinates,

00:02:42.960 --> 00:02:48.560
I mapped each image as a point on a plane.  And here it is: a map of the game's visual elements,

00:02:48.560 --> 00:02:52.160
for both titles and screenshots.

00:02:52.160 --> 00:02:54.800
Exploring the map is fun enough on its own,

00:02:54.800 --> 00:03:00.000
but it gets even more interesting when we start adding metadata.  Throughout the video,

00:03:00.000 --> 00:03:05.280
I'll be coloring the dots using various pieces of game information I got from Steam.  Keep in mind that the

00:03:05.280 --> 00:03:11.360
classification pipeline never saw this metadata.  So if you notice clusters emerging,

00:03:11.360 --> 00:03:17.120
those patterns are what the model has inferred entirely on its own, based solely on the visual data.

00:03:17.120 --> 00:03:23.520
For example, here are the games that are labeled as 3D;  and here are the ones that are marked as 2D.  It looks like

00:03:23.520 --> 00:03:28.160
the model decided to place 3D on the left and 2D on the right.

00:03:28.160 --> 00:03:32.880
We can also look at specific genres.  Some were reproduced with good accuracy,

00:03:32.880 --> 00:03:38.880
such as racing games or visual novels.  Perhaps these images are too representative (e.g.

00:03:38.880 --> 00:03:43.760
every racing game shows a racing car), or perhaps they are simply easy to identify

00:03:43.760 --> 00:03:50.240
given the training data I used.  Other genres, such as platformers or roguelikes, are

00:03:50.240 --> 00:03:56.080
not grouped so clearly.  Perhaps they simply do not have a single, distinctive appearance.

00:03:56.640 --> 00:04:01.760
I'll share these charts for you to explore on your own, but for now, here are some

00:04:01.760 --> 00:04:06.720
areas that stood out to me.  For example, on the left is a large group of action games,

00:04:06.720 --> 00:04:13.520
mostly shooters, and at the top is an area that I will politely bypass in this video.  The large

00:04:13.520 --> 00:04:19.200
central mass is harder to pinpoint, but it forms a smooth transition between the adjacent groups:

00:04:19.200 --> 00:04:26.640
next to shooters, we find dystopian games, then roads, vehicles, and sci-fi spaceships, top-

00:04:26.640 --> 00:04:33.600
down role-playing games, 2D fighting games, 2D platformers, and finally puzzles.

00:04:33.600 --> 00:04:37.440
Overall, the neural network produced a reasonable arrangement:

00:04:37.440 --> 00:04:44.160
images located closer to each other are indeed similar, both in terms of scene elements and in visual style.

00:04:44.160 --> 00:04:49.280
Without going into details, we can compare this to a heading map.

00:04:49.280 --> 00:04:54.560
Some of the previous groups remain clearly defined, such as racing games.  But others,

00:04:54.560 --> 00:05:00.560
neatly grouped by screenshots, look much more diverse here, such as horror games.

00:05:00.560 --> 00:05:06.720
Interestingly, the neural network was also able to distinguish 2D games from 3D games based on the

00:05:06.720 --> 00:05:13.040
images in the titles alone.  This suggests that these banners contain real information about the gameplay.  This is the type of

00:05:13.040 --> 00:05:19.120
information that is truly useful, players can interpret it in the same way as the model.  It's

00:05:19.120 --> 00:05:23.440
also interesting to look at the small islands at the edges of the map,

00:05:23.440 --> 00:05:28.960
fragments of game art that the model decided to highlight from the rest.  What makes them noticeable?

00:05:28.960 --> 00:05:34.720
Some of them are in line with games already known for their originality, especially in their art style and graphics.

00:05:35.360 --> 00:05:40.160
Getting back to the screenshots, let's start adding some numerical data;  starting with the number of

00:05:40.160 --> 00:05:46.800
reviews each game receives, which is a good indicator of sales and overall popularity.

00:05:46.800 --> 00:05:52.960
To my surprise, there is a significant correlation between the number of screenshots and the number of reviews.  Most of the

00:05:52.960 --> 00:05:58.720
big games are concentrated on the left, and this area has a particularly high density.  What do they have in

00:05:58.720 --> 00:06:07.120
common?  They are full of action: weapons, running people, war scenes and lots of explosions.  The

00:06:07.120 --> 00:06:14.320
"Action" tag here overlaps heavily with other genres, but it's also widely used in other games.  Tags like

00:06:14.320 --> 00:06:23.360
"War," "Joker," "Military," "Tactical," and "Shooter" also work well, though none of them

00:06:23.360 --> 00:06:30.400
clearly define the region.  Highly rated games include It Takes Two and Lethal Company.

00:06:31.440 --> 00:06:36.800
On the other hand, games with low ratings tend to be located closer to the right side of the graph.

00:06:36.800 --> 00:06:42.880
However, correlation does not mean causation.  These images are not necessarily the reason for the

00:06:42.880 --> 00:06:48.720
games' success.  Most likely, dynamic 3D games are created by

00:06:48.720 --> 00:06:54.160
large AAA studios with big budgets and marketing capabilities, which leads to higher sales

00:06:54.160 --> 00:06:59.280
and, therefore, more reviews.  Thus, success is not due to the screenshots themselves,

00:06:59.280 --> 00:07:05.440
but to the broader context they reflect.  However, it is surprising that such information

00:07:05.440 --> 00:07:11.920
can be captured in a single frame of the game.  What about the mood of critics, the percentage of

00:07:11.920 --> 00:07:16.880
positive reviews each game received?  How do these screenshots relate to the overall perception of the game

00:07:16.880 --> 00:07:21.760
?  I didn't find much information here, but it's still interesting to note that

00:07:21.760 --> 00:07:28.480
predicting public opinion based on screenshots alone is unrealistic, at least not with this method.

00:07:28.480 --> 00:07:33.600
Coloring the map by price reveals another clear correlation, similar to what we found

00:07:33.600 --> 00:07:39.760
with the number of reviews.  We can roughly estimate the price of the game based on its first screenshot.  However,

00:07:39.760 --> 00:07:44.560
this does not mean that images determine the price.  There is likely a common factor behind both factors,

00:07:44.560 --> 00:07:49.360
such as certain genres implying both a typical price range and visual style.

00:07:50.000 --> 00:07:55.040
This suggests that players associate certain aesthetics with different price

00:07:55.040 --> 00:08:00.240
levels, as the pattern is easy to recognize.  From a practical standpoint,

00:08:00.240 --> 00:08:05.360
it's hard to justify a high price if the game looks like a lower-end title

00:08:05.360 --> 00:08:12.080
.  I would naturally describe many of them as low-budget, and the model captured that.

00:08:12.080 --> 00:08:17.280
This "left to right, expensive to cheap" trend is evident even in smaller clusters, not just the

00:08:17.280 --> 00:08:23.120
main ones.  Studying these isolated groups helps to show how visual elements convey

00:08:23.120 --> 00:08:28.560
production quality and the importance of strong art direction in creating advertising materials.  It may seem

00:08:28.560 --> 00:08:34.320
trivial, but the data confirms that visual elements convey manufacturing quality, and therefore price,

00:08:34.320 --> 00:08:39.760
which is something both we and this model can perceive.  But don't judge a book by its cover:

00:08:39.760 --> 00:08:46.400
we see that sentiments vary widely, and even low-budget games can have very positive reviews.

00:08:47.120 --> 00:08:53.120
I'd also like to quickly point out that the same patterns emerge when analyzing game titles.  The

00:08:53.120 --> 00:08:59.200
neural network grouped games by number of reviews and price in a similar manner and

00:08:59.200 --> 00:09:05.040
again failed to capture the sentiment in the reviews.  What amazes me is that these banners contain almost the

00:09:05.040 --> 00:09:09.920
same information as the actual screenshots from the game.  I assume the developers put a lot of thought into

00:09:09.920 --> 00:09:15.520
what exactly their title conveys.  So far we've been overlaying the map with

00:09:15.520 --> 00:09:22.240
Steam metadata, but the images themselves also provide rich material for exploration.  I wrote code to

00:09:22.240 --> 00:09:29.200
calculate several basic features at the pixel level.  Here is the predominant color in each image.

00:09:29.200 --> 00:09:33.920
It turns out that this is a pretty useful attribute for classification.  Overall,

00:09:33.920 --> 00:09:39.440
I think red tones predominate.  Some areas stand out with their characteristic colours: the

00:09:39.440 --> 00:09:45.280
lower area shows a lot of green, corresponding to the numerous landscape scenes in this part of the map;

00:09:45.280 --> 00:09:52.080
Action games are dominated by orange colors, with lots of explosions and fire;  and the top

00:09:52.080 --> 00:09:58.720
area features a lot of pink, often associated with anime and mature-rated games, where character designs tend

00:09:58.720 --> 00:10:05.120
to focus on lighter skin tones.  However, it is clear that there is a wide range of artistic diversity, with

00:10:05.120 --> 00:10:10.880
games using color in very different ways.  Image brightness is another interesting

00:10:10.880 --> 00:10:17.120
parameter.  The neural network clearly grouped games by this value, although it did not consider it as a primary

00:10:17.120 --> 00:10:23.760
factor.  If you look closely, the brightness appears to form smaller clusters within larger ones.

00:10:23.760 --> 00:10:28.720
For example, while the distinction between 3D and 2D dominates from left to right, luminance

00:10:28.720 --> 00:10:35.040
acts as a subdivision within these groups.  Some genres are visually defined by brightness:

00:10:35.040 --> 00:10:42.320
the two extremes are horror games and arcade games, dark and light respectively.  If we focus on the

00:10:42.320 --> 00:10:49.280
group of high-scoring games we saw earlier, we see that they fall roughly in the middle of the brightness range.  A

00:10:49.280 --> 00:10:53.280
similar pattern is observed with saturation: the intensity of a color,

00:10:53.280 --> 00:10:59.360
or how bright it appears.  Most games, especially larger titles, fall into the mid-range.

00:10:59.360 --> 00:11:04.960
Images with high saturation tend to be clustered on the right side of the map.  It's not entirely obvious,

00:11:04.960 --> 00:11:10.080
but it doesn't seem random either.  Let me remind you that this is where we found games with fewer reviews

00:11:10.080 --> 00:11:17.440
and lower prices.  Perhaps high-budget games prefer more realistic, less saturated graphics.

00:11:17.440 --> 00:11:21.200
So, from a design perspective, there seem to be clear conventions,

00:11:21.200 --> 00:11:25.920
especially in certain genres, but there is still a lot of room for artistic freedom.

00:11:25.920 --> 00:11:30.480
I'll let you explore these headline findings for yourself, as well as a few other

00:11:30.480 --> 00:11:35.440
interesting points I didn't mention in this video.  The link to the graphs is in the description.

00:11:35.440 --> 00:11:41.600
And if you want to go deeper, you can become a Patreon member and gain access to the entire project.

00:11:41.600 --> 00:11:46.880
This exercise showed that even a single frame of a low-resolution game can contain a lot of

00:11:46.880 --> 00:11:51.920
useful information.  Perhaps such a pipeline could help, for example, with

00:11:51.920 --> 00:11:58.960
genre detection or automatic tagging based on visual cues.  However, in this research context, it is

00:11:58.960 --> 00:12:04.640
difficult to draw general conclusions.  The game map seems most valuable when used to address specific issues.

00:12:04.640 --> 00:12:11.040
Developers could use it as a reference, a source of ideas, or simply inspiration for artistic design,

00:12:11.040 --> 00:12:17.120
studying both clusters and individual elements.  The method has many limitations,

00:12:17.120 --> 00:12:21.200
but that's okay.  The goal was to look at the data from a different, more visual perspective

00:12:21.200 --> 00:12:24.960
and stimulate new ways of thinking.  Building the pipeline also pushed

00:12:24.960 --> 00:12:29.760
me to explore topics I'm not very familiar with, such as neural networks.  If you want to

00:12:29.760 --> 00:12:34.240
go deeper into this, let me recommend the sponsor of this video: Brilliant.

00:12:34.240 --> 00:12:38.640
If you watched this far, you're probably interested in similar topics.

00:12:38.640 --> 00:12:42.400
Brilliant turns anyone into a scientist using not only fun visuals

00:12:42.400 --> 00:12:47.920
but also interactive problem solving.  Their computer science courses will help you build a

00:12:47.920 --> 00:12:52.000
solid foundation, even if you're just starting out, and develop the

00:12:52.000 --> 00:12:58.000
confidence you need to tackle more complex problems.  The lessons are designed by real experts and

00:12:58.000 --> 00:13:04.800
cover everything from algorithmic thinking to artificial intelligence and, yes, neural networks.

00:13:04.800 --> 00:13:08.880
Personally, I find Brilliant a very useful tool for maintaining knowledge and refreshing

00:13:08.880 --> 00:13:15.120
skills that I have forgotten, as well as a friendly and comprehensive way to learn new topics.

00:13:15.120 --> 00:13:20.720
To learn for free on Brilliant, go to brilliant.org/NewbieIndieGameDev,

00:13:20.720 --> 00:13:25.360
scan the QR code on the screen, or follow the link in the description.  Brilliant also

00:13:25.360 --> 00:13:30.000
gave our viewers a 20% discount on a yearly Premium subscription, which gives you unlimited

00:13:30.000 --> 00:13:34.800
daily access to all Brilliant content.  I'm sure you'll learn a lot.  I highly

00:13:34.800 --> 00:13:41.440
recommend you check it out.  See you next time.

