Taking this video as inspiration here is some very naive swarming mechanics.
Swarming is quite an important part of the game because it's the mechanism by which you get to the next stage so it has to be good.
Watching it made me think a lot about how fast the game is going to be, right now it's very leisurely but that ecoli video is bonkers. (It may well be sped up).
Finding the right speed is going to be difficult.
Also it would be nice if there were organisms which wanted to be close together but sat mostly still (though maybe that's just them going very slowly in this fashion).
Code:
import pygame import math import random from pygame.locals import *
for i in animals: i.display() i.think(mousepos) i.update()
pygame.display.flip()
pygame.quit()
StealthStyle L Newcomer
Posts : 72 Reputation : 7 Join date : 2014-06-05 Age : 27 Location : Behind you!!!
Subject: Re: Cell Swarming Wed Apr 08, 2015 9:47 am
Huh. That's not how I pictured swarming. Interesting video.
The first one should definitely not be used for gameplay. It's far too fast for gameplay, even if it is realistic. Although I guess that's obvious. (And by the way, I don't think it's sped up, as the seconds in the top left must be there for some purpose. This is unless they were trying to fool viewers.)
I would even go so far as to say the second is a bit quick too. Plus, I would assume that the numbers would have to be less than this or the computer might explode, especially if there are multiple swarms. Also, can you even zoom out enough to get this view. It would be closer up and so the microbes would flit across the screen even more.
tjwhale Theorist
Posts : 87 Reputation : 26 Join date : 2014-09-07
Subject: Re: Cell Swarming Wed Apr 08, 2015 10:25 am
I hadn't noticed the timestamp, I guess it looks fast because it's micrometers.
If the gameplay is to be unrealistically slow then how slow? How should it feel?
At first I thought a swarm of that speed was madness but then I thought about bison stampedes in old west films.
Maybe there could be microbes whose strategy is to trample anyone in their path.
StealthStyle L Newcomer
Posts : 72 Reputation : 7 Join date : 2014-06-05 Age : 27 Location : Behind you!!!
Subject: Re: Cell Swarming Wed Apr 08, 2015 10:45 am
I don't think those buffalo in that bullalo video move as fast as those microbes. I think that speed would be accecptable. It's not unmanageably fast, but it's not slow either. It can't be too fast to be uncomfortable to view. I think your version is just a bit too fast.
I'm not sure that microbes trampling microbes would be an effective method. They could, however, surround the microbe preventing an escape...which would probably require a complex signal agent.
Edit: Sorry, I misread something. I think the buffalos are a fine speed.