Simple KPHP game, a proof of concept thing (demo)
MIT License
This is a game written in PHP using kphp-sdlite library.
Gameplay video: https://www.youtube.com/watch?v=L44l4Tqm4Fc
This game features:
It's a showcase that KPHP can be used to build applications like this.
Note that this game is written in 1 day during a hackathon. The code quality may be lacking.
Our build scripts expect a symlink to an appropriate kphp2cpp in the root of the project.
Example layout:
kphp-game/
kphp2cpp <- this is a symlink you need to provide
scripts/...
src/...
# If successfull, game binary can be found at ./bin/game
$ make game
Tested on:
$ make run-with-php
Controls:
Q
- use first spell, fireball
W
- use second spell, ice shards
E
- use third spell, thunder
Esc
- exit gamey
(when asked) - acceptn
(when asked) - declineAll assets keep their original copyright and can't be considered to be MIT-licensed.
The authors of this game have no copyrights of these assets. The game (code from this repository) is provided as a demonstration and is not a commercial product.