Ruboids is a Boids Algorithm Simulation made using Ruby2D, FelFlame and Ruby2D-Camera
once you install the gems ruby2d
, felflame
, and ruby2d-camera
simply do ruby run.rb
bundler install
followed by bundler exec ruby run.rb
Left click on the screen to create a Piranha.
Right Click and drag to move the camera. (w
a
s
d
works as well)
Scrollwheel to zoom. (z
and x
work as well)
All the parameters you can change are nicely stored inside the SingletonConfig
component in the $config
variable in run.rb
so it is easy to quickly and easily change and play around with them.
I made this to stress test my new framework FelFlame and see how it is, and it was really nice and easy making this game so I will probably continue to use it for future projects. Also just I wanted to play around with boids. 😁