WEBVTT
Kind: captions
Language: en-NL

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

00:00:04.800 --> 00:00:09.760
build the Gaming Map, a landscape where similar games are grouped together.

00:00:09.760 --> 00:00:13.680
Can we actually learn something from what the most successful games look like

00:00:13.680 --> 00:00:20.080
and how they are presented on the platform?  To keep you from being in suspense, it is not entirely clear.

00:00:20.080 --> 00:00:24.320
But I will show you a number of interesting patterns, and then you can form your own opinion.

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

00:00:29.440 --> 00:00:36.560
via their APIs and a bit of web scraping.  That includes game tags, prices, reviews, and URLs of

00:00:36.560 --> 00:00:42.160
the promotional images used on every store page.  Next, I wrote a small script to download a number of

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

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

00:00:53.920 --> 00:00:59.440
In total, that yielded me approximately 130,000 images of each type, which I reduced

00:00:59.440 --> 00:01:05.600
to low-resolution thumbnails for analysis.  That is quite a lot of images.  Executing the following steps

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

00:01:11.760 --> 00:01:17.520
To keep the dataset relevant, I included all games with more than 3,000 reviews, plus a random

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

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

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

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

00:01:41.680 --> 00:01:47.600
datasets and has proven capable of identifying games with high accuracy based on screenshots.

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

00:01:53.280 --> 00:01:58.640
named ImageNet-1K;  more than a million labeled images in a thousand categories,

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

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

00:02:10.560 --> 00:02:18.240
more than 1,500 values ​​that capture various visual characteristics.  Those are far too many dimensions for us

00:02:18.240 --> 00:02:25.267
humans to imagine.  Therefore, 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 know what the letters stand for.  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 images further apart.  After I had 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 game visuals,

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

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

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 dots with various pieces of game information that I pulled from Steam.  Please note that

00:03:05.280 --> 00:03:11.360
the classification pipeline has never seen this metadata.  So if you see clusters appearing,

00:03:11.360 --> 00:03:17.120
those patterns are things that the model has derived entirely on its own, based solely on the images.

00:03:17.120 --> 00:03:23.520
Here, for example, are the games that are labeled as 3D;  and here are the games that are labeled as 2D.  It

00:03:23.520 --> 00:03:28.160
seems that the model has placed 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 captured with good 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 are just easy to recognize

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

00:03:50.240 --> 00:03:56.080
not cluster as clearly.  Maybe they just don't have a clear, recognizable appearance.

00:03:56.640 --> 00:04:01.760
I will share these graphs so you can view them yourself, but for now, here are some areas

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

00:04:06.720 --> 00:04:13.520
mainly shooters, on the left side, and a zone at the top that I will politely avoid in this video.  The

00:04:13.520 --> 00:04:19.200
large mass in the middle is harder to categorize, but forms a fluid transition between nearby groups:

00:04:19.200 --> 00:04:26.640
alongside shooters we find dystopian-looking titles, followed by roads, vehicles and science fiction spaceships,

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

00:04:33.600 --> 00:04:37.440
Overall, the neural network has produced a logical classification:

00:04:37.440 --> 00:04:44.160
images that are closer together do indeed resemble each other, both in terms of scene elements and visual style.

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

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

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

00:05:00.560 --> 00:05:06.720
Interestingly, the neural network also succeeded in distinguishing 2D and 3D games from each other purely based on their

00:05:06.720 --> 00:05:13.040
header images.  That suggests that these banners actually contain gameplay information.  It is the kind of

00:05:13.040 --> 00:05:19.120
insight that is actually useful;  Players might interpret it in the same way as the model.

00:05:19.120 --> 00:05:23.440
It is also fascinating to look at the small islands along the edges of the map,

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

00:05:28.960 --> 00:05:34.720
Some of them correspond to games already known for their originality, particularly in terms of art style and graphics.

00:05:35.360 --> 00:05:40.160
Back to the screenshots: let's add some numerical data;  starting with the number of

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

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

00:05:52.960 --> 00:05:58.720
major games cluster on the left side, an area with a particularly high density.  What do they have in

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

00:06:07.120 --> 00:06:14.320
The 'Action' tag overlaps heavily here, but is also frequently used for other titles.  Tags such as

00:06:14.320 --> 00:06:23.360
'War', 'FPS', 'Military', 'Tactical', and 'Shooter' also fit well, although none of them

00:06:23.360 --> 00:06:30.400
uniquely defines the region.  A couple of standouts with high reviews are It Takes Two and Lethal Company.

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

00:06:36.800 --> 00:06:42.880
Correlation, however, does not automatically mean causality.  These images are not necessarily the reason why the

00:06:42.880 --> 00:06:48.720
games perform so well.  Action-packed 3D titles are more likely to come

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

00:06:54.160 --> 00:06:59.280
and thus more reviews.  So it is not the screenshots themselves that determine the success,

00:06:59.280 --> 00:07:05.440
but the broader context they reflect.  It is nevertheless fascinating that this kind of information

