Game Development! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

Game Development!

Can php be used to make games? If yes, what kind/types of games? 2D or 3D.

5th Oct 2019, 8:50 AM
Jella
Jella - avatar
10 Answers
+ 12
Can use to make game server for multiplayer game And also I found a book https://images.app.goo.gl/HDjJUGePmfUS2HmF9
5th Oct 2019, 8:59 AM
Farhan
Farhan - avatar
+ 12
Never saw someone using PHP for games. It may be useful to store game's data, but it certainly not suitable for graphics.
7th Oct 2019, 6:22 AM
Igor Makarsky
Igor Makarsky - avatar
+ 10
Tnx Farhan I'll look that up and Mirielle that makes sense. I was actually thinking of how php could make a game on its own.
5th Oct 2019, 10:08 AM
Jella
Jella - avatar
+ 7
Php itself is not used for game development. However, it is used as an add on to store game data in databases like mysql. Such data include, player name, score, level and so. The actual game is build or programmed using javascript and HTML5 or other languages. I hope this helps.
5th Oct 2019, 11:13 PM
Tarnue Pythagoras Borbor
Tarnue Pythagoras Borbor - avatar
13th Oct 2019, 12:22 PM
Rabia Alhaffar
Rabia Alhaffar - avatar
+ 3
PHP can be used in databases. But, for a game, is more used Java, C#, JavaScript, Python, among others. PHP, in my opinion, is to create databases of sites.
6th Oct 2019, 5:46 PM
Eduardo Cavalcante
Eduardo Cavalcante - avatar
+ 2
Yes,See Raylib-PHP Repository On Github Website Also See Game Development With PHP(Google It) And See PHPSGE(PHP Strategy Game Engine),Available On Sourceforge
13th Oct 2019, 12:12 PM
Rabia Alhaffar
Rabia Alhaffar - avatar
+ 1
Well I am a starting game dev at DAE and I would advise learning c++
7th Oct 2019, 7:24 AM
Serno
0
Mostly it help in 2D games
6th Oct 2019, 2:56 PM
Pushpendra Singh
Pushpendra Singh - avatar
0
PHP
4th Nov 2019, 12:25 PM
أنس رضا
أنس رضا - avatar