WEBVTT
Kind: captions
Language: en

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

00:00:04.800 --> 00:00:09.760
The Gaming Map, a landscape where similar games cluster together.  Can

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

00:00:13.680 --> 00:00:20.080
and how they are displayed on the platform?  To avoid disturbing you, this is not clear.

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

00:00:24.320 --> 00:00:29.440
I'll start with the method.  I get data for all games on Steam straight 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

00:00:36.560 --> 00:00:42.160
for promotional images used on each store page.  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 the header (the

00:00:48.160 --> 00:00:53.920
wide image that usually accompanies the game's title and serves as the main visual identity 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 review.  That's a lot of pictures.

00:01:05.600 --> 00:01:11.760
Computing the next steps on all of them is not possible, 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 every game with over 3,000 reviews, and a 5% random

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

00:01:26.960 --> 00:01:30.720
I then 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 performs well on 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 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 foundation.

00:02:05.040 --> 00:02:10.560
Models like this produce large numerical vectors that describe each image.  In this case,

00:02:10.560 --> 00:02:18.240
over 1,500 values ​​capture different visual features.  There are so many dimensions for

00:02:18.240 --> 00:02:25.267
us humans to describe.  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 we remember what the letters mean.  I used it

00:02:31.760 --> 00:02:36.960
to compress high-dimensional results to just two dimensions while keeping

00:02:36.960 --> 00:02:42.960
similar images close together and others separate.  Once I had the two-dimensional coordinates,

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

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

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

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 will color the dots using various game information taken from Steam.  Note,

00:03:05.280 --> 00:03:11.360
the classification pipeline did not see any of this metadata.  So, if you notice clusters appearing,

00:03:11.360 --> 00:03:17.120
those patterns are things that the model inferred entirely, from the visuals alone.

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

00:03:23.520 --> 00:03:28.160
the model decided to put 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 are captured with great accuracy,

00:03:32.880 --> 00:03:38.880
such as Racing games or Visual Novels.  Maybe those images are too representative (like,

00:03:38.880 --> 00:03:43.760
every racing game shows a race car) or maybe they're just easy to identify

00:03:43.760 --> 00:03:50.240
based on the training data I used.  Other genres, such as Platformers or Roguelikes,

00:03:50.240 --> 00:03:56.080
are less clearly grouped together.  Maybe they just don't have a single unique look.

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

00:04:01.760 --> 00:04:06.720
regions that stood out to me.  For example, there's a large cluster of action games,

00:04:06.720 --> 00:04:13.520
mostly shooters, on the left, and a zone that I'll politely avoid in this video, above.  The

00:04:13.520 --> 00:04:19.200
large mass in the middle is harder to label, but it forms a smooth transition between adjacent groups:

00:04:19.200 --> 00:04:26.640
next to Shooters we find dystopian-looking titles, then roads, cars and sci-fi spaceships,

00:04:26.640 --> 00:04:33.600
top-down RPGs, 2D fighting games, 2D platformers, all the way to Puzzles.

00:04:33.600 --> 00:04:37.440
Overall, the neural network generated a reasonable layout:

00:04:37.440 --> 00:04:44.160
images placed close together were actually similar, both in scene elements and visual style.

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

00:04:49.280 --> 00:04:54.560
Some of the earlier groups remain clearly defined, such

00:04:54.560 --> 00:05:00.560
as Racing games.  But others that cluster neatly using screenshots look more diverse here, like Horror games.

00:05:00.560 --> 00:05:06.720
Interestingly, the neural network was also able to separate 2D and 3D games just from their

00:05:06.720 --> 00:05:13.040
header images.  This indicates that these banners have some real gameplay information.  This is the kind of

00:05:13.040 --> 00:05:19.120
insight that is really useful, players may be reading it the same way the model does.  It's

00:05:19.120 --> 00:05:23.440
also fun to look at the little islands on the edges of the map,

00:05:23.440 --> 00:05:28.960
pieces of game art that the model decided to separate from the rest.  What makes them different?

00:05:28.960 --> 00:05:34.720
Some of these correspond to games that are already known for their originality, especially in art style and graphics.

00:05:35.360 --> 00:05:40.160
Going back 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 has received, which works as a decent proxy for sales and overall popularity.

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

00:05:52.960 --> 00:05:58.720
big game clustered on the left, there was one area with particularly high density.  And what do they have in common

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

00:06:07.120 --> 00:06:14.320
The Action tag overlaps a lot with this, but it is also used extensively in other titles.  Tags like

00:06:14.320 --> 00:06:23.360
War, FPS, Military, Tactical, and Shooter are also compatible, although none of them uniquely identify

00:06:23.360 --> 00:06:30.400
the region.  Some outliers with high reviews include It Takes Two and Lethal Company.

00:06:31.440 --> 00:06:36.800
On the other hand, games with low reviews tend to appear more on the right side of the plot.

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

00:06:42.880 --> 00:06:48.720
games perform the way they do.  It's more likely that action-packed 3D titles come

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

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

00:06:59.280 --> 00:07:05.440
but the broader context they present.  However, it's amazing that this kind of information

00:07:05.440 --> 00:07:11.920
can be captured in a single frame of the game.  Now, what about review sentiment, the share of

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

00:07:16.880 --> 00:07:21.760
reception of a game?  I didn't see much here, but it's still interesting to note that

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

00:07:28.480 --> 00:07:33.600
By coloring the map by price, we can see 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 a game from its first screenshot.  However,

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

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

00:07:50.000 --> 00:07:55.040
However, 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 perspective, it

00:08:00.240 --> 00:08:05.360
seems hard to justify a high price if a game looks like those on the lower end of the

00:08:05.360 --> 00:08:12.080
spectrum.  I would naturally describe a lot of those as low budget, and the model noticed that.

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

00:08:17.280 --> 00:08:23.120
in the main cluster.  Exploring isolated groups helps demonstrate how visuals communicate production value

00:08:23.120 --> 00:08:28.560
and how important strong art direction is when creating promotional materials.  It may seem

00:08:28.560 --> 00:08:34.320
trivial, but the data confirms that visuals reflect production quality, and thus, price,

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

00:08:39.760 --> 00:08:46.400
we've seen that sentiment is widespread, and even low-budget titles can have positive reviews.

00:08:47.120 --> 00:08:53.120
I also want to quickly highlight that these same patterns appear when looking at game headers.  The

00:08:53.120 --> 00:08:59.200
neural network grouped games by number of reviews and price in the same way, and failed to

00:08:59.200 --> 00:09:05.040
capture review sentiment again.  It's interesting to me that these banners contain almost the

00:09:05.040 --> 00:09:09.920
same information as the actual screenshots from the game.  I think the developers are thinking carefully about

00:09:09.920 --> 00:09:15.520
what their header is implying.  For now, we're overlaying the

00:09:15.520 --> 00:09:22.240
metadata map from Steam, but the images themselves are a rich space to explore.  I wrote some 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.

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

00:09:33.920 --> 00:09:39.440
I think red tones dominate.  Some regions stand out due to their characteristic colors:

00:09:39.440 --> 00:09:45.280
the lower part shows a lot of green, which corresponds to the many landscapes in that part of the map;

00:09:45.280 --> 00:09:52.080
action titles lean towards an orange color, with lots of explosions and fire;  and the upper

00:09:52.080 --> 00:09:58.720
portion shows a lot of pink, which is often associated with anime and mature-rated titles, where character art tends

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 variation,

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

00:10:10.880 --> 00:10:17.120
thing.  The neural network clearly grouped the games according to 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 light seems to form smaller clusters within the larger clusters.

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

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

00:10:35.040 --> 00:10:42.320
two extremes are Horror and Arcade games, dark and bright, respectively.  And if we look at the

00:10:42.320 --> 00:10:49.280
cluster of highly reviewed titles we saw earlier, they are roughly in the middle of the light spectrum.

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

00:10:53.280 --> 00:10:59.360
or how bright it is.  Most games, especially big titles, are in 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 entirely clear,

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

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

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's still a lot of room for artistic freedom.  I'll

00:11:25.920 --> 00:11:30.480
let you explore these insights for the headers case on your own, along with some other

00:11:30.480 --> 00:11:35.440
unique data points that I left out of 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 dig deeper, you can become a member on Patreon to access the entire project.

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

00:11:46.880 --> 00:11:51.920
lot of useful information.  Perhaps a similar pipeline could help with things like

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

00:11:58.960 --> 00:12:04.640
difficult to draw broad conclusions.  The Gaming Map seems to be most valuable when used for specific questions.

00:12:04.640 --> 00:12:11.040
Developers can 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 commonalities and the oddities.  The method has many limitations,

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

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

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

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

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

00:12:38.640 --> 00:12:42.400
Brilliant turns anyone into a science enthusiast, using fun visuals,

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

00:12:47.920 --> 00:12:52.000
a strong 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 created by real human experts,

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

00:13:04.800 --> 00:13:08.880
For me, Brilliant has been a great help in staying sharp and updating

00:13:08.880 --> 00:13:15.120
my skills, and it's also a friendly yet comprehensive way to explore new topics.

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

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

00:13:25.360 --> 00:13:30.000
Brilliant has also given our viewers a 20% discount on an annual Premium subscription, which will give you unlimited

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

00:13:34.800 --> 00:13:41.440
I encourage you to try it.  Okay, see you next time.