00:07:05.440 --> 00:07:11.920
can be captured in a single frame of the game.  But what about the sentiment of the reviews, the percentage 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 couldn't find much about this, but it is interesting to note that

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

00:07:28.480 --> 00:07:33.600
If we color the map by price, we 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 based on the first screenshot.

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

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

00:07:50.000 --> 00:07:55.040
That being said, this suggests that players associate specific aesthetics with different price levels

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

00:08:00.240 --> 00:08:05.360
it seems difficult to justify a high price if a game looks like games at the lower end of the

00:08:05.360 --> 00:08:12.080
spectrum.  I would naturally describe many of those games as low-budget, and the model picked that up.

00:08:12.080 --> 00:08:17.280
This trend from left to right, from expensive to cheap, is even visible in the smaller clusters, not only

00:08:17.280 --> 00:08:23.120
in the main group.  Examining these isolated groups shows how visuals communicate product value

00:08:23.120 --> 00:08:28.560
and how important strong artistic design is when creating promotional material.  It may sound

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

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

00:08:39.760 --> 00:08:46.400
we saw that sentiment varies widely and that even low-budget titles can receive very positive reviews.

00:08:47.120 --> 00:08:53.120
I also wanted to briefly emphasize that the same patterns are visible when viewing game headers.

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

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

00:09:05.040 --> 00:09:09.920
contain almost the same information as actual screenshots of the game.  I suspect that developers

00:09:09.920 --> 00:09:15.520
pay a lot of attention to what their header communicates.  So far, we have provided the map with

00:09:15.520 --> 00:09:22.240
metadata from Steam, but the images themselves also offer many possibilities to explore.  I have written some code to

00:09:22.240 --> 00:09:29.200
calculate a few basic attributes at the pixel level.  Here is the dominant color in each image.

00:09:29.200 --> 00:09:33.920
It turns out to be a fairly useful feature for classification.  In general,

00:09:33.920 --> 00:09:39.440
I think red tones predominate.  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, fitting the many landscape scenes in that part of the map;

00:09:45.280 --> 00:09:52.080
action games tend towards an orange tint, with many explosions and fire;  and the top

00:09:52.080 --> 00:09:58.720
section shows a lot of pink, often associated with anime and adult-aged games, where the characters often

00:09:58.720 --> 00:10:05.120
have lighter skin tones.  Nevertheless, there is clearly great artistic diversity;

00:10:05.120 --> 00:10:10.880
Games use color in very different ways.  Image clarity is also interesting

00:10:10.880 --> 00:10:17.120
.  The neural network clearly grouped games based on this value, although it did not consider this a major factor

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

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

00:10:28.720 --> 00:10:35.040
brightness 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, respectively dark and light.  And if we focus on the

00:10:42.320 --> 00:10:49.280
cluster of high-rated games we saw earlier, they are located roughly in the middle of the brightness range.

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

00:10:53.280 --> 00:10:59.360
or how vivid it looks.  Most games, but especially big titles, fall into the mid-range.

00:10:59.360 --> 00:11:04.960
Highly saturated images cluster on the right side of the map.  It is not entirely clear,

00:11:04.960 --> 00:11:10.080
but it does not seem random either.  Don't forget that we found games there with fewer reviews

00:11:10.080 --> 00:11:17.440
and lower prices.  Perhaps games with a higher budget 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 is still plenty of room for artistic freedom.

00:11:25.920 --> 00:11:30.480
I will let you investigate these insights regarding headers further yourself, along with a few other

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

00:11:35.440 --> 00:11:41.600
And if you want to dig deeper, you can join Patreon to gain access to the entire project.

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

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

00:11:51.920 --> 00:11:58.960
or automatic tagging based on visual cues.  However,

00:11:58.960 --> 00:12:04.640
within this exploratory context, it is difficult to draw general conclusions.  The Gaming Map feels 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 as inspiration for artistic design,

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

00:12:17.120 --> 00:12:21.200
but that is fine.  The goal was to view data from a different, more visual perspective

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

00:12:24.960 --> 00:12:29.760
also prompted me to study subjects I was not very familiar with, such as neural networks.  If you want to

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

00:12:34.240 --> 00:12:38.640
If you have watched the entire video, you are probably interested in these kinds of topics.

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

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

00:12:47.920 --> 00:12:52.000
lay a strong foundation, even if you are just starting out, and

00:12:52.000 --> 00:12:58.000
develop the confidence to tackle more complex ideas.  The lessons are compiled by real experts and

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

00:13:04.800 --> 00:13:08.880
Personally, I find Brilliant incredibly useful for staying sharp and

00:13:08.880 --> 00:13:15.120
refreshing skills I’ve forgotten a bit, but also as an accessible yet comprehensive way to discover 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 click the link in the description.  Brilliant

00:13:25.360 --> 00:13:30.000
also gives our viewers a 20% discount on an annual Premium subscription, giving you

00:13:30.000 --> 00:13:34.800
unlimited daily access to everything on Brilliant.  I am convinced that you will learn a lot from it.  I

00:13:34.800 --> 00:13:41.440
really recommend you give it a try.  Until next time!

