# Geometry Wars Style Grid & Distortions

This topic is 4063 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

So I'm creating a Geometry Wars clone (called Prism) mostly as a showcase for my game engine. One very interesting aspect I'm having trouble figuring out is how to setup the grid used in the Retro Evolved version of Geometry Wars. If you're not familiar with it, the grid is a series of aligned dots all interconnected by lines in a... well, a grid! As some objects move through the grid (which is the playing field), the grid is distorted and sways around. For instance, a fired bullet "cuts" through the grid, forcing dots out of its path. The dots spring back into position until distorted again. How exactly can this effect be accomplished? I'd like to stick to as simple a method as possible. Would this employ some kind of fluid dynamics, or perhaps each dot is attached to its home position by a spring? I'm really at a loss with this one. Could it be simpler? I don't know the first thing about implementing even a very simple fluid system or springs, so any helpful links would be appreciated (if those techniques are applicable). Currently, the grid consists of a container (std::vector<std::vector<boost::shared_ptr<Particle> > >) of Particle objects that are linked to two other Particles. Right now, the links are used exclusively for rendering and adding the other two possible links wouldn't be too hard at all. From this, I'd have a container of interconnected Particles. I don't know if this information is helpful or not, but I thought I'd share. Any help is greatly appreciated. Thanks!

##### Share on other sites
Well, if you watch it, it's pretty obvious that it's either a cloth simulation or a fluid simulation. (Or somewhere in between.) So the question is, which one to use? The spring method you mention is essentially a cloth simulation. The trouble with those is that they're very difficult to make stable.

Personally, I suspect that your best bet is a fluid simulation with a very non-viscous fluid and very heavy affectors. (Disclaimer: this is total guesswork, because I don't know anything about fluid simulation.) That way, you get very powerful damping effects but a nice smooth motion.

##### Share on other sites
I'd try some sort of damped springs.

1. 1
Rutin
37
2. 2
3. 3
4. 4
5. 5

• 11
• 11
• 12
• 14
• 9
• ### Forum Statistics

• Total Topics
633351
• Total Posts
3011477
• ### Who's Online (See full list)

There are no registered users currently online

×