PDA

View Full Version : PHP Pet system



Giants
07-02-2008, 04:20 PM
hey on habio.co.uk they have a pet system how would you code something like that that?

-Dirt
07-02-2008, 04:41 PM
what do you mean exactly? :S

Might need to be more specific

Giants
07-02-2008, 04:48 PM
I'm adding on to a user system and I would like to add a thing were you can buy a pet and you have to feed it with items give it items to play with, It ages, it has a mood based on feeding and playing with it, could someone teach me how to code something like this???

-Dirt
07-02-2008, 04:55 PM
Oh, I understand, but i'm not the guy to ask, well not at the moment xD sorry lol

Giants
07-02-2008, 08:53 PM
Does anyone know how to do this?

LegendOfNoob
08-02-2008, 12:00 AM
i used a good Friend of mine Google The Search Engine(most people woul dmake out with this guy)
heres one i found its not full php rather javascript and python controlled & pages are php
http://update.multiverse.net/wiki/index.php/Prototype_Pet_System
something to look into :) you might also look into their source code and watch how they do
it and make ur own who knows urs might be better
to be honest you would need images for pets then it would be like a banking system w/intrest
24:00 hrs = age +
1hr = thrist +
.5hr = hunger +
feed = hunger -
etc
then the banking system to show their amounts of coins that buy the food and water
or you could leave out banking system and have food and items cost 0
your pick :)

Want to hide these adverts? Register an account for free!