Yo in this tutorial we'll see how to change our game engine's splash screen.
If you have some experience compiling UPBGE you must find these steps easy.
If this is your first time compiling the engine,
you must check this page or
its going to be very difficult to setup.
You'll need:
Go to the path where the source code is located. Goto release -> datafiles and you'll find splash.png with a size of 500x282 and splash_2x.png with a size of 1000x563. The first splash file is for regualar sized 1080p monitors and another 2x sized splash is for big 4k monitors. Those images don't need to be same.
We'll get some image from the internet and replace it with 1st and 2nd splash.
After downloading go to your favourite image editor and for the first image
set the canvas size's width to 500 and height to 282.
We need to set our image precision to unint8 and
if you don't know how to set it, export the image.
Open MSPaint,
open the image and save it. It must set the precision mode to 8 bit unsigned integer.
Same applies to the splash_2x.png file but make sure the image width is 1000
and height is 563.
Setting the image precision to unint8 is necessary or your build will crash, as it is programmed to handle unsigned 8-bit integer. You also need to have your images in .png format.
If you haven't put the files in this directory, rename the original as something so your's don't overwrite them and paste the files there.
Now for the last step, open up Visual Studio and build by
setting the solution configuration from Debug to
Release if its not set already, select
CMakePredefinedTargets and go to
Build -> Build -> 3 INSTALL.
If you're building for the first time, it might take up to 1½ hour and
if you've built more than once it should take a few moments.
Have fun!