An open API service indexing awesome lists of open source software.

https://github.com/phpgl/php-towerdefense

A 3D tower defense game written in PHP.
https://github.com/phpgl/php-towerdefense

Last synced: 10 months ago
JSON representation

A 3D tower defense game written in PHP.

Awesome Lists containing this project

README

          



# PHP Tower Defense

A simple 3D tower defense game written in PHP, using [PHP-GLFW](http://github.com/mario-deluna/php-glfw) and the [VISU](https://github.com/phpgl/visu) framework.

## Features

* Rendering Graph'ish pipeline
* Deferred rendering
* Translation animation system
* SSAO pass
* Shader managment with includes
* Simple terrain renderer with heightmap recorder
* Debug texts overlay
* Billboard progress bars
* Level serialization
* LowPoly Model loading & rendering
* RTS / Citybuilder like camera system
* Keyboard and Mouse input event system
* Entity component system
* Entity Picker
* Ray intersection testing
* GizMo
* Varios 3D debugging shaped and lines
* alot more stuff.

## Screenshots & Gifs

Basic level editor:

![s](https://user-images.githubusercontent.com/956212/232910366-5393cd05-3e0d-45d7-80d8-2f888c11bda4.gif)

Model drag n drop

![s](https://user-images.githubusercontent.com/956212/232910955-ce1af982-2530-4219-a8c0-4ca891a895e6.gif)

Simple rendering profiler:

s

Some scene

![s](https://user-images.githubusercontent.com/956212/222989984-e1b2d431-26de-47f4-a17d-7800e5afb052.jpg)

Deferred rendering


s1
s2


s3
s4


s5




Billboards

![s](https://user-images.githubusercontent.com/956212/232915647-aab1b5d7-2925-4ccf-8952-a77c26965241.gif)

Pocedural Roads.. (far from done..)

![s](https://user-images.githubusercontent.com/956212/232914266-51655bb2-97f5-40de-81e3-576024e87d0d.gif)