Author Topic: [MAGNIFICATION] Bacteria  (Read 7928 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
[MAGNIFICATION] Bacteria
« on: July 20, 2009 »
Here's my entry for the comp.

It's a simulation of bacteria and mold.

The bacteria have a few plans
1. Subdivide!
2. Move away from overcrowded areas
3. Avoid stress by aligning with the local bugs

The mold has one plan
1. Kill bacteria!

Press the spacebar to enter into debug mode.  The red blocks indicate the population density, the green arrows with the blobs on the end indicate which way a bacteria should move to get away from the crowd.  White circles are the mold.

Alt-Enter to go full screen (800x600x60)

Let me know if it's too slow for you and I'll make one with fewer bugs.

Have a lot of fun!

Jim

<edit> fixed the bug which was making it go in debug mode and crash on exit
« Last Edit: September 06, 2009 by rbz »
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17378
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: [MAGNIFICATION] Bacteria
« Reply #1 on: July 20, 2009 »
hehe, that's a super idea Jim, I love the luminescence of the bacteria :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1289
  • Karma: 466
    • View Profile
    • my stuff
Re: [MAGNIFICATION] Bacteria
« Reply #2 on: July 20, 2009 »
Very cool!
But for some reason it switches to "debug mode" by its' own after a while and doesn't want to go back to normal...
(WinXP, Geforece8600GTS).
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17378
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: [MAGNIFICATION] Bacteria
« Reply #3 on: July 20, 2009 »
Same thing happened here too after about 5 seconds
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [MAGNIFICATION] Bacteria
« Reply #4 on: July 20, 2009 »
Bizarre!  That'll be me trashing ram then  :crutches:

Jim
<edit> attached, debug build with no kkrunchy.
<edit2> fixed the bug properly in the first post.
« Last Edit: July 25, 2009 by Jim »
Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1289
  • Karma: 466
    • View Profile
    • my stuff
Re: [MAGNIFICATION] Bacteria
« Reply #5 on: July 20, 2009 »
Works and memory-usage keeps constant :)
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4380
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: [MAGNIFICATION] Bacteria
« Reply #6 on: July 20, 2009 »
Thats an awesome idea and well done, Jim. I like the effect a lot.
Runs fine here with no cpu/memory problems!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline slinks

  • A little bit strange
  • DBF Aficionado
  • ******
  • Posts: 3947
  • Karma: 43
    • View Profile
Re: [MAGNIFICATION] Bacteria
« Reply #7 on: July 22, 2009 »
Heh, this computer is ancient, the whole thing slowed to a crawl when I wasn't in debug mode. Really cool to watch, maybe needed a few more bacteria though, to help divide the crowd up a little more, and force the bacteria in interesting directions.

Still not sure how you managed to get so many of the things moving about on the screen at once though!
I love semi-colons way too much ^^;
Challenge Trophies Won:

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: [MAGNIFICATION] Bacteria
« Reply #8 on: July 23, 2009 »
Didn't like the auto debug mode thing I got....but the concept was perfect for the challenge :)

Also it crashed on escape, but it's no big deal.
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: [MAGNIFICATION] Bacteria
« Reply #9 on: July 23, 2009 »
Great stuff! This may have educational properties. Does the mould kill the bacteria on contact?
You are our 9001st visitor.
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [MAGNIFICATION] Bacteria
« Reply #10 on: July 25, 2009 »
A demo with educational potential?  Pppt!  Yes it does kill on contact.  Like Domestos.

Jim
PS.  This is also a bump to say I've uploaded a zip with the debug mode bug fixed.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17378
  • Karma: 497
  • evil/good
    • View Profile
    • My Homepage
Re: [MAGNIFICATION] Bacteria
« Reply #11 on: July 25, 2009 »
This works great now Jim :) Thanks for uploading the final version.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: [MAGNIFICATION] Bacteria
« Reply #12 on: July 25, 2009 »
Now it looks even better!
You are our 9001st visitor.
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2723
  • Karma: 485
    • View Profile
    • http://www.rbraz.com/
Re: [MAGNIFICATION] Bacteria
« Reply #13 on: July 25, 2009 »
Very good one  :clap:
Challenge Trophies Won:

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: [MAGNIFICATION] Bacteria
« Reply #14 on: July 26, 2009 »
Much better with the debug mode fix :)
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: [MAGNIFICATION] Bacteria
« Reply #15 on: July 26, 2009 »
I really like the organic effect! Complexity from simple rules. Very nice entry Jim!
Challenge Trophies Won:

Way.net

  • Guest
Re: [MAGNIFICATION] Bacteria
« Reply #16 on: July 26, 2009 »
Good work Jim definitely a grower ;)

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [MAGNIFICATION] Bacteria
« Reply #17 on: July 26, 2009 »
Challenge Trophies Won:

Offline va!n

  • Pentium
  • *****
  • Posts: 1413
  • Karma: 108
    • View Profile
    • http://www.secretly.de
Re: [MAGNIFICATION] Bacteria
« Reply #18 on: July 26, 2009 »
Wow, that effect looks extreme cool and runs very smooth.... was fun to look a while to the effect.... very nice done and great idea/concept!
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline Yaloopy

  • Death From Above
  • DBF Aficionado
  • ******
  • Posts: 2869
  • Karma: 35
    • View Profile
    • UltraPaste
Re: [MAGNIFICATION] Bacteria
« Reply #19 on: July 27, 2009 »
Cool entry
+ source
= :)
Fuck L. Ron Hubbard and fuck all his clones.
Challenge Trophies Won: