PHP is a general-purpose programming language that is especially suited for web development.
7
votes
1answer
491 views
Separating logic and data in browser game
I've been thinking this over for days and I'm still not sure what to do. I'm trying to refactor a combat system in PHP (...sorry.) Here's what exists so far:
There are two (so far) types of entities ...
1
vote
1answer
90 views
How to handle a player's level and its consequent privileges?
I'm building a game similar to Mafia Wars where a player can do tasks for his gang and gain experience and thus advancing his level.
The game is built using PHP and a Mysql database.
In the game I ...
5
votes
5answers
429 views
PHP Browser Game Question - Pretty General Language Suitability and Approach Question
I'm developing a browser game, using PHP, but I'm unsure if the way I'm going about doing it is to be encouraged anymore.
It's basically one of those MMOs where you level up various buildings and ...
2
votes
2answers
189 views
PHP Browser Game Private Messages?
First off, I'm asking this question here because gaming and messaging are intimately connected. Why win if you can't gloat? Nevertheless, I won't be offended if this needs to be moved to overflow.
...
-1
votes
1answer
63 views
PHP keeping track of how many online rooms exist [closed]
I'm making an online card game project but now I have a minor issue:
In my game there are rooms that users can join. How do I find out how many created rooms there are? I thought about using a ...
1
vote
2answers
175 views
PHP and Javascript/HTML5 Collaboration [closed]
I've recently been working on a fairly complicated game. I've stored information with local storage, but that allows the player to edit it, and does not transfer from computer to computer. The two ...
1
vote
2answers
325 views
How do I generate a 2d grid-based map without screwing it up?
I'm relatively new to the mechanics of game development - catching up fast, but there are still some things that escape me. For example: generating a fully-accessible map on a 2d grid.
See the ...
0
votes
1answer
351 views
how does server communication work in a flash game with a php backend
I am trying to create a browser game using actionscript/flash. Currently, I'm trying to understand how I would go about creating a back-end which interfaced with my MySQL database.
As far as I ...
0
votes
1answer
182 views
php multiplayer game - server&client model
I'm working on a simple round&web-based multiplayer game. The idea of the game is very simple: The players get an array of audio files which they listen to and write the transcripts for in 5 ...
3
votes
2answers
450 views
Drag and Drop Team Selection
I have a Fantasy F1 Website, currently users select their teams using dropdown menus. It works OK but isn't as user friendly as I would like.
I would like to implement a drag and drop type of ...
-1
votes
3answers
163 views
Novice prototyping a massive multiplayer webpage based gaming system [closed]
I'm trying to build a website based game in which various pages of the site act as different areas of the game.
I am wondering what you would recommended as a design structure.
Which languages would ...
1
vote
1answer
206 views
Architectural advice - websockets javascript/php integration
Myself and a friend have started making a game, he's likely to be using impact.js for the user interaction etc, but we need multiplayer functionality so some form of websockets for TCP connections ...
2
votes
2answers
116 views
Web application interacts bi-directional with server program?
I want to write a web application to play chess against the engine Crafty. I'm not new to PHP and javascript, but must learn how to interact with a server process : how can a web application and/or ...
1
vote
2answers
3k views
Multiplayer card game using PHP/Ajax and mysql
I am designing a map game, using PHP and MYSQL. I don't know how to make the players who sign-in to the website to see other players who are also connected to the site and be able to chat with one ...
-3
votes
1answer
317 views
PHP Battle System for RPG game
I posted this a while ago on stackoverflow, they thought it would be better place here, I agree.
Essentially I know what I want to accomplish, and I have something to the effect of what I want but I ...
3
votes
1answer
135 views
Game based on Ajax polling for 12 players
I am planning on writing a small browser game.
The webserver is a shared server, with no root / install possible.
I want to use AJAX for client/server communication. There will be 12 players.
So ...
-1
votes
1answer
104 views
Using copyrighted sprites [duplicate]
Possible Duplicate:
How closely can a game resemble another game without legal problems
I was thinking about making a pacman clone, I know there is a similar question here Using Copyrighted ...
7
votes
5answers
2k views
How relevant is PHP today for browser games?
I was the lead developer of 2 moderately successful browser games quite a few years back, and plan on working on a new game soon. At the time, I wrote them in pure PHP (no template engine or anything ...
-2
votes
1answer
99 views
Smarty templating system really needed? [closed]
Is smarty templating system really needed for creating a browser-based game?
Do I need anything else than SQL, PHP, and JS knowledge? \
Note: I also know HTML/CSS so I'd like to work on the game ...
3
votes
1answer
168 views
PHP city-sim castle layout
I am currently contemplating the layout system for my php based game but i've run into a couple of worries. So my idea is a 9X9 grid where the center 3X3 are inner castle. The inner castle will be 6X6 ...
1
vote
2answers
296 views
Passive skills and items
I'm making a small text browser RPG game using PHP, MySQL and Java Script (and jQuery). All the items are saved in the MySQL database.
Every now and then a character have to make a skill roll (Talk, ...
1
vote
3answers
363 views
Calculation of a fight with many entities
User A can have many entities
A Entity is a object that has properties such as health, attack, defence, agility, stamina, etcetera.
When User A want to attack User B with x entities I am looking ...
3
votes
3answers
260 views
How can I randomly generate arbitrary “rules” for a creative card game
My friends and I in school play this interesting card game, which we call 'the game without rules' (ironically, of course). The game is like this: in the beginning of a school year, we start with one ...
0
votes
2answers
228 views
Game resources storing
I'm working on a browser-based RTS, and we are targeting 10k+ users with multiple towns per user.
I have the following table townresources in which I store every resource value for every town ID:
...
0
votes
2answers
206 views
What's the best way to keep battle log in a browser based game written in PHP?
I've searched for it, but I couldn't find any question about this.
I'm working on a game where PvP fights are possible. The game is written in PHP/MySQL.
What I want to implement is to save all the ...
2
votes
2answers
927 views
Advice on a PHP RPG System
I am looking to make a php/mysql/javascript based rpg on a site. I am trying to figure out the best method when it comes to items, quests, etc. For instance should I make classes for each item type ...
7
votes
3answers
1k views
Javascript and PHP for real-time multiplayer?
I'm wondering if combining Javascript clientside with PHP/mysql serverside is a good idea for HTML5 real-time multiplayer (small scale) browser games?
My technical knowledge is very limited, and even ...
1
vote
1answer
208 views
How can I keep track of a battle log on a web game?
Recently I started working on a Web turn-based PvP RPG game. Now I'm working on the battle system but I encountered some issues:
How can I keep track of everything that happens in the battle? It ...
-1
votes
1answer
191 views
multiplayer tic-tac toe checking if other player is in game or not
I am developing a multiplayer tic tac toe game. The issue I'm facing at the moment is knowing whether the other player is in the game or not. Each player is running their own session, and should a ...
0
votes
1answer
63 views
Build / Destroy function design & security checks
I'm working on a browser based strategy game. For the moment I'm working on the build/destroy functions and I have a couple of questions about this. The main question is do you have advice on how I ...
-1
votes
1answer
139 views
Calculate Costs for Buildings
I have the following arrays:
[costs] => Array (
[0] => Array (
[value] => 600
[name] => Wood
)
[1] => Array (
[value] => 200
[name] => Stone
...
-5
votes
3answers
437 views
Is it possible to combine Blender with PHP? [closed]
I want to build a web game with Blender and I know PHP.
Is it possible to mesh Blender with PHP?
20
votes
5answers
8k views
How to create a hexagon world map in PHP from a database for a browser based strategy game
I'm trying to create a hexagon world map for my PHP browser based strategy game. I've created a table in my database with the following data per row: id, type, x, y and occupied. Where type is the ...
0
votes
3answers
403 views
Web Card Game , MySQL vs SQLite performance wise
Been thinking of creating a js/PHP/MySQL game, with multiple players / games happening concurrently. Is there any chance SQLite might be faster for something like this than MySQL? Keep in mind that ...
-1
votes
2answers
350 views
Concerns for Hosting a Facebook App
I am working solo on an AS3 Facebook App project of the Interactive Quiz type nature.
What amount of bandwidth would it take for a simple Facebook app to run?
What sort of traffic would be produced ...
0
votes
3answers
1k views
For making an online multiplayer browser-based game, what tech would be more efficient to use? [closed]
I asked a partial question on stackoverflow, and then realized that this would be the place to get a better answer because this is the game dev website, and you all may know more than the programmers ...
5
votes
4answers
595 views
Browser-board-game and server push
I want to start developing a browser game. Not for success, just for the sake of doing it and learning something from it.
Now, a point where I have serious problems figuring out how to deal with it ...
0
votes
1answer
193 views
Need Feedback for PHP & MySQL Saving Game Progress
My team is planning to create a simulation game using Javascript, CodeIgniter and MySQL for the backend.
It will be mostly click based, ie: There will be buttons for activities like Eat, Play, Study, ...
1
vote
1answer
583 views
PHP battle script
I have custom built as a little personal project a website coded in php that is a MMORPG.
It is at the minute just a personal private project but I am stuck as what to do when it comes to users ...
0
votes
1answer
420 views
SQl, noSQL, and Doctrine with Symfony 2.0
I've had the idea of creating a webgame for a while now, and as it becomes more and more accurate i started playing around with Symfony 2.0.
First question :
it seems that it is recommanded to use ...
21
votes
2answers
5k views
Understanding Perlin Noise
I'm toying with Perlin Noise after some work with Diamond Square. I followed the implementation by Hugo Elias that basically, makes a series of functions with x,y as input to throw each coordinate ...
3
votes
2answers
378 views
What platform should I use for a master server?
We are making a small FPS, and want people to be able to play it online and fetch a list of all servers from a master server. We only have experience in C#, and we have already written a master server ...
1
vote
1answer
542 views
hexagon tiles to square tiled map
in a previous question asked here:how-to-create-a-hexagon-world-map @Tim Holt has provided code that does the job that i'm wanted to do, the only difference I would like is to have it as squares ...
1
vote
1answer
256 views
How to decide who wins a race?
I'im thinking of building a text-based browser game.
A racing game.like F1 or rally.
users can set-up a car.
thinks like tyres, fuel, driver,brakes.
every attribute gets a value.
the part where i ...
-5
votes
2answers
371 views
Is it possible to integrate Action Script 3.0 with Java Script and PHP for an online browser game?
My client wants a browser based online game, languages which are known to me are Java Script PHP and Action Script and also My Sql.
Game is quite like Farmvile as far as functionality is concerned.I ...
0
votes
3answers
199 views
Using an engine to create content with PHP - but how should it happen?
I need to create an engine that will allow me to add content to a website. The website is a browser-based game. This is a verbose engine that should be able to handle many different aspects of the ...
5
votes
4answers
2k views
Text-based game using JavaScript and/or PHP
I'd like to make a simple text-based game using either JavaScript or PHP. Ideally I'd like to be able to render ASCII text in a kind of blackscreen "console" style (think console roguelikes such as ...
1
vote
0answers
307 views
How can I secure a high score table? [duplicate]
Possible Duplicate:
How can I prevent cheating on global highscore tables?
So, I create a game in Flash and I want to keep a hi-score table for people to compete in.
After a player has ...
2
votes
3answers
1k views
Facebook Game database design
I'm currently develop a facebook mafia like PHP game(of course, a light weight version), here is a simplify database(MySQL) of the game
id-a <int3> <for index>
uid ...
5
votes
6answers
2k views
How to implement a component based system for items in a web game
Reading several other questions and answers on using a component based system to define items I want to use one for the items and spells in a web game written in PHP. I'm just stuck on the ...
