Results 1 to 17 of 17

Thread: Building Browser Games

  1. #1
    Slllluuurp Reputation: 20
    Roxane's Avatar
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    1,413
    Rep Power
    8

    Default Building Browser Games

    Ever wanted to build a browser game?

    Building Browsergames (http://buildingbrowsergames.com) is a blog geared towards the beginning to intermediate developer that is interested in building their own browsergame. It provides insights in different technologies used, has frequent blog updates, and offers an exentisve list of tutorials to get started yourself! Find everything you need to know to build your own browser game!


    As a bonus, the developer of http://buildingbrowsergames.com is here on our forums! You can ask him anything directly in this thread and he will answer you.



    "Whip out all evils!" - Aurora Blade
    "Nine Destinies, Infinite Possibilities!" - Dragon Oath
    "Revenge is a waste of time." - Warrior Legend
    "Colonize Stars, Conquer the Space" - Galaxy Online (<3 IGG)
    "To survive or to die, use your wise!" - Rise of Empire
    "Players can ban together!" - Maple Story

  2. #2
    Retired Staff Reputation: 75
    Eriond's Avatar
    Join Date
    May 2006
    Location
    Montreal
    Posts
    1,790
    Rep Power
    12

    Default

    Thanks! I'm assuming this is you, the developer? I didn't know you were into development! You should hang around here more often.
    THIS MA SIGNATURE

  3. #3
    Sun? What Sun? Reputation: 23
    firesnowball's Avatar
    Join Date
    Jan 2007
    Posts
    981
    Rep Power
    10

    Default

    Heres a question I have had for a while:
    For hosting a PBBG, what would you reccomend?

    Thanks,
    FSB

  4. #4
    Marios's Mustache Wax Reputation: 10

    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    0

    Default

    I'm afraid you're incorrect, Eriond - as I'm the primary editor/owner of Building Browsergames. Roxane was just interested in getting the word out.

    firesnowball: what language is your game built in? The tools you're using will affect your hosting options - if you want to build your game with Ruby on Rails or Django, you're looking at something like dedicated hosting or a VPS, as most shared hosts tend not to offer the setup that you'll be looking for.

    On the other hand, if you're building your game with PHP, virtually any shared host will do - how much are you looking to spend? Personally, I use Slicehost for all of my hosting needs, but they're a bit pricey($20 USD/month) if you're just starting out and don't know what you're doing. If all you need is a place to put your game, shared hosting should do you just fine.

  5. #5
    Sun? What Sun? Reputation: 23
    firesnowball's Avatar
    Join Date
    Jan 2007
    Posts
    981
    Rep Power
    10

    Default

    Thanks! I am using PHP currently to build my game and I have been looking as slicehost as an option, but it is good to know that shared hosting will work for now.

  6. #6
    Link's Dirty Sock Reputation: 10

    Join Date
    May 2009
    Posts
    40
    Rep Power
    8

    Default

    Or you can can make your computer a web server :P, very easy, and its free , although i wouldn't suggest sortten your codes like <?php will become <?... it becomes weird, and some shared hosting/hosting websites don't allow short cuts, atleast the ones i used.

  7. #7
    Retired Staff Reputation: 75
    Eriond's Avatar
    Join Date
    May 2006
    Location
    Montreal
    Posts
    1,790
    Rep Power
    12

    Default

    Quote Originally Posted by Aether5569 View Post
    Or you can can make your computer a web server :P, very easy, and its free , although i wouldn't suggest sortten your codes like <?php will become <?... it becomes weird, and some shared hosting/hosting websites don't allow short cuts, atleast the ones i used.
    It's a good idea; but most ISPs don't allow you to do this, and can actually terminate service if they catch you at it.
    THIS MA SIGNATURE

  8. #8
    Link's Dirty Sock Reputation: 10

    Join Date
    May 2009
    Posts
    40
    Rep Power
    8

    Default

    The only one i know that doesn;t allow it is verizon fios, Time warner does... I know that for fact because i do it all the time. It seems like verizon is kinda strict on their internet stuff.

  9. #9
    Marios's Mustache Wax Reputation: 10

    Join Date
    Jun 2009
    Posts
    6
    Rep Power
    0

    Exclamation

    Quote Originally Posted by bbrowsergames View Post
    On the other hand, if you're building your game with PHP, virtually any shared host will do - how much are you looking to spend? Personally, I use Slicehost for all of my hosting needs, but they're a bit pricey($20 USD/month) if you're just starting out and don't know what you're doing. If all you need is a place to put your game, shared hosting should do you just fine.
    What about speed, however? If we assume you are developing a PHP MMO which may have 500+ people connected simultaneously won't a dedicated server be required to handle the bandwidth? Also you may end up paying for extra bandwidth your users are taking up.

  10. #10
    Marios's Mustache Wax Reputation: 10

    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by DevilDawg View Post
    What about speed, however? If we assume you are developing a PHP MMO which may have 500+ people connected simultaneously won't a dedicated server be required to handle the bandwidth? Also you may end up paying for extra bandwidth your users are taking up.
    I would be wary of making "you need a dedicated server when [foo]" statements - your game's needs will dictate what sort of server you need(and if you encounter speed problems, you should benchmark your game to try and figure out where the slowdowns are; dedicated servers are not an instant solution to any problems). If you have 1000 players simultaneously connected but are only serving flat files or cached pages to them, you'll be able to support far more players on a smaller server(or shared hosting) than you would with 25 players connected to pages that are running thousands of calculations.

    Bandwidth requirements are also something that vary from game to game - an image heavy game will easily chew through two or more times the amount of bandwidth that a game without images will use - again, it all depends on the specifics of your game. Personally, I have yet to encounter a situation where the amount of bandwidth that a host provided me with wasn't more than enough for what I needed.

  11. #11
    Marios's Mustache Wax Reputation: 11

    Join Date
    Jul 2009
    Location
    Antwerp, Belgium
    Posts
    10
    Rep Power
    7

    Default

    Hi!

    I have made several browser games in the past (Nickotopia, Neranex), and I would like to add a few remarks to building a browser game.

    If you are making a true browser game, one that solely uses clicks to make requests I believe you should use a good webhost with PHP and MySQL. Although bandwidth is important, it is as much of an importance as it would be on any other sites. I don't think a browser game chews up more bandwidth. I made a mmorpg using keystrokes and AJAX, and it was really fast enough.

    If you are make a browser game that reads keystrokes, but not necessarily uses a flash or java apllet, I think you might want to try hosting on your own. One of the benefits is that you can use an external server which can connect straight to your site's database. This was one of my disadvantages for a school project we had, since we couldn't display the user stats on our webpage for a certain player from the game server. Most hosts don't like it when you want an external application to connect to your site's database.
    Nickmania - a free game development portal with games depot

  12. #12
    Marios's Mustache Wax Reputation: 10

    Join Date
    Sep 2009
    Posts
    6
    Rep Power
    0

    Default

    that's good! gj

  13. #13
    Marios's Mustache Wax Reputation: 10

    Join Date
    Oct 2009
    Location
    Canada
    Posts
    1
    Rep Power
    0

    Default

    As far as bandwidth is concerned you have allot of options. Images tend to take up a large bulk of bandwidth. Here are some strategies we have looked into during the development of legacy of warriors:

    Image compression
    You can adjust the compression of jpegs, and if your images fit within the 256color range you can make them 8 bit pngs, have a look online for jpegtran, pngcrush and pngquant.

    Cache control
    Make sure the images are being cached in the browser so that users arenít downloading them every time they visit a page.

    CSS Sprites
    You can combine multiple images into one and use background-position to get the individual images out. This reduces number of requests and can help with compression if the images have any similarities.
    Legacy of Warriors - in development.

  14. #14
    Still learning the ropes Reputation: 10

    Join Date
    Nov 2008
    Location
    The United States! Where recission is ripping us apart! YAY! *claps*
    Posts
    20
    Rep Power
    8

    Default

    >.>

    I have often tried to go to the site, but I am unable to.... Any idea why that is?
    <a href="http://www.fodey.com/generators/animated/ninjatext.asp"><img src="/results/r9/2037/2ac89e91a21049419b50775a42c0a608.0.gif" border=0 width="497" height="119" alt=""></a>

  15. #15
    Marios's Mustache Wax Reputation: 10

    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    0

    Default

    Unfortunately, there seems to be an error somewhere within my Wordpress install that occasionally causes an infinite loop that chews up all the memory on the server; at that point, things crash.

    It seems to happen intermittently, but has been happening more and more frequently lately - I've been trying to troubleshoot it, but it's difficult to find the time.

  16. #16
    Marios's Mustache Wax Reputation: 10

    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    0

    Default Game Dev Team Question

    I am looking to build a game similar in action as Dark Orbit. Not quite a clone, but the programming would be closer to this game than any other. I am looking for any advice to putting my team together, the programming language needed (like Flash/Flex) and any other things I might not be considering.

    I am a PHP, business applications developer and graphic designer (comes with the territory), so not completely clueless.

    I have quotes from outsourced companies (India, checkoslovakia, etc..) but am worried about distance and communications issues.

    I am also looking to learn how to do it myself if need be as my efforts to recruit developers in California has greatly failed. Thanks in advance for any advice.

  17. #17
    Marios's Mustache Wax Reputation: 10
    cheeseoboi's Avatar
    Join Date
    May 2010
    Posts
    5
    Rep Power
    0

    Smile Thanks

    wow thanks for this it is realy good thanks again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •