cat_evilness
11-21-2002, 06:34 PM
Okay guys, I'm trying to make a virtual pet and here's what I have so far: http://www.angelfire.com/games4/virtualpet/main.html
I have 3 different pages going together to make up the main site. Now I need to program it so that when the user pushes a button say Feed then 1 will be added to the variable hunger. The variables are made up from counters that count down from 10 to 1 and I need to have it so that it just adds 1 onto the counter.
If anyone can give me code that will do this or has any idea how to help please give me a shout. I think you can do this using cookies.
Thankyou.
Cat
I have 3 different pages going together to make up the main site. Now I need to program it so that when the user pushes a button say Feed then 1 will be added to the variable hunger. The variables are made up from counters that count down from 10 to 1 and I need to have it so that it just adds 1 onto the counter.
If anyone can give me code that will do this or has any idea how to help please give me a shout. I think you can do this using cookies.
Thankyou.
Cat