#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2006
    Posts
    8
    Rep Power
    0

    Lightbulb A little starting help..txt Game with SQL?? or else?


    Hi,

    My name is Dennis. I have taken C++, Java,web design and VB classes in a private school.(i also took all the basic classes but they don't matter much)

    I have played many games and found many good games(almost all platforms) and many bad games. The more i played them the more i wanted to make the game on my own.

    I joined this website, but there is just too much information bunched(dont know if its a word hehe ) together and never really find what i want.

    At first i want to learn how to make a text based (with some graphics) game that will allow users to log in in browser, do attacks blah blah blah and be able to attack other people that joined. I looked hard and found [High Decent] ~ highdecent.com ~ is almost of what i want, of course not close or same. I already have all the plans thought out and have started drawing basic ideas. All i need is to know what language? where i can find other help based on that? and is there any open source? and if i be able to do the same on a free posting website (like tripod.com) as alpha only 10 people being able to use.

    I have great motivation, plans, and mostly time to work on this project. This is mainly just to learn and not for profit(of course if turns out great i will find some way to make profit... but its not the main goal) SQL?(noticed that when error use to be) i would love to learn it more just give me the basic idea of it and maybe a website.

    Also if there are other project like this, i would love to join and see progress, code, and learn from it.

    i am sorry about the spelling

    Thanks for reading this
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    98
    Rep Power
    8
    If you're wanting to create a browser based game than you'll want a language that can easily interact with the client side of things. PHP and the .NET languages are the most popular for this sort of thing.

    If you're wanting something a little more graphic then it'll have to be flash to be browser based.

    I'm pretty sure tripod doesn't support this kind of thing, but I bet you can find a free host that does. Let me know some more details of how you're wanting to implement the game and I'll see if there's any other way I can help.
  4. #3
  5. No Profile Picture
    rebel with a cause
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    May 2004
    Location
    The Batsh!t Crazy State.
    Posts
    5,817
    Rep Power
    3462
    Just so you know, game programming is seriously difficult. However, There are several books and tutorials out there that can help you get started. You can use just about any language. The favorites being C++, Java, and Python. I would go with whatever you already know best. You should also check out the game development forum here on Devshed.

    But for now, I'd suggest taking a trip to your local bookstore or bookselling website and browse through what they have in the game development section.
    Dear God. What is it like in your funny little brains? It must be so boring.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2005
    Posts
    63
    Rep Power
    25
    For web based game, have a look and read through this tutorial: http://linuxformat.co.uk/wiki/index.php/PHP_-_Interfict_planning (note, there are sevel parts to this tutorial, http://linuxformat.co.uk/wiki/index.php/LXF_Tutorials)

    It's written for Php, but you should be able to convert it to other language if you wish, and even if you don't, it has lots of useful info on designing and implementing a game from ground up.

    Comments on this post

    • Tekken agrees : Thanks for the PHP resource
  8. #5
  9. Providing fuel for space ships
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2004
    Location
    nr Edinburgh, Scotland
    Posts
    14,382
    Rep Power
    3848
    Moved from Beginner Programming to Game Development.
    The No Ma'am commandments:

    1.) It is O.K. to call hooters 'knockers' and sometimes snack trays
    2.) It is wrong to be French
    3.) It is O.K. to put all bad people in a giant meat grinder
    4.) Lawyers, see rule 3
    5.) It is O.K. to drive a gas guzzler if it helps you get babes
    6.) Everyone should car pool but me
    7.) Bring back the word 'stewardesses'
    8.) Synchronized swimming is not a sport
    9.) Mud wrestling is a sport
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2006
    Posts
    8
    Rep Power
    0
    hmm that is very helpfull. Php and .Net

    I have already read several books on multiple subjects, but none of them included the part about Php. So there are several free hosters that may host my project (and not tripod), you guys would know any good onces please let me know.

    And defenately i will hold the flash and java code back...first have to learn my way thru, which wont be a huge problem.

    Also is there any way i can put the project on my computer, and use it just for my own testing, like being able to register, and pretty much simulate the same thing, but just not being connected.

    Any tools recommended?

    thanks
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2006
    Posts
    2,270
    Rep Power
    1736
    Let me try and summarise your questions. Q1: What languages and technologies do I need to learn to make a web based game? Q2: If I do make a game,how did I get to test it for free?

    You'll need to learn at the very least three things: how to make webpages (HTML, CSS, Javascript/AJAX), a server-side language (PHP, Python, Ruby, ASP.NET), and how to use databases.

    You said you took web design so you should know how to go about making a website (design part). You'll need to know a programming language that a HTTP server can use. PHP, Python, Ruby, Perl, and ASP.NET are well known choices. So is Java, by the way. If you have dealt with JSP, then there you go.

    Finally, you will have to use a database. The most popular choice is MySQL. You'll need to learn how to design your table structure properly and efficiently. SQL is a standardised language that all databases can use. It allows you to manipulate and work with databases.

    While you're at it, you may at least want to deal with setting up the webserver and database server, at least for development purposes. If your alpha testing stage involves very few people, you may want to just have them use your personal development servers, running on your computer, or whoever has good bandwidth and a decent computer.

    Look into Apache for HTTP server and MySQL for database.

    Comments on this post

    • displeaser agrees
    When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.

    Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you.
    Want better answers? Tell us what you Googled for and what steps you took to answer your own question.
  14. #8
  15. <?PHP user_title("gimp"); ?>
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2005
    Location
    Internet
    Posts
    7,652
    Rep Power
    6084
    I found one of the best ways to learn PHP (if you decide to use it) was to set up my own computer so I wouldn't have to deal with annoying hosting restrictions. So, I would recommend you learn your language and make your alpha version of your game locally. If you want you can also open up a port so some friends can play this, but beware of getting shut down by your ISP (I never was shut down, but they usually will shut you down if you get a lot of traffic).

    So: Look into Apache (or possibly Tomcat if you want to use JSP/Servlets) for the web server, PHP or JSP or .NET for the programming language (I recommend PHP - simple to learn), and MySQL (or any other database) for your database.

    If you need them, there are some free php hosts that will put an ad on top of your page or something. If you don't like that, you can pay someone a few bucks a month for hosting.

    Oh, and as CJ said, game programming isn't simple. Don't jump straight into the game, work on simple user interaction first (maybe a simple forum that can be coded in a few hours?)
    Chat Server Project & Tutorial | WiFi-remote-control sailboat (building) | Joke Thread
    “Rational thinkers deplore the excesses of democracy; it abuses the individual and elevates the mob. The death of Socrates was its finest fruit.”
    Use XXX in a comment to flag something that is bogus but works. Use FIXME to flag something that is bogus and broken. Use TODO to leave yourself reminders. Calling a program finished before all these points are checked off is lazy.
    -Partial Credit: Sun

    If I ask you to redescribe your problem, it's because when you describe issues in detail, you often get a *click* and you suddenly know the solutions.
    Ches Koblents
  16. #9
  17. Periodically energetic Perler
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2005
    Location
    Dublin, Ireland
    Posts
    2,265
    Rep Power
    538
    Have a look at this tutorial for php, goes into the basics of php and also has all the links you need for MySQL / Apache and PHP.

    The PHP Homepage has the full PHP documentation and some other goodies you may be interested in.

    The PHP Forum is a good place to get answers to problems you run into when learning PHP.

    Hope this helps.
    Displeaser
    Vi Veri Veniversum Vivus Vici.
  18. #10
  19. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2006
    Posts
    8
    Rep Power
    0
    I already have the knowledge how to use htlm and java to the point where i could build it just using these, but when i tried it, made a mini version of it, its not capable of exactly i want, so I defenetly need Php and Sql.

    Am i correct or did i miss something.

    And yes i have already programmed some programs in Java, and VB, so i am not a total noob that will jump in and try to make the game right away. (just need to clarify that).

    Thank you all those that have responded and have given me an idea.
  20. #11
  21. Periodically energetic Perler
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2005
    Location
    Dublin, Ireland
    Posts
    2,265
    Rep Power
    538
    IMHO, the one thing you need to do, is think about what you want, strip out everything thats not initially needed and get that working first. If you try implement too much you will start to get frustrated. Think of it as a a 5 point plan. Initally you'll get the idea together, then you'll flesh out the characters/npcs, then you'll start fleshing out the world(game environment), then you'll work out how things interact with th e world and then you'll add the things you always wanted in a game

    Writing a game is not a trivial thing but with some patience and perserverence you will get it down, if you put in the effort (ands theres a lot of effort needed).

    Dont forget there is mysql/Php/Apachine and game development forums here at the shed, so if you run into problems, show us what they are & we will gladely help.

    Displeaser
    Vi Veri Veniversum Vivus Vici.
  22. #12
  23. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2006
    Posts
    8
    Rep Power
    0
    Well, i have looked up MySQL, Apache, and Php, and i haven't really found anything that i can use to construct. Anyone has any websites that i can go for this?

    Now I understand some things, but I haven't been able to get is how do i change from code - php - htlm/phtml usable.*i know that doesn't make much sense but here is exactly what i mean:

    (URL address blocked: See forum rules)

    php with html tags to Php/Server - the problem is that since i am new i have no idea how to start out, and having the tools i need. Learning the language is obsolutly no problem, but having the right tools and advice how to start is.

    thanks for reading, and hopefully you can help me out a bit
  24. #13
  25. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2006
    Posts
    8
    Rep Power
    0
    oh nvm, i have figured this out.

IMN logo majestic logo threadwatch logo seochat tools logo