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 web server you can also use multiple 4DPi displays to play the same game by accessing the IP address of the Raspberry Pi hosting the web server.
BUILD:
- Step 1: Create a webserver
Download the Apache Webserver available on the Raspberry Pi.
Using the command:
- -> sudo apt-get update
- -> sudo apt-get install apache2 -y
To check if it is successful, enter the IP address of the Raspberry Pi to a browser.
You should see something like this:
- 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
- /var/html/www/
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
For more information please go to this link.
Comments
Please log in or sign up to comment.