Jump to content

Creating Browser/Web based games, How to?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
Unknown2dark

Unknown2dark

    Newbie

  • Members
  • PipPip
  • 18 posts
I was just wondering, how can I start making a Browser/Web Based Game (dunno what they are called).. but not really a flash game, more like neopets (used to play it as a kid :P), Mafia Wars (facebook), a game that mainly uses text and small graphics, not like those free online flash games and stuff.. So any good tutorials about how to make them, and which languages I need?

PS. Sorry if it's posted in the wrong forum..

Posted Image


#2
Smilex

Smilex

    Learning Programmer

  • Members
  • PipPipPip
  • 84 posts
you need to know HTML, CSS, Javascript and PHP. Then I think you are good to go

#3
Unknown2dark

Unknown2dark

    Newbie

  • Members
  • PipPip
  • 18 posts

Smilex said:

you need to know HTML, CSS, Javascript and PHP. Then I think you are good to go
Sorry, but to what level, Expert or just the basics?? and any site/book that can help making the games or i have to figure it out myself after i learn those 4?

Posted Image


#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,120 posts
  • Location:Vancouver, Eh! Cleverness: 200

Unknown2dark said:

Sorry, but to what level, Expert or just the basics?? and any site/book that can help making the games or i have to figure it out myself after i learn those 4?

A game like mafia wars is in theory very simple, it is just a PHP game (imagine a turn based text game you make in PHP) but has Javascript dynamically fetching the game without requiring the user to reload the page each event. Javascript can use a method called AJAX to asynchronously call backend PHP scripts/database information without needing to reload the page, to make it user friendly. I would recommend learning PHP first (Game), and then AJAX (game interface), and then CSS (if you want it to look nice)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
Unknown2dark

Unknown2dark

    Newbie

  • Members
  • PipPip
  • 18 posts

Alexander said:

A game like mafia wars is in theory very simple, it is just a PHP game (imagine a turn based text game you make in PHP) but has Javascript dynamically fetching the game without requiring the user to reload the page each event. Javascript can use a method called AJAX to asynchronously call backend PHP scripts/database information without needing to reload the page, to make it user friendly. I would recommend learning PHP first (Game), and then AJAX (game interface), and then CSS (if you want it to look nice)
Thanks Alexander, and thanks too Smilex, i began working on my CSS and PHP, will look for the AJAX later :D

Posted Image





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users