Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6 7

Author Topic: Winner's small games thread  (Read 7225 times)

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #60 on: January 17, 2010, 01:06:21 pm »

I just thought of something, this "sleep function" what if it sleeps a little longer on your computer than mine?  It would cause exactly the symptoms you are describing. Try commenting out where it gets called in main.  And it makes me fell kinda silly for spending all that time testing the same things over again.
« Last Edit: January 17, 2010, 01:13:41 pm by winner »
Logged
The great game of Warlocks!

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: sand dunes *updated*
« Reply #61 on: January 17, 2010, 02:56:32 pm »

Ooh! It works!
I can try adding color if you wish.
Or send you a small sample of color code.

I'll try the ants now.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #62 on: January 17, 2010, 03:02:35 pm »

I feel very silly now. Thank you for your patience. Color would be great, could colorize the ants so I can see how it works?
« Last Edit: January 17, 2010, 03:07:56 pm by winner »
Logged
The great game of Warlocks!

Hippoman

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #63 on: January 17, 2010, 03:12:55 pm »

SO can I have the latest code?
Logged
THPÆCROSSISM
ΘπÆ┼ - Rise up against our superiors! Let all dwarves be equal!
KHDownloads

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #64 on: January 17, 2010, 03:15:14 pm »

Yes you may, I uploaded it to the first post.
Logged
The great game of Warlocks!

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: sand dunes *updated*
« Reply #65 on: January 17, 2010, 03:16:59 pm »

It's all pasted at the top.

Just comment out sleep(); in main.

I've taken a crack at the ants.
They are industrious.
I wish there was some sort of randomly generating sugar,
 and the ants would try to find it / take it back with them.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Hippoman

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #66 on: January 17, 2010, 03:22:35 pm »

Why is it that you still have srand48 in there?
Logged
THPÆCROSSISM
ΘπÆ┼ - Rise up against our superiors! Let all dwarves be equal!
KHDownloads

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #67 on: January 17, 2010, 03:40:16 pm »

Why is it that you still have srand48 in there?
because I had forgotten to take it out of that version. Sugar would be easy/possible.

[edit] here it is, the ants find sugar and wander back to the nest to make more ants. (but at the same time I create a negative ant to keep it sustainable).
Spoiler (click to show/hide)
« Last Edit: January 17, 2010, 04:44:05 pm by winner »
Logged
The great game of Warlocks!

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: sand dunes *updated*
« Reply #68 on: January 17, 2010, 04:52:11 pm »

Just give the ants a percent chance of dying.
A very small percent chance.
Like 1/5000 or less.

Then, let it run for days,
 tweaking it after each session,
 until it is accurate like a clock. :)
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Hippoman

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #69 on: January 17, 2010, 05:14:08 pm »

I see this.
Spoiler (click to show/hide)
Logged
THPÆCROSSISM
ΘπÆ┼ - Rise up against our superiors! Let all dwarves be equal!
KHDownloads

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #70 on: January 17, 2010, 05:16:37 pm »

that means it works (ants=* sugar=$  ants carrying sugar=&)
Logged
The great game of Warlocks!

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #71 on: January 19, 2010, 11:06:52 pm »

Ooh! It works!
I can try adding color if you wish.
Or send you a small sample of color code.

I'll try the ants now.
How is the color going?
Logged
The great game of Warlocks!

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: sand dunes *updated*
« Reply #72 on: January 19, 2010, 11:57:34 pm »

Oh yeah, I almost forgot.
How about I send you a sample,
 and you implement it?

I'm sort of busy with school lately.
I only get a few spare hours during week days.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #73 on: January 20, 2010, 12:10:37 am »

Oh yeah, I almost forgot.
How about I send you a sample,
 and you implement it?

I'm sort of busy with school lately.
I only get a few spare hours during week days.
Sounds good to me.  If I fail I'll just bug you again on saturday.
Logged
The great game of Warlocks!

winner

  • Bay Watcher
    • View Profile
Re: sand dunes *updated*
« Reply #74 on: January 21, 2010, 03:32:13 pm »

IT WORKS (without color but it works)
Spoiler (click to show/hide)

that probably doesn't mean much to you but it's a map of water velocity the slashes point diagonally upward and the commas and periods point left and right respectively.  The X in the center is the source of water and the reason I know it works is because of the spontaneous swirls of water emerged.
Logged
The great game of Warlocks!
Pages: 1 ... 3 4 [5] 6 7