Skip to main content

Questions tagged [php]

PHP is a general-purpose programming language that is especially suited for web development.

Filter by
Sorted by
Tagged with
0 votes
1 answer
515 views

Some time ago I wanted to be able to create a token in Unity and send it to a Laravel Controller for saving logins and user game data to an account. I eventually got this working so I am sharing my ...
UrbanwarfareStudios's user avatar
0 votes
1 answer
123 views

I was asked by a friend to develop a small web game which should support 10 players. Very basic game-play: There is a piñata which has x-"healthpoints". Each player can hit the piñata when ...
theloneswiftman's user avatar
1 vote
1 answer
83 views

I have an array setup which consists of 25 rings, names, stats, prices. Right now in its current form, I have a form setup with 25 radio buttons with a value of 1-25 on them, and I'm using If ...
xion360's user avatar
  • 11
1 vote
1 answer
1k views

I've got a PHP/Java based game, which runs in the browser. However, I want to submit this game to Steam. Now Steam doesn't allow web-based games unless they come in some kind of wrapper. How can I ...
Lex's user avatar
  • 139
0 votes
2 answers
226 views

I am trying to create a world boss system using PHP. But I am having a problem with how to account for all the damage while updating the health of the boss in real-time. The current damage process is ...
EnyaVil's user avatar
0 votes
1 answer
1k views

We could say that we are beginners, We can consult and show our data (text) from Mysql but the images don´t show in Unity. Need some help! We hace tried almost everything! We can someone help us. in ...
GUSTAVO's user avatar
0 votes
0 answers
61 views

I have a virtual world game that I developed with jQuery, AJAX and PHP. Virutal World like club penguin. Now, I want to add a game into the virtual world - like bubbles or whatever. The main problem ...
Ben's user avatar
  • 1
0 votes
1 answer
146 views

For the turn-based browser Flash RPG I'm working on, I'm using url-encoded query stings to pass data from PHP to Flash. Basically, Flash posts a request to PHP, then PHP pulls some data from a MySQL ...
BladePoint's user avatar
1 vote
2 answers
485 views

I'm working on an online turn-based game. I will have a server, but it will be used strictly for storing match data and relaying it to the match's participants (or spectators). For simplicity, no game ...
Saturn's user avatar
  • 1,763
0 votes
1 answer
131 views

I have this method to get the cells inside a given N range: ...
Enrique Benitez's user avatar
3 votes
1 answer
234 views

Just made it with some more investigation thanks to this site: Hexagonal grid math, but the hexagons have a little bit spacing horizontally. Here is the code: ...
Enrique Benitez's user avatar
1 vote
1 answer
363 views

I am trying to write a strategy game with PHP, and basically I have a 1d based tile map (grass, dirt, sand, castles, etc.) stored in a database. Now where is 40k records, from x1y1 to x200y200 and I ...
Anon's user avatar
  • 11
1 vote
1 answer
2k views

I don't need to know the specific code required for that, but I want to understand at high level how can I implement that and what SDKs I have to use to achieve that. Facebook PHP SDKs: Ok If I want ...
CoffeDeveloper's user avatar
-1 votes
3 answers
4k views

I have been looking around, but I haven't found the perfect answer, yet. I want to to send scores from Unity to a database, without a username, and display the high scores in the highscore menu. How ...
MrTopGamer's user avatar
1 vote
0 answers
100 views

I am not pro on programming and games but i had developed an online browser-based game with php . Now i am creating a game like a chess that it do not needs an live-stream and FPS data exchanges. I ...
Chimera's user avatar
  • 11
1 vote
1 answer
578 views

I'm making a text-based role playing game written in PHP. I have a hard time figuring out how to handle items in game - there will be a few types of objects (weapon, machine, tool, building etc) each ...
user3343366's user avatar
0 votes
1 answer
3k views

So I am attempting to keep track of some user data in my game that I am creating in Unity 3d. I am using Unity's WWW class to do this. I am following this tutorial: http://wiki.unity3d.com/index.php?...
sabo's user avatar
  • 237
0 votes
1 answer
217 views

I would like to create something very simple. A browser game, where user can waste its energy and ability points. Unlike other games here there won't be no levels. So energy and ability points restore ...
Stanislav Bondarenko's user avatar
-4 votes
3 answers
515 views

I have gone through many articles on the internet and got to a final conclusion that their is almost no way to protect the game (it can be hacked or its code can be extracted from its APK) and should ...
Developer Nation's user avatar
3 votes
2 answers
130 views

I am creating a multiplayer JavaScript game with a PHP central server. Each user will be able to move around in a 3D world, with other users and NPCs. These NPCs will be controlled by the central ...
Grant Davis's user avatar
-3 votes
1 answer
333 views

I'm building a browser game about countries, cities, the user control his city, building it upgrading it, can fight other cities in the same country, elections and war between countries, peace, trade ...
Art3mix's user avatar
  • 107
1 vote
3 answers
446 views

Hope this is a proper question to ask here. If not, I'd appreciate somebody pointing me to other game developer communities. Since I am creating my game by myself it'd be nice to communicate with ...
Draven's user avatar
  • 119
5 votes
1 answer
1k views

I have my web based rpg game already created. Inventory management, equipment system, character stats, skill tree, and etc. It's almost complete. For the game world, I am creating a top-down rpg ...
Nick Newman's user avatar
2 votes
3 answers
310 views

I am attempting to create a game where there is a universe of two 16-bit addresses ranging from (-32768, -32768) to (32767, 32767), or in hexadecimal, each value can run from $8000 to $FFFF then 0 to $...
Paul Robinson's user avatar
0 votes
0 answers
496 views

I'm pretty new at making online games. Right now I'm trying to make an iPhone game. Each player has a profile in my server. I want to avoid username/password for authentication. Currently, as it ...
Saturn's user avatar
  • 1,763