phpgl / flappyphpant Goto Github PK
View Code? Open in Web Editor NEWA very simple Flappy Bird-like game written in PHP, built on PHP-GLFW and the VISU framework.
License: MIT License
A very simple Flappy Bird-like game written in PHP, built on PHP-GLFW and the VISU framework.
License: MIT License
If you fall off screen after pressing space to start, the game will keep going. You do not die. You will, in fact, win with this strategy.
I happened to catch this on video, It happens somewhere at the 11:00 mark:
https://youtu.be/06CHXEZrY0A?t=657
Love this, btw.
Great work. I think a dockerized project would simplify the installation / build process.
Hey, real nice game, well done :)
While running bash bin/play
command, I get the following error:
bin/play: line 2: ?php: No such file or directory
bin/play: line 4: syntax error near unexpected token `'DS''
bin/play: line 4: `if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); }'
They way I solve it:
Install the phpglfw
library by running:
php -r "copy('https://raw.githubusercontent.com/mario-deluna/php-glfw/master/install/macos-installer.php', 'phpglfw-installer.php');" && php phpglfw-installer.php
and finally instead of bash, I tried with php bin/play
and it ran.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.