How to create an online game like ogame

Closed
vince -  
Stazus Posted messages 110 Status Member -
Here is what I would like to create an online game like OGame or e-universe, but I don't know how to do it. I'm not a whiz at computer science, but I do know a fair amount. I have some knowledge of XHTML and CSS.
Configuration: Windows XP Firefox 2.0.0.7

52 answers

  • 1
  • 2
  • 3
  1. yozart Posted messages 40 Status Member 1
     
    To create sites like oGame, you will need to manage PHP and SQL.

    -> Neo2099: for your timer, record the end time of your new building's construction in the database. You just need to create a JavaScript timer that will take as its value the difference between the current date and the date available in the database. (provided that your database is structured in a model like...)
    28
  2. kekeasm Posted messages 55 Status Member 7
     
    You've been told: php, SQL, html/css.
    26
  3. neo2099 Posted messages 164 Registration date   Status Member Last intervention   12
     
    Ummmm, with friends, it's been about a year since we started creating a game like OGame and we’re not close to finishing. The languages you master (a bit) are far from sufficient; we're at PHP and SQL and it's already not great since I, the programmer, am struggling to make the little countdown like in OGame. That's all that's left to do before the game goes online.

    If you want any advice, message me.

    Good luck!
    24
    1. kris
       
      Hello, can you give me the name of the site where you created your game please, thank you for responding.
      0
      1. xDarkSegnorx Posted messages 3 Status Member > kris
         
        If you want to create one too, I'm ready to help you, if you're willing.
        0
  4. prisonbreak4747
     
    Shit, but you guys are clueless. They tell you to follow the tutorials from the "Site du Zero." If you want to do it, learn to read the answers before posting! Personally, I've followed the tutorials from the "Site du Zero," and I'm currently developing a game like Ogame, and the only XHTML and PHP tutorials from this site were enough for me, alright!
    The forum is getting banal; we're posting recklessly!! blah blah
    Soon you'll be posting your homework for us to do it for you!
    Before posting, go see your best friend: !! Google!!

    Best regards, prisonbreak4747
    20
    1. neo2099 Posted messages 164 Registration date   Status Member Last intervention   12
       
      You're absolutely right, and the thing is, everything is filled with major spelling mistakes. I saw one, wow, instead of writing "that I saw," it was written "seen dumb." Ugh, what a bunch of idiots, lol.
      0
      1. rudolphe > neo2099 Posted messages 164 Registration date   Status Member Last intervention  
         
        Salut, tu proposais de l'aide pour faire un jeu comme Ogame. J'ai déjà été un peu sur le site du zéro, mais certaines choses que je ne comprends pas. J'ai 16 ans, mais j'aimerais faire de ma carrière dans cette direction de la programmation. Pourrais-tu m'aider ? Merci.
        0
      2. gastonlagaffe > rudolphe
         
        whosgame.com is an online game creator.
        0
    2. Deimon's Blood
       
      Well said ; )
      These 10-year-olds really get on my nerves, having no desire to learn programming and just wanting us to create an online game while they watch Pokémon!
      I started programming at 11, and now I'm almost 15, but I'm only going to tackle networking now, starting with something simple.
      Just so you know, Dofus is programmed in Flash, and you can really tell, so don't pretend to be knowledgeable by saying C++ or SDL; if you don't know what that is, there's no point in using those terms.
      0
  5. sonico Posted messages 152 Registration date   Status Member Last intervention   17
     
    Basically, for a game like Ogame, you need to know:

    PHP like a pro, SQL pretty well, HTML and CSS are mandatory (for all websites).
    JavaScript is also useful for quite a few things.

    To learn these languages, I recommend the site "Du Zero" for the basics, beginner PHP for sessions or other useful things.

    You should first practice on something easier and especially structure your code well, otherwise it will be a mess.
    I wanted to make a game too, but I coded in a too haphazard way, and I had difficulty after a while.
    I then abandoned my project and moved on to something else with more discipline in my writing to directly understand what I'm doing, cutting my code into sections accordingly.
    I advise all of you to do the same; otherwise, you will surely struggle to read your code after a while.

    To start, you should always do something simple and not dive into details right away.
    I'm speaking from experience.

    For a game like Dofus, it's a whole other level.

    You definitely need to know Java and many other languages like C and C++. It's not the same story.
    16
  6. canardbrochette Posted messages 7 Status Member
     
    Well, let's clarify things

    The Zero site is the reference for those starting from scratch (obviously)
    I myself followed their tutorial and I admit that it's pedagogical but not necessarily easy (I still succeeded!!)
    Anyway, I have my online game (like Ogame, a bit focused on e-universe)
    It's

    http://warmaniac.890m.com/login.php

    Do you want to see what it can do to learn properly and patiently PHP and SQL? Then click on this link ;)

    I started from the Zero site!!

    There's also a game called Ugamela (good to start with basic skills but full of bugs and not easy to modify)

    In a word: PHP and SQL POWAAA

    To those who understand...goodbye.
    10
  7. Mycki Posted messages 113 Status Member 46
     
    Ouch! Dofus is going to be much more complicated than Ogame!!! Ogame is just calculations (boring, for sure, but still just calculations).

    Dofus is an RPG. You have a ton of parameters to manage... PHP and SQL will be obsolete here! Well, more PHP than SQL, since you'll need a database.
    I don't know if you've noticed, but Dofus is a game that doesn't run in a browser. So it's probably developed in Java, C, C++, or some other language. But not in a web language.
    Finally, there's a graphical interface that also needs to be set up, with movement, and also combat, with dice rolls.

    Basically, you're going to struggle hard!
    --

    Necessarily, chance has a lot of power over us, since we live by chance.
    9
  8. neo2099 Posted messages 164 Registration date   Status Member Last intervention   12
     
    Hello,

    I followed the exact same path as you, canardbrochette; I also started from scratch and followed the same tutorials. I also looked at the ugamela sources for inspiration, and my game is practically finished (despite the many bugs). It's true that it's absolutely not easy at all; it requires a lot of patience and calm. It's true that in one word, PHP and SQL are a must, along with a bit of JavaScript, lol.
    4
  9. Prirawien Posted messages 124 Status Member 49
     
    Good evening,

    I left the Zéro site, and for about a month, I studied PHP (I still use their site to double-check my basics). Then, it's quite simple—I started creating a game in the style of OGame but medieval. After 15 failed projects and two years later, here I am again, and I have the solution: Never go at it alone. The optimal setup for me is one, maybe two, graphic designers (no more!) and between two and four coders (no less, no more either!) AND friends. Why friends? To support you, to help you, to advise you.
    With that, in a few months of hard work, you'll succeed. Personally, it's been three months since we started our game (http://synoree.franceserv.fr for those interested), it's now in beta version and will be released soon; it would never have come to fruition without the dozens of people who helped me simply with their advice, my two graphic designers, and the second coder.

    A word to the wise!

    Prirawien
    4
  10. Panoramix le druide
     
    Forget it for those who are pessimistic... the only way to succeed (which I have long followed) is to rely on "the zero site" and yes...
    But you will need a lot of patience, ingenuity, and of course, willpower.
    For those who are capable, I say good luck...

    There are several steps to creating a website:

    (1) Work on XHTML followed by CSS. Type: "the zero site html"
    (2) Work on PHP. Type: "the zero site php"

    From there, you will know what a website roughly looks like... Of course, first of all, you will need to get used to this kind of situation... It takes about 7 to 8 months... but I don't think you'll continue...

    You have programming:

    (3) Learn C
    (4) Learn C++

    This will take you about 1 year to program well... For the composition of your game, it will take you roughly 7 to 8 months...
    I just want to tell you that I made it, but I didn't take the time to program well even if... anyway, I don't have imagination... and yes...
    3
  11. kekeasm Posted messages 55 Status Member 7
     
    What kind of game do you want to create?
    3
  12. canardbrochette Posted messages 7 Status Member
     
    Yes, at the moment I forgot to mention the JavaScript, but there's the HTML for the templates and the left menu, and finally the CSS (I didn't do the skin^^)

    Anyway, patience powa ;)

    __________________

    http://warmaniac.890m.com/login.php
    3
  13. canardbrochette Posted messages 7 Status Member
     
    By kekeasm, on Thursday, February 21, 2008 at 7:13:10 PM

    We've already told you: php, SQL, html/css.

    No need for 36 lines...

    For all the lazy ones who want their game done for them and (copied) from another, I say

    working is healthy (even on the computer^^)
    3
  14. Prirawien Posted messages 124 Status Member 49
     
    You guys are really a bunch of idiots. Everywhere you are told what to do and you keep wanting a game in 3 seconds. There's nothing we can do for you...

    Ospace, your game is stylish, it's... a forum -_-"
    3
  15. demonbak Posted messages 30 Status Member 3
     
    there is also jcray to create online management games
    http://jcray.com/
    3
  16. Stazus Posted messages 110 Status Member 4
     
    Good evening, to create a site like Ogame, knowledge of xHTML and CSS is not enough; it is required but not sufficient. You will need to learn PHP and MySQL data management, but also, for your site to work, it’s not enough; you need something that other sites don’t have, or that the feature is rare on sites. Let me explain:
    JavaScript/AJAX are two very useful programming languages that make websites dynamic, even though AJAX is made up of JavaScript ^_^. There's also Flash and plenty of other languages ^^.
    This is not to discourage you; on the contrary! It would give you a "boost" to learn web programming knowing that all this will be useful for something concrete.
    There you go :) Good luck and take care!
    Stazus :p
    3
  17. Stazus Posted messages 110 Status Member 4
     
    Xenath, Dofus is a Flash game, so to create an equivalent, you will need to manage Flash programming. I've also noticed that there are traces of database management in the game and a bit of HTML (o_o that's crazy) and I think other languages are present in the mix \o/. As for the database, I think we're beyond MySQL and onto Oracle ^^" anyway, I think Ankama hired C++ developers to create a program to make their job easier, but don’t think they paid for a program to put online for download ^^"
    Stazus :p
    3
  18. cheillot
     
    Merci pour tes renseignements, mais j'ai encore une question : c'est quoi le PHP, SQL ?
    2
  19. neo2099 Posted messages 164 Registration date   Status Member Last intervention   12
     
    Good evening,

    Sorry for not replying sooner, but I am quite busy at the moment (studies, + strike)
    Send me a private message and I'll give you my MSN address; I prefer not to share it publicly like this lol
    1
    1. teddyer Posted messages 1 Status Member
       
      Hello,

      I came to the forum ( https://www.commentcamarche.net/ ) and I saw you were explaining how to create a game like OGame, and I would like to know how you do it by giving me your MSN address.
      .


      Thank you for your response, see you later.
      0
    2. quentin
       
      envoie ton adresse MSN s'il te plaît pour que tu m'expliques des trucs s'il te plaît
      0
  20. neo2099 Posted messages 164 Registration date   Status Member Last intervention   12
     
    I did everything in PHP, even the counter (with a little bit of JavaScript), but I'm still struggling; my script has become a big mess and since I don't have much time to tidy it up, I get confused, make mistakes, and then it annoys me, lol.
    1
  • 1
  • 2
  • 3