Skip to main content
GameDev.net gamedev.net
🔒 Locked

My game in making

Started by bloodthirsty vermin Oct 16, 2003 at 4:01 PM 63 replies 4.4k views
Original Post
bloodthirsty vermin
bloodthirsty vermin
I am making a game that is harvest moon like and i was wondering about the exact uses of the if statement could it be used for after three days if your charachter has watered the plants everyday for three days they are ready for harvest? and i am stumped on a time system..days hours minutes(i dont want to go on real time because it would take forever)
My potential is extreme for a 14 year old, Guitar playing, Anime artist.
Turt99
Turt99
Your making a game but don't know if statements?

EDIT: Sorry that was kinda rude, but you gotta know how to program before you can program a game..

Anyways the next poster has better information... and good luck!

Please visit Turt99 Productions

[edited by - Turt99 on October 16, 2003 5:13:04 PM]
FOLLOW ME ON TWITTER OR MY BLOG
cowsarenotevil
cowsarenotevil
quote:
Original post by Turt99
Your making a game but don''t know if statements?


You''re making a game but don''t know how to read? He never said that he doesn''t know how to use if statements.
-~-The Cow of Darkness-~-
SiliconMunky
SiliconMunky
quote:
Original post by cowsarenotevil
quote:
Original post by Turt99
Your making a game but don''t know if statements?


You''re making a game but don''t know how to read? He never said that he doesn''t know how to use if statements.


ummm he did say "and i was wondering about the exact uses of the if statement"


bloodthirsty vermin
bloodthirsty vermin
quote:
Original post by DrEvil
it sure implies he doesn''t know how to use if statements, whether he came out and said it or not.


Ill throw you a friggen bone alright......I KNOW HOW!!!!!!
My potential is extreme for a 14 year old, Guitar playing, Anime artist.
bigryanjoel
bigryanjoel
hmm heres how I might do it in c


if (number_of_times_plant_watered >=3)
//your statements here
end


of course you may need to get more complicated because this will only check if the plant has been watered 3 times and doesn''t take days into account
Nik02
Nik02
if (plant.wateredDays >= 3) plant.readyToHarvest = TRUE;
Niko Suni
bloodthirsty vermin
bloodthirsty vermin
i might have lift out some usfull info
i use C++ i will stay up correcting every error
i also use SDL and i will use this to learn from my mistakes
then make the final version wich will have networkin ect.
My potential is extreme for a 14 year old, Guitar playing, Anime artist.
Turt99
Turt99
quote:
Original post by bloodthirsty vermin
i might have lift out some usfull info
i use C++ i will stay up correcting every error
i also use SDL and i will use this to learn from my mistakes
then make the final version wich will have networkin ect.


What is exactly the problem with your If Statement if you know how to use them already? thats the information people need to know.. what is the problem your having?

Please visit Turt99 Productions
FOLLOW ME ON TWITTER OR MY BLOG
bloodthirsty vermin
bloodthirsty vermin
quote:
Original post by Turt99
quote:
Original post by bloodthirsty vermin
i might have lift out some usfull info
i use C++ i will stay up correcting every error
i also use SDL and i will use this to learn from my mistakes
then make the final version wich will have networkin ect.


What is exactly the problem with your If Statement if you know how to use them already? thats the information people need to know.. what is the problem your having?

Please visit Turt99 Productions


ok now they would knowthat from the top!!!!!
durrrrrrrr
My potential is extreme for a 14 year old, Guitar playing, Anime artist.
Turt99
Turt99
How would they know you just said that you want to know how to check if they waters 3 days but you didn''t say how you where setting the watering and all that.. basically what you asked is

PLEASE GIVE ME A PLANTING SYSTEM WITH A TIME SYSTEM, I think an if statement might work...

I''m just trying to help here..

Please visit Turt99 Productions
FOLLOW ME ON TWITTER OR MY BLOG
bloodthirsty vermin
bloodthirsty vermin
oh and how would i get my own free website?
not a webpage a site for my company in making
(shopping list:employees,salesliscence,website,name,
company computer(the one i am using rightnow needs to be
takenout and shot)
My potential is extreme for a 14 year old, Guitar playing, Anime artist.
Nik02
Nik02
Are you starting a game development company already?
Niko Suni
Orb
Orb
This is what we call, a troll, or a dumbass.

Either way, move along.
SiliconMunky
SiliconMunky
This thread needs some freakin grammar. I can''t understand any of it...
bloodthirsty vermin
bloodthirsty vermin
quote:
Original post by Orb
This is what we call, a troll, or a dumbass.

Either way, move along.


watch your language.....and i am not starting it already,
in a few years i just want to get it ready and everything.
and plus i am going to teach my friends C++ so we could
do things faster(diplomas mean nothing to me if you dont have enough sense to use what you learned...)
and plus I belive in having a sense of humor.
My potential is extreme for a 14 year old, Guitar playing, Anime artist.
Pipo DeClown
Pipo DeClown
LOL, this is a funny topic. I think 5-10 minutes a day would be better for such a game. And you can always make it engery based.

Farmer has 100 energy. (100)
Farmer uses 35 energy. ( 65)
Farmer uses 35 energy. ( 30)
Farmer uses 20 energy. ( 10)
Farmer can''t do anything,
decides to sleep (make a button or something).
- End Of Day -

The user can sleep whenever he wants. You can make more tasks, with different costs. Upgrade total energy RPG-like.

--
You''re Welcome,
Rick Wong
- sitting in his chair doing the most time-consuming thing..
bloodthirsty vermin
bloodthirsty vermin
so about that time system
My potential is extreme for a 14 year old, Guitar playing, Anime artist.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.