SerafimArts / Opengl Demo
Just an OpenGL (SDL) demo in pure PHP
Stars: ✭ 146
Projects that are alternatives of or similar to Opengl Demo
Openspades
Compatible client of Ace of Spades 0.75
Stars: ✭ 769 (+426.71%)
Mutual labels: opengl, sdl2
Imac Tower Defense
OpenGl 4.4 game made with Entity Component System
Stars: ✭ 28 (-80.82%)
Mutual labels: opengl, sdl2
Opengl Sdl Tutorial
A tutorial for using the modern shader pipeline of OpenGL with SDL 2 in Haskell
Stars: ✭ 6 (-95.89%)
Mutual labels: opengl, sdl2
Simple2d
🎮 Simple, open-source 2D graphics for everyone
Stars: ✭ 390 (+167.12%)
Mutual labels: opengl, sdl2
Soldat
Soldat is a unique 2D (side-view) multiplayer action game
Stars: ✭ 1,199 (+721.23%)
Mutual labels: opengl, sdl2
Rigelengine
A modern re-implementation of the classic DOS game Duke Nukem II
Stars: ✭ 393 (+169.18%)
Mutual labels: opengl, sdl2
Fortran Sdl2
Fortran 2008 interface bindings to SDL 2.0
Stars: ✭ 18 (-87.67%)
Mutual labels: opengl, sdl2
Spearmint
Spearmint — an updated id Tech 3 engine for continuing the classics and creating new games.
Stars: ✭ 161 (+10.27%)
Mutual labels: opengl, sdl2
Xray 16
Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
Stars: ✭ 1,806 (+1136.99%)
Mutual labels: opengl, sdl2
Flextgl
OpenGL and Vulkan header and loader generator.
Stars: ✭ 180 (+23.29%)
Mutual labels: opengl, sdl2
Hybridrenderingengine
Clustered Forward/Deferred renderer with Physically Based Shading, Image Based Lighting and a whole lot of OpenGL.
Stars: ✭ 563 (+285.62%)
Mutual labels: opengl, sdl2
Catacombgl
CatacombGL is a Windows source port with OpenGL graphics for Catacomb 3D (1991), The Catacomb Abyss (1992), The Catacomb Armageddon (1992) and The Catacomb Apocalypse (1993).
Stars: ✭ 41 (-71.92%)
Mutual labels: opengl, sdl2
Openrct2
An open source re-implementation of RollerCoaster Tycoon 2 🎢
Stars: ✭ 10,115 (+6828.08%)
Mutual labels: opengl, sdl2
Sdl2 Examples
Examples for getting started with SDL2, for over 12 different programming languages
Stars: ✭ 136 (-6.85%)
Mutual labels: sdl2
PHP OpenGL (SDL) Demo
Please note that this is only a demo and may contain non-optimal, crazy and completely unbelievable programming techniques.
If your psyche was injured please consult a doctor.
Peace <3
Oh yes, according to my information, nobody has ever done such things in pure PHP.
Demo in action: https://www.youtube.com/watch?v=vsBbJbhKeeU
Requirements
- PHP 7.4+
- ext-ffi
- Composer
Additional Requirements (MacOS and Linux only)
- SDL 2.0+
- SDL Image 2.0+
- SDL TTF 2.0+
Installation
Windows
composer install
php app.php
Linux
sudo apt install libsdl2-2.0-0 -y
sudo apt install libsdl2-image-2.0-0 -y
sudo apt install libsdl2-ttf-2.0-0 -y
composer install
php app.php
Linux / Docker
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -e XAUTHORITY=$XAUTHORITY $(docker build -q .)
MacOS
brew install sdl2
brew install sdl2_image
brew install sdl2_ttf
composer install
php app.php
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].