Logicalshift / flo_draw

2D rendering libraries for Rust and FlowBetween
Apache License 2.0
100 stars 6 forks source link

can i use it do develop 2d game? Does it support detecting whether two objects collide? #1

Open rhettli opened 3 years ago

rhettli commented 3 years ago

i want use it to dev game with 2d

Logicalshift commented 3 years ago

flo_draw could be used to develop 2D games, at least as the graphics component. It would be a 'batteries not included' approach, though as it's not a game engine and is just a rendering library: there's no collision detection or sound, for example, so those features would need to be added by other libraries. The vectoroids example shows what's possible purely with flo_draw - note no sounds or collisions here.

ncollide is an example of a collision detection library that could be used. Not sure about a good sound library, though.

Depending on what you're trying to do the 'batteries not included' approach might help or hinder you: not having to work within a huge framework makes some things much easier to do, but does also mean all of the extra features of the framework aren't available.