Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Multiplayer Php Games?, i have an inefficient idea
dazappa
post May 23 2006, 10:34 PM
Post #1


Newbie [Level 3]
***

Group: Members
Posts: 47
Joined: 7-May 06
Member No.: 23,184



Well I was thinking about making a little multiplayer game in php today and I was wondering, how would I do this. Well I came up with an enormous and quite inefficient way..Lets say I wanted to show what users were at the same place as you. Well, I would use databases, 1 to say what location and 1 to say if the players are online. Then if the player is online and at the location, say they're their. I think this is inefficient, but is there any other way?
Go to the top of the page
 
+Quote Post
savge17
post May 23 2006, 10:53 PM
Post #2


Super Member
*********

Group: [HOSTED]
Posts: 381
Joined: 1-December 05
From: Xempt..T17 GFX Crew
Member No.: 15,202
T17 GFX Crew



Multiplayer? Interesting. Its a good idea because ive seen very few of these out on flash gaming sites. I have to say I have done one before and it was alot of fun.

-But I have never really heard of a php game, I thought that flash was used and somehow these flash files could communicate and interact making a database within itself. Or it adds new information to sepparate folders.

If I knew how then I could show you.. but I dont I only really know how to make interactive banners and flash sites sorta.

I hope this site helps:

http://www.pixel2life.com/

You can find alot of useful tutorials there aswell as some indebth walkthroughs on how to use anyhting you want on the listed programs, use the search button- its your best friend! smile.gif

This post has been edited by savge17: May 23 2006, 10:53 PM
Go to the top of the page
 
+Quote Post
dazappa
post May 23 2006, 11:20 PM
Post #3


Newbie [Level 3]
***

Group: Members
Posts: 47
Joined: 7-May 06
Member No.: 23,184



This game won't use flash. I don't have mx director or anything, and I really don't feel like paying a lot of money for something, just for a game. It's also supposed to be only in php..
Go to the top of the page
 
+Quote Post
hujtec
post May 30 2006, 12:35 AM
Post #4


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 29-May 06
Member No.: 24,489



I think the idea is great, i often wonder why there are no good free php games out there (at least i haven't found any). With AJAX technology you could easily create many games like card games etc. But the burden on the server would be quite high because the server can't push its contents and the users must constantly make requests and that uses your resurces.
Go to the top of the page
 
+Quote Post
ghostrider
post Jun 20 2006, 09:40 PM
Post #5


Super Member
*********

Group: Members
Posts: 397
Joined: 9-June 06
From: Wisconsin
Member No.: 24,924



That's a great idea ... you can have it so it refreshes the page every x amount of seconds, there is an HTML meta tag that does it *looks it up* ...

This is how I would do it. Have one page (we'll call it page.php). Have it show all the data you need for the game and just have it refresh itself. Put the tag below inside the <HEAD> tags.

CODE

<META HTTP-EQUIV="Refresh" CONTENT="5; URL=page.php">
<!-- This is written so that it will refresh every 5 seconds.  You can change the 5 to the amount of seconds you want per refresh.  Do consider the user (it gets annoying to have it refresh over and over) and SERVER needs.  The URL should be changed for what URL needs to be refreshed.-->


This post has been edited by ghostrider: Jun 20 2006, 09:40 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Video Games Are A Complete Waste Of Time, Face It!(151)
  2. Quake Or Unreal(36)
  3. Talk About Favorite Online Games(32)
  4. Any Good Mmorpg Games(27)
  5. Snes(10)
  6. Do You Use Neopets?(75)
  7. Age Of Empires 2 The Conquerors Multiplayer Online(24)
  8. Do You Know Of Any Online Pirate Games?(23)
  9. Jucied(7)
  10. Good Rpg Game Besides Final Fantasy(12)
  11. The Best Multiplayer Game(66)
  12. Selling Used Games At Eb(16)
  13. Addiction To Games(35)
  14. What Kind Of Games You Like?(19)
  15. Halo 3 Xbox Live Help(2)
  1. Prince Of Persia Save Games(1)
  2. Sims(6)
  3. Aob Blood Grouping(4)
  4. List Of Free Games(10)
  5. The Old Games(5)
  6. Idea For Using A Cron Job To Grab Daily Travian Map.sql Updates(3)
  7. Top 5 Epic Games You've Played?(3)
  8. Real Predator Game (multiplayer Mode Idea)(1)
  9. [idea] A New Open Source Racing Game(1)
  10. How Do Violent Video Games Affect Children?(7)
  11. Unique Idea. Aromatherapy, Aromadesign And Aromas.(0)
  12. The Nokia Morph (cellphone Uses Nanotechnology)(0)
  13. An Idea Of Trap17 Web Application(3)


 



- Lo-Fi Version Time is now: 11th October 2008 - 12:01 AM