View unanswered posts | View active topics It is currently Fri Nov 24, 2017 10:06 am



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
 New... working on a Battle/RPG type of game 
Author Message
Junior Member

Joined: Mon Sep 28, 2009 4:24 pm
Posts: 4
Post New... working on a Battle/RPG type of game
Hey all, I am pretty sure everyone here knows well the famous Facebook games... well I am working on trying to work on the basic idea of a new type of game, still having the same type of Mafia Wars, Vampire Wars and Hero World... so I am NEW to php programming, I am good at HTML but thats old schoold now.

So I guess I need some help on where to go, what to read and what to use to work on this, can someone help me please? Thanks I appreciate teh help :)


Mon Sep 28, 2009 4:43 pm
Report this post
Profile
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post 
Wish I could but you need more than just PHP to make a game, it must contain a little C for a real game, but if you wan't a simple game, you can use PHP :D


Mon Sep 28, 2009 4:51 pm
Report this post
Profile
Junior Member

Joined: Mon Sep 28, 2009 4:24 pm
Posts: 4
Post 
So I need to use CPHP??? Okay thats new to me... so any ideas someone that can help me out with that, jsut guide me not he right direction, I am not asking for someone to make the game, just to get someinfo on what to work or something.


Mon Sep 28, 2009 4:53 pm
Report this post
Profile
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post 
C has it's own programming, a little similar to PHP, but actually is quite different. You can't run it on localhost either. I don't know a thing about C programming, but that's pretty much what I know, and as I said, C cannot be ran on localhost, but a certain program for it to read.

(And it can be quite confusing in some ways :D because when I looked at a tutorial of how to program PHP, it was a mash bash of codes lol)


Mon Sep 28, 2009 5:25 pm
Report this post
Profile
Junior Member

Joined: Mon Sep 28, 2009 4:24 pm
Posts: 4
Post 
So what kind of programming does Mafia Wars, Vampire Wars have? Can someone explain to me that plz


Mon Sep 28, 2009 5:32 pm
Report this post
Profile
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post 
This?

http://www.php-editors.com/forums/php-games/6473-php-maffia-game.html


Mon Sep 28, 2009 6:29 pm
Report this post
Profile
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post 
Nvm probably not what you were talking about, but, if you can give me a URL I can identify it.

The closest to a PHP would be Guest The Number :D

[PHP]
<?php
echo "<html><body>";
if ($_POST["guess"]) {
$guess=$_POST["guess"];
$res=rand(1,5);
if ($res == $guess) {
echo "Congratulations - you guessed the correct number - ".$guess."!";
}
else {
echo "Sorry - ".$guess." was not the correct number - the correct number was ".$res."!";
}
}
else {
echo "Guess a number:
";
echo "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
echo "1. <input type=\"radio\" name=\"guess\" value=\"1\">
";
echo "2. <input type=\"radio\" name=\"guess\" value=\"2\">
";
echo "3. <input type=\"radio\" name=\"guess\" value=\"3\">
";
echo "4. <input type=\"radio\" name=\"guess\" value=\"4\">
";
echo "5. <input type=\"radio\" name=\"guess\" value=\"5\">
";
echo "<input type=\"submit\" name=\"Submit\" value=\"Submit\">";
echo "</form>";
}
echo "</body></html>";
?>
[/PHP]


Mon Sep 28, 2009 6:30 pm
Report this post
Profile
Junior Member

Joined: Mon Sep 28, 2009 4:24 pm
Posts: 4
Post 
Sort of... I was thinking of

http://apps.facebook.com/inthemafia/links.php?zy_link=bookmark&fb_sig_added=1

Mafia Wars from ZYNGA in Facebook.


Mon Sep 28, 2009 6:46 pm
Report this post
Profile
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post 
I can't view facebook because I am not a member.


Mon Sep 28, 2009 6:48 pm
Report this post
Profile
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post 
But as I said as I quoted, the PHP guess number game, that's about as close as a game as you can get in PHP.


Mon Sep 28, 2009 6:49 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.