what if... i didn't have to declare four crate dependencies to make a 2d gui in ...

specifically:

piston
piston2d-graphics
pistoncore-glutin_window
piston2d-opengl_graphics

(from piston's tutorial github.com/PistonDevelopers/Pi)

which, i get what's going on here - piston needs different crates for its different backend stuff

i just... not everything has to be modular... weh...

@typhlosion yeah, if there was like

piston-simple

that installed all of those

it'd be nice

@LottieVixen @lizardsquid well, ggez makes the choice of windowing and graphics for you! which would be fine, and indeed people are already making games with it

except its choice of windowing is sdl, which i specifically want to avoid for this project out of "would rather keep in the rust ecosystem, just cos" reasons

Follow

@lizardsquid @LottieVixen to be fair, iirc sdl provides more than just windowing and input; it also handles sound and a couple other things in a cross-platform way, which makes it convenient as an all-in-one for getting started on a game

incidentally i would probably not want to use sdl's audio stuff even if i did go with it, cos i'm making a *music program* so will probably be looking specifically for high-performance audio libraries

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!