Developing a game has become easier due to the progressive and
sharing community that we have. By using a third-party software named “RPG Maker MV”, we can easily create an application that does not pale on comparison with the other RPG games available on the online market. The said application is also compatible on different platforms (e.g. Windows, Linux and Android/IOS).
Using the 4DPi displays as the primary display for the Raspberry Pi, you can create a custom game playable at any time. By using the Raspberry Pi as a webserver you can also use multiple 4DPi displays to play the same game by accessing the IP address of the Raspberry Pi hosting the webserver.
Step 1: Create a Webserver: to Check If It Is Successful, Enter the IP Address of the Raspberry Pi to a Browser. You Should See Something Like This:
Download the Apache Webserver available on the Raspberry Pi.
Using the command:
-> sudo apt-get update
-> sudo apt-get install apache2 -y
Step 2: Build: Download the RPG Maker MV Application to Create Your Own Game.
Step 3: Export the File: Export the File by Clicking the File - Deployment - Android / IOS
Step 4: Copy the File:
Copy the generated file on this Raspberry Pi directory
Note: You can delete the file inside the directory (index.html)
Step 5: Run the File:
Now go to your default browser (chromium) and enter 'localhost' - this will load your game.
Note: If the game is not loading, it may be because the chromium browser prevents insecure file transfers on a local level.
To fix these issues, you can change Chromium's security protocol using the command:
- chromium-browser --disable-web-security
Download the project here.