This project is a Unity Game App, about Thai history.
It contains 2 main parts :
- Unity client
- Back-end server (web server built with PHP)
This project is intended to demonstrate how you can communicate between any server and unity using RESTapi technology.
You need to have php installed in your machine. (please visit PHP official website)
The other requirement is you need a database server. (preferrably MySql Server)
You can install xampp instead which is a framework that contains all the mandatory requirements to run this project.
Without actually deploying the web server, you can use command line to run the back-end by using PHP library called 'artisan'. (included with the project already)
- open cmd (commandline) in the back-end project's root folder. (The root folder is the parent folder of the 'app' folder)
- then, run this command :
php artisan serve
Open the project in Unity3D program
There is a .Unity scene file called "Home.Unity", you can start with that to explore this app.
This project need user account to log in
you can register your account by running the server then go to browser and open the webpage : localhost:8000 (this is default url, you should see the actual url when you run the command to start the server)
- can login
- can register
- can show history timeline
*The project has been suspended and doesn't have all the features it is intended to. Still suitable for showcasing and for educational.