New... working on a Battle/RPG type of game
Author |
Message |
johndoe666
Junior Member
Joined: Mon Sep 28, 2009 4:24 pm Posts: 4
|
 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 |
|
 |
XAMPP_LocalHost
Junior Member
Joined: Sun Sep 13, 2009 4:08 pm Posts: 54 Location: United States Of America
|
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 |
|
 |
johndoe666
Junior Member
Joined: Mon Sep 28, 2009 4:24 pm Posts: 4
|
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 |
|
 |
XAMPP_LocalHost
Junior Member
Joined: Sun Sep 13, 2009 4:08 pm Posts: 54 Location: United States Of America
|
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 |
|
 |
johndoe666
Junior Member
Joined: Mon Sep 28, 2009 4:24 pm Posts: 4
|
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 |
|
 |
XAMPP_LocalHost
Junior Member
Joined: Sun Sep 13, 2009 4:08 pm Posts: 54 Location: United States Of America
|
|
Mon Sep 28, 2009 6:29 pm |
|
 |
XAMPP_LocalHost
Junior Member
Joined: Sun Sep 13, 2009 4:08 pm Posts: 54 Location: United States Of America
|
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 |
|
 |
johndoe666
Junior Member
Joined: Mon Sep 28, 2009 4:24 pm Posts: 4
|
|
Mon Sep 28, 2009 6:46 pm |
|
 |
XAMPP_LocalHost
Junior Member
Joined: Sun Sep 13, 2009 4:08 pm Posts: 54 Location: United States Of America
|
I can't view facebook because I am not a member.
|
Mon Sep 28, 2009 6:48 pm |
|
 |
XAMPP_LocalHost
Junior Member
Joined: Sun Sep 13, 2009 4:08 pm Posts: 54 Location: United States Of America
|
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 |
|
 |
|
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
|
|