WEBVTT
Kind: captions
Language: en-ES

00:00:00.160 --> 00:00:04.800
I downloaded a screenshot of each game on Steam and used a neural network to build

00:00:04.800 --> 00:00:09.760
the Game Map, an overview where similar games are grouped together.

00:00:09.760 --> 00:00:13.680
Can we really learn anything from the appearance of the most successful games

00:00:13.680 --> 00:00:20.080
and how they are presented on the platform?  Not to keep you in suspense, it's not entirely clear.

00:00:20.080 --> 00:00:24.320
But I'll show you some interesting patterns, and you can decide for yourselves.  Let

00:00:24.320 --> 00:00:29.440
's begin with the method.  I extracted data from all Steam games directly from the source,

00:00:29.440 --> 00:00:36.560
through their APIs 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 page of the store.  Then I wrote a small script to download some of

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

00:00:48.160 --> 00:00:53.920
wide image that usually includes the game title and serves as the main visual identity on Steam).

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

00:00:59.440 --> 00:01:05.600
to low-resolution thumbnails for analysis.  There are so many pictures!  Running the following steps

00:01:05.600 --> 00:01:11.760
on all of them was not computationally feasible, so I reduced the dataset to just over 10,000 games.

00:01:11.760 --> 00:01:17.520
To keep it meaningful, I included all games with more than 3,000 reviews and a

00:01:17.520 --> 00:01:26.960
random 5% sample of the rest;  around 3,700 popular titles and 6,800 smaller ones, including shovelware.

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

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

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

00:01:41.680 --> 00:01:47.600
image datasets and has been shown to identify games from screenshots with high accuracy.

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

00:01:53.280 --> 00:01:58.640
called ImageNet-1K;  over a million images labeled 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
Models like this generate huge numerical vectors that describe each image.  In this case,

00:02:10.560 --> 00:02:18.240
more than 1500 values ​​capture different visual characteristics.  They are too many dimensions for

00:02:18.240 --> 00:02:25.267
humans to imagine.  So I used an algorithm called "Stochastic Embedding of Neighbors with T Distribution".

00:02:25.267 --> 00:02:31.760
We usually call it t-SNE for short and pretend to remember the meaning of the letters.  I used it

00:02:31.760 --> 00:02:36.960
to compress those high-dimensional results into just two dimensions, keeping similar images

00:02:36.960 --> 00:02:42.960
close together and different ones further apart.  Once I obtained those two-dimensional coordinates,

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

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

00:02:52.160 --> 00:02:54.800
Exploring the map is already quite fun,

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

00:03:00.000 --> 00:03:05.280
I will color the points with different game data extracted from Steam.  Note that

00:03:05.280 --> 00:03:11.360
the classification process never saw any of this metadata.  Therefore, if you observe groups appearing,

00:03:11.360 --> 00:03:17.120
those patterns are things that the model inferred entirely on its own, solely from the visual elements.

00:03:17.120 --> 00:03:23.520
For example, here are the games labeled as 3D;  And here, those labeled as 2D.  It seems

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

00:03:28.160 --> 00:03:32.880
can also observe specific genres.  Some were captured with good accuracy,

