DOOM mobile PHP is a DOS game built on top of Tauri and heavily influenced by NativePHP. This mobile application uses Laravel InertiaJS Vue3 Typescript Tailwindcss and Tauri, only.
It uses JS-DOS to emulate the DOS engine. And DOOM is hosted on a CDN.
I always wanted to play DOS games on my mobile phone without the use of Steam or online platforms. It was possible before, but now it is easy, it took me a lot more days.
- Clone the repository on your local environment and go through directory
git clone https://github.com/mho22/doom-mobile-php.git
cd doom-mobile-php
- Install dependencies
composer install
npm install
- Copy .env.example and generate key
cp .env.example .env
php artisan key:generate
- Adapt your HMR host in vite configuration file
hmr : {
...
host : "192.168.0.*",
...
},
- Serve on mobile
php artisan mobile:serve --android
- Kill some Cacodemon
Don’t hesitate to give me some feed backs and suggestions to improve the project on this github repository or on twitter : Capsules Codes
Based on NativePHP and Doom native PHP. Special thanks to Simon Hamp and Marcel Pociot.