Search found 7 matches

by Clödi
Mon Sep 23, 2013 3:54 pm
Forum: Support and Development
Topic: flowers and sheep: ecology game, newbie needs help
Replies: 16
Views: 4493

Re: flowers and sheep: ecology game, newbie needs help

Yes, you are right, thank you. I now tried the most simple way i could think of. Try to plant a flower in a random position, if there is already one, try again, do this ten times, if that doesn't work just give up. Not very elegant, it will often result in no flower being planted, but it's a start. ...
by Clödi
Sat Sep 21, 2013 11:28 am
Forum: Support and Development
Topic: flowers and sheep: ecology game, newbie needs help
Replies: 16
Views: 4493

Re: Newbie game crashing need some help to get me going

Allright, i'm stuck again. The game still doesn't crash, though. I'm trying to keep the flowers from planting onto each other, making a collision check. I don't want to check all the flowers in the table though, for economic reasons, just the ones that are close. My idea was to make a table/array th...
by Clödi
Fri Sep 20, 2013 9:44 pm
Forum: Support and Development
Topic: flowers and sheep: ecology game, newbie needs help
Replies: 16
Views: 4493

Re: Newbie game crashing need some help to get me going

Thank you! And yes, i think so too. It was interesting enough to get me to try coding again, after all.

Watching the flowers grow is already fun now, see attachment.
by Clödi
Fri Sep 20, 2013 9:10 pm
Forum: Support and Development
Topic: flowers and sheep: ecology game, newbie needs help
Replies: 16
Views: 4493

Re: Newbie game crashing need some help to get me going

Thank you a lot! Works great.
by Clödi
Fri Sep 20, 2013 8:32 pm
Forum: Support and Development
Topic: flowers and sheep: ecology game, newbie needs help
Replies: 16
Views: 4493

Re: Newbie game crashing need some help to get me going

Yeah, totally forgot about that one. Now it works better. The font isn't a problem right now, because i haven't updates in a while. Thanks though, because that would have caused me trouble when i get around doing that. Now it crashes, it seems, when it tries to spawn the second flower. By the way, w...
by Clödi
Fri Sep 20, 2013 8:10 pm
Forum: Support and Development
Topic: flowers and sheep: ecology game, newbie needs help
Replies: 16
Views: 4493

Re: Newbie game crashing need some help to get me going

Interesting game Thank you, i want to add an avatar later that can do sandboxy stuff like placing fences, digging up flowers, killing sheep, maybe wolves... Playing with ecology, basically. Oh, and if it didn't load *.bmp files, i would have run into problems way earlier, that is not the issue. But...
by Clödi
Fri Sep 20, 2013 7:51 pm
Forum: Support and Development
Topic: flowers and sheep: ecology game, newbie needs help
Replies: 16
Views: 4493

flowers and sheep: ecology game, newbie needs help

Hi, i am a very inexperienced coder, so i guess i made an obvious mistake. Maybe someone could give me an easy way i can find out on which line my code crashes, in that way i might have to ask for help less often. This is my code, i want it to grow flowers. Next step would be growing them in random ...