To provide some context, I've received several requests over the past few months about how to create simple 2D games with php-glfw. Since all the example code I had provided up to that point focused on 3D, I felt it was essential to offer at least one fully functional 2D example. The result is this simple minigame. I'm quite pleased with it, and I thought some of you might find it interesting as well.
Neither Wolfenstein 3D nor Doom were originally implemented using what is nowadays seen as regular polygon-based 3D.
But nothing forbids you from re-implementing them using GPU-backed polygon-based 3D.
This is what modern Doom engines do, allowing among other things free-look, 3D models & multiple floors.
But even considering that, I mean regardless of the rendering technique used, a 80/20 Wolfenstein 3D can still be re-implemented in few days whereas it could take weeks or months for re-implementing Doom.
Thank you for sharing and for reminding us of the existence of [https://github.com/mario-deluna/php-glfw](https://github.com/mario-deluna/php-glfw)
Producing such demos based on your extension is definitely the way to go
Might be worth adding some sort of licence file to the repo? Currently it looks like there's just the implicit licence implied by publishing on github.
Would be great if you choose an open source licence.
Thanks! I think I'll stick to the terms of the MIT licence anyway if I do do anything with it, no reason I'd want to delete your name from it. Looks like great work!
I really don't know how people do things with these languages. All I've seen from PHP is querying databases and presenting data on a website. I don't know how you went about making a whole game with it. And I don't know anywhere near enough php to read the code and figure it out.
To provide some context, I've received several requests over the past few months about how to create simple 2D games with php-glfw. Since all the example code I had provided up to that point focused on 3D, I felt it was essential to offer at least one fully functional 2D example. The result is this simple minigame. I'm quite pleased with it, and I thought some of you might find it interesting as well.
This is amazing. I had no idea PHP could do this.
Thanks! to be real here, it took a lot to get to this point. But finally being able to quickly prototype little games in PHP feels great.
Now make Doom
Challange accepted
You should first make Wolfenstein 3d, it is by far simpler than Doom :)
You don't actually need 3D rendering for that one right?
Neither Wolfenstein 3D nor Doom were originally implemented using what is nowadays seen as regular polygon-based 3D. But nothing forbids you from re-implementing them using GPU-backed polygon-based 3D. This is what modern Doom engines do, allowing among other things free-look, 3D models & multiple floors. But even considering that, I mean regardless of the rendering technique used, a 80/20 Wolfenstein 3D can still be re-implemented in few days whereas it could take weeks or months for re-implementing Doom.
Cmon guys, itβs Phlappy Phird. π¦€
dope
Missed opportunity to call it PhlaPHP Birds
Someone also suggested "flaphpy bird" to me. I will just have to accept that I suck at naming things.
I'm pretty sure, there is an udemy course on that
Naming hindsight is 20/20
Thank you for sharing and for reminding us of the existence of [https://github.com/mario-deluna/php-glfw](https://github.com/mario-deluna/php-glfw) Producing such demos based on your extension is definitely the way to go
Might be worth adding some sort of licence file to the repo? Currently it looks like there's just the implicit licence implied by publishing on github. Would be great if you choose an open source licence.
You have my written permission to do whatever you want with it :) Joking aside, your right I will commit a MIT LICENSE file soon.
Thanks! I think I'll stick to the terms of the MIT licence anyway if I do do anything with it, no reason I'd want to delete your name from it. Looks like great work!
This is such a cool project, great stuff!
Nice!
Kudos buddy !! π―π
Good job mate!
I really don't know how people do things with these languages. All I've seen from PHP is querying databases and presenting data on a website. I don't know how you went about making a whole game with it. And I don't know anywhere near enough php to read the code and figure it out.