00:03:32.880 --> 00:03:38.880
such as racing games or visual novels.  Perhaps those images are too representative (for example,

00:03:38.880 --> 00:03:43.760
all racing games show a race 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 platform games or roguelikes, are

00:03:50.240 --> 00:03:56.080
not grouped so clearly.  Perhaps they simply don't have a unique and distinctive appearance.

00:03:56.640 --> 00:04:01.760
I'll share these charts so you can explore them yourself, but for now, here are some of the

00:04:01.760 --> 00:04:06.720
regions that caught my attention.  For example, there's a large group of action games,

00:04:06.720 --> 00:04:13.520
mostly shooters, on the left, and an area that I'll politely avoid in this video, up at the top.  The

00:04:13.520 --> 00:04:19.200
large central mass is harder to label, but it creates a smooth transition between nearby groups:

00:04:19.200 --> 00:04:26.640
alongside shooting games we find dystopian-looking titles, then science fiction roads, vehicles and spaceships, top-down

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

00:04:33.600 --> 00:04:37.440
Overall, the neural network generated a sensible design:

00:04:37.440 --> 00:04:44.160
the closest images are very similar, both in the elements of the scene and in the visual style.

00:04:44.160 --> 00:04:49.280
Without going into too much detail, we can also compare this to the header map.

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

00:04:54.560 --> 00:05:00.560
were clearly grouped together through screenshots, look much more diverse here, such as horror games.

00:05:00.560 --> 00:05:06.720
Interestingly, the neural network also managed to distinguish 2D games from 3D games simply by their

00:05:06.720 --> 00:05:13.040
header images.  This suggests that these banners contain real information about gameplay.  This is the kind of

00:05:13.040 --> 00:05:19.120
information that's really useful;  The players could interpret it in the same way as the model.  It's

00:05:19.120 --> 00:05:23.440
also fascinating to observe 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 isolate from the rest.  What distinguishes them?

00:05:28.960 --> 00:05:34.720
Some are similar to games already known for their originality, especially in artistic style and graphics.

00:05:35.360 --> 00:05:40.160
Returning to the screenshots, let's start adding some numerical data;  Starting with the number

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

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

00:05:52.960 --> 00:05:58.720
large games are grouped on the left;  There is an area of ​​particularly high density.  And what do they have

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

00:06:07.120 --> 00:06:14.320
The label "Action" overlaps a lot here, but it's also widely used in other titles.  Tags such as "

00:06:14.320 --> 00:06:23.360
War", "FPS", "Military", "Tactical" and "Shooting" also fit well, although none

00:06:23.360 --> 00:06:30.400
uniquely defines the region.  Some games with atypically good reviews include "It Takes Two" and "Lethal Company".

00:06:31.440 --> 00:06:36.800
On the other hand, games with few reviews tend to appear further to the right of the graph.

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

00:06:42.880 --> 00:06:48.720
games perform the way they do.  Action-packed 3D titles are more likely to come

00:06:48.720 --> 00:06:54.160
from large AAA studios with bigger budgets and marketing power, leading to more sales

00:06:54.160 --> 00:06:59.280
and, therefore, more reviews.  Therefore, it is not the screenshots themselves that drive success,

00:06:59.280 --> 00:07:05.440
but the broader context they reflect.  Even so, it's fascinating that this type of information

00:07:05.440 --> 00:07:11.920
can be captured in a single frame of the game.  Now, what about public opinion, that is, the proportion of

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

00:07:16.880 --> 00:07:21.760
overall reception of the game?  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 solely from screenshots is not realistic, at least not with this method.

00:07:28.480 --> 00:07:33.600
By coloring the map by price, we see another clear correlation, similar to the one we found

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

00:07:39.760 --> 00:07:44.560
this does not mean that the images define the price.  There is probably a common factor between the two,

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

00:07:50.000 --> 00:07:55.040
, this suggests that players associate specific aesthetics with different

00:07:55.040 --> 00:08:00.240
price levels, as the pattern is easy to recognize.  From a practical point of view, it

00:08:00.240 --> 00:08:05.360
seems difficult to justify a high price if a game resembles those with a lower budget

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

00:08:12.080 --> 00:08:17.280
This left-to-right, expensive-to-cheap trend appears even in the smallest groups, not just

00:08:17.280 --> 00:08:23.120
the main one.  Exploring these isolated groups helps to show how images communicate

00:08:23.120 --> 00:08:28.560
the value of the production and the importance of good art direction when creating promotional material.  It may seem

00:08:28.560 --> 00:08:34.320
trivial, but the data confirms that the images convey production quality and, by extension, price,

00:08:34.320 --> 00:08:39.760
something that both we and this model can perceive.  However, we shouldn't judge a book by its cover:

00:08:39.760 --> 00:08:46.400
we saw that opinions are very diverse, and even low-budget titles can have very positive reviews.  I

00:08:47.120 --> 00:08:53.120
also wanted to quickly point out that these same patterns are observed when looking at game headers.

00:08:53.120 --> 00:08:59.200
The neural network grouped the games by number of reviews and price in a similar way, and again failed

00:08:59.200 --> 00:09:05.040
to capture the opinion of the reviews.  I find it fascinating that these banners contain almost the

00:09:05.040 --> 00:09:09.920
same information as the actual screenshots from the game.  I suppose the developers are putting a lot of thought

00:09:09.920 --> 00:09:15.520
into what their header communicates.  So far, we've overlaid the map with

00:09:15.520 --> 00:09:22.240
Steam metadata, but the images themselves also offer ample room to explore.  I wrote code to

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

00:09:29.200 --> 00:09:33.920
turns out to be a very useful attribute for classification.  Overall, I think

00:09:33.920 --> 00:09:39.440
red tones predominate.  Some regions stand out for their characteristic colors:

00:09:39.440 --> 00:09:45.280
the lower area shows a lot of green, matching the numerous landscapes in that part of the map;

00:09:45.280 --> 00:09:52.080
Action titles tend towards an orange hue, with abundant explosions and fire;  And the

00:09:52.080 --> 00:09:58.720
upper region shows a lot of pink, often associated with anime and adult titles, where character art tends

00:09:58.720 --> 00:10:05.120
to focus on lighter skin tones.  Even so, there is a wide artistic diversity;

00:10:05.120 --> 00:10:10.880
The games use color in very different ways.  The brightness of the image is another

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

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

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

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

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

00:10:42.320 --> 00:10:49.280
group of well-reviewed titles we saw earlier, they fall roughly in the middle of the brightness range.

00:10:49.280 --> 00:10:53.280
We observe a similar pattern with saturation: the intensity of the color

00:10:53.280 --> 00:10:59.360
or its intensity.  Most games, but especially the big ones, fall into the mid-range.

00:10:59.360 --> 00:11:04.960
Highly saturated images tend to cluster on the right side of the map.  It's not perfectly clear,

00:11:04.960 --> 00:11:10.080
but it doesn't seem random either.  Remember that's where we find games with fewer reviews

00:11:10.080 --> 00:11:17.440
and lower prices.  Perhaps higher-budget titles prefer more realistic and less saturated images.

00:11:17.440 --> 00:11:21.200
So, in terms of design, there seem to be some clear conventions,

00:11:21.200 --> 00:11:25.920
especially within certain genres, but there is still plenty of room for artistic freedom.  I'll leave you to

00:11:25.920 --> 00:11:30.480
explore these ideas for the headline case on your own, along with some other

00:11:30.480 --> 00:11:35.440
interesting facts that I omitted from this video.  There is a link to the charts in the description.

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

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

00:11:46.880 --> 00:11:51.920
useful information.  Perhaps a similar script could help with aspects such as

00:11:51.920 --> 00:11:58.960
gender detection or automatic labeling based on visual cues.  Even so, in this exploratory context, it

00:11:58.960 --> 00:12:04.640
is difficult to draw general conclusions.  The Game Map is most valuable when used for specific questions.

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

00:12:11.040 --> 00:12:17.120
exploring both the groups and the exceptions.  The method has many limitations,

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

00:12:21.200 --> 00:12:24.960
and to generate new ways of thinking.  Developing the script also

00:12:24.960 --> 00:12:29.760
prompted me to study topics I wasn't very familiar with, such as neural networks.  If you want to

00:12:29.760 --> 00:12:34.240
delve deeper into this, I recommend the sponsor of this video: Brilliant.

00:12:34.240 --> 00:12:38.640
If you made it to the end, you're probably interested in these kinds of topics.

00:12:38.640 --> 00:12:42.400
Brilliant turns anyone into a scientist, with fun visuals,

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

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

00:12:52.000 --> 00:12:58.000
confidence to tackle more complex ideas.  The lessons are designed by true experts, and

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

00:13:04.800 --> 00:13:08.880
Personally, I find Brilliant super useful for keeping up to date and refreshing

00:13:08.880 --> 00:13:15.120
knowledge I've forgotten, but also as a friendly and comprehensive way to explore new topics.

00:13:15.120 --> 00:13:20.720
To learn for free at Brilliant, visit brilliant.org/NewbieIndieGameDev,

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

00:13:25.360 --> 00:13:30.000
offers our viewers a 20% discount on the annual Premium subscription, which gives you

00:13:30.000 --> 00:13:34.800
unlimited daily access to everything on Brilliant.  I'm sure you'll learn a lot.  I

00:13:34.800 --> 00:13:41.440
encourage you to try it.  Until next time!

