Skip to content
Totally not a clone of Minecraft in PHP using the OpenGL bindings
PHP GLSL
Branch: master
Clone or download
Pull request Compare This branch is even with Ponup:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
shaders
textures
.gitignore
Cube.php
Entity.php
Ground.php
README.md
SimpleCube.php
Skybox.php
TextureLoader.php
Water.php
composer.json
composer.lock
main.php
screenshot.png

README.md

Cubecraft

A proof of concept to show how PHP and OpenGL can be used to write a Minecraft like game.

Screenshot

Usage

$ php main.php
  • Click to add cubes
  • q to quit
  • u to undo (remove last added cube)
  • 1 or 2 to alternate between brown (wood) and green (grass) materials.
You can’t perform that action at this time.