Jump to content
MakeWebGames

Kasabian

Members
  • Posts

    152
  • Joined

  • Last visited

Kasabian's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I think some of you need to start reading the topic correctly before posting. I cant find anything but this little case study that someone has done on Effects with GD: Case study that has a little bit of code under Drop Shadow, i havent tryed it though. Hope this helps
  2. This is the query from the attackbeat.php, which will put the attack in hospital once they have lost. Change the $hosptime variable too the min and max time you want that player to be in hospital: $hosptime=rand(15,30); $db->query("UPDATE users SET hp=1, hospital=$hosptime, hospreason='Lost To <a href=\'viewuser.php?u={$r['userid']}\'>{$r['username']}</a>' WHERE userid={$userid}"); Just put that code before the "print "You lost to {$r['username']}";" line. Hope this helps
  3. Is it possible to have a domain linking to a existing sites subfolder. For example you have two domain names and one server: http://www.websitename.com http://www.otherwebsitename.com Can you set up the second domain name http://www.otherwebsitename.com to go to a folder on http://www.websitename.com, without it being a redirect. So you are able to see the file names of that server http://www.otherwebsitename.com/file.php without using a redirect or a frame to display the content. Thanks, Tom
  4. RE: Login template [V2] $10 For uncoded $15 for coded You cant use HTML in your post, Put these tags around your link: That will make it show correct.
  5. You need a good Illustrator or someone really handy with Photoshop and creating it with pictures. Another way too do it is the same as above but make it using Flash, that way you can add more function to the animations without worrying to much about file image sizes. I would look in to them if you don't already know about them. Hope this helps
  6. To anyone thinking of going to see zombie land... DO IT! Its gory (mild) = WIN! Zombies = WIN! Emma stone FIT! = WIN! Funny as hell = WIN! Going to see it again = WIN! Ghost busters guy = WIN! The WIN list can go on for some time so i am going cut it short here... Best movie i have seen in along time, i suggest going to see it even if you don't like these kind of movies! What does everyone else think? ( Disagree with me and chuck Norris will be after you!)
  7. I did it by putting a if function around the information checking to see if the user is attacking, if they are don't show the info, if there not then show it. Something along the lines of this: if ($_SESSION['attacking']=1) { // put the code or text you want to show if the user is attacking } else { // Put the normal information in here } make sure the $_SESSION['attacking'] is unset or set back to 0 when the user is finished attacking or left the fight else there not going too see there information for a while.
  8. "Need Some Info On Which Page To Start With In Making The Game" I normal start from making a secure login and database connection which i can then use as a sort of platform then build off that. But You can just dive in to the project but from my experience of doing this it always seems to come to a halt or seems to become a on-going project. The first step i would recommend is planning everything out instead of just starting to program a page and moving on, is to get a clear mind set of what the end goal is. My personal way to do this which works for me, is to do a list of features, story of game, etc.. Which then can be broken down in to subsections (under headers). Using a spider diagram for this also seems to help me. This way you can split it up in to steps and know what you need to do next after you finished a step. Planning is key to any project so i would advise putting some thought in to it Just in case you get mixed up i don't mean this kind of spider diagram :D I know, Bad joke. Sorry
  9. If you follow these topics, it explains it will well when complete: Mdshare Guide About the index file, The way it runs in Mccodes is to check if the user is logged in or not, then redirect them to the corresponding page. so if the player is logged in redirect them to "loggedin.php" and if there not logged in then redirect them to "login.php". You could do this in another method but to make your site look smooth you will need to have a check to see if there logged in or not. hope this helps
  10. O right sorry, Well i don't think there is any 'packs' of images. You just have to create your own using un-copyrighted images.
  11. Well i don't know how your using the search but i typed in Item pictures and this came up: Item Pics
  12. Basically yeah.
  13. Yeah, Like curt said i would do it using Timestamps. Add a new row in your settings called something like fivemincron. Then get it to update that record with a timestamp when the cron is run. then on the main page just simply format the time stamp static using php or put it in to a JavaScript function to make it dynamic and count down in real time. This might be helpful for the javascript part: http://www.phpfreaks.com/forums/index.php?topic=228348.0
  14. Re: Simple Template V2   Yep, I made this 2 years ago when i first started playing around with php.. I dont run a game anymore.
  15. Re: Simple Template V2   Glad someone found it useful :-D
×
×
  • Create New...