Author Topic: Starting  (Read 821 times)

Offline BorisPD

  • Level 1
  • *
  • Posts: 1
  • Reputation: +0/-0
    • View Profile
Starting
« on: September 30, 2011, 06:53:57 AM »
So,I wanna learn to create browser game,but I have very low knowledge in MySQL and PHP...I know HTML and CSS...I know that I need to learn mysql and php,but I dont know what to create,I wanna learn while creating interesting things....
Can you give me some "missions" on what to create with mysql and php...

Offline BlackScorp

  • Level 15
  • *
  • Posts: 123
  • Reputation: +6/-0
    • View Profile
    • Cruel Online
Re: Starting
« Reply #1 on: September 30, 2011, 08:10:48 AM »
Hey welcome to the forums,

i dont would suggest you to make a Browser Game as Newbie, i would suggest to make a small homepage and extend it.
First make the homepage with a guestbook , including BBCode and Captcha. After it create an admin control panel to edit the guestbook entrys. if youre done with it you learned somethink about security of userinput, and authentification.

once yove got your page i would suggest to take an open source script, install it and try to modify somethink ingame.
(here is a nice RPG OpenSource Script http://sourceforge.net/projects/worldofkallen/)

if you think you can understand the code which other ppls made, i would suggest you to install an OpenSource PHP Framework and remake your homepage with that Framework to learn basics.
(Kohana Framework http://kohanaframework.org/ seems to be a good and powerfull framework)

and if youre done your page with that framework, you can beginn with your first Browser Game.

Best regards BlackScorp

Offline andrewjbaker

  • Level 17
  • *
  • Posts: 154
  • Reputation: +2/-0
    • View Profile
    • Fleeting Fantasy
Re: Starting
« Reply #2 on: September 30, 2011, 08:33:26 AM »
Check this out BorisPD... http://buildingbrowsergames.com/tutorials/

And welcome to the forums.
Currently working on an HTML5 canvas 2.5D landscape renderer and a PBBG that uses it (http://fleetingfantasy.com/). The development blog's at http://fleetingfantasy.wordpress.com/.
What are BBGameZone members working on? See the game list.
irc.freenode.net, #bbg

Offline Kyle

  • Level 10
  • *
  • Posts: 56
  • Reputation: +0/-0
    • View Profile
    • The Best Text Games
Re: Starting
« Reply #3 on: October 27, 2011, 01:28:01 AM »
I honestly learned PHP by using wampserver to run a pbbg script.
After I got things set up, I started making random small changes to the code just to see what things did.
Trial and error my friend, and trust me...there were lots of errors..it takes a LOT of time and ever more patience to learn PHP, and mysql, but once you get it down it's a breeze.

I used PHP.net as a reference a lot, as well as w3schools. Both are helpful.

If you want my recommendation on what script to use, mccodes lite. It is free, it is small so you won't get lost in the pages, the code is pretty self explanatory once you gain a minimal understanding of how things work, and lots of successful games have been created with the mccodes engine. You will learn how to connect your script to a database as well as executing queries and a few simple server side commands. Plus lots of good functions to get the ball rolling on seeing how things work.
I believe it's in the downloads section here ;)
Do you own a text based game?
Add it to my list of text based games for free promotion! BestTextGames.com

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal