this post was submitted on 11 Feb 2024
14 points (76.9% liked)

Asklemmy

43906 readers
1026 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Hi all, as a child I spent a lot of time working in the Processing language. Does this have any transferrable use cases / what's the point it even exists?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 9 months ago (1 children)

I went straight from Processing to Rust. You'd be surprised by just how many skills transfer over! I've found that it's actually easier than other programming languages, aside from doing anything visual. I haven't figured out how to do the same kind of graphics stuff as i could in processing just yet.

As for use cases? Processing is a learning tool, and it's great for teaching as well. You can make some pretty great animations using it, and a lot of YouTubers use it internally to animate their math videos.

[โ€“] [email protected] 2 points 9 months ago (1 children)

I think, at this point, your best bet is to use a game engine, like for example Bevy: https://bevyengine.org/examples/

It's not as hyper-focused on drawing things as Processing is, so there's a bit more boilerplate to set everything up, but once you have that down, the actual drawing calls shouldn't really be more complex...

[โ€“] [email protected] 2 points 9 months ago (1 children)

does bevy act like a module or is it like godot with a gui?

[โ€“] [email protected] 2 points 9 months ago (1 children)

It doesn't have a GUI editor for tweaking the game contents, like Godot has it, but it's a complete game engine, so with a tiny bit of configuration, it will do all the things to display your game in a window.

So, it's not just a graphics library/module, where you'd still have to write a whole structure yourself, but rather a framework, which means it provides a structure for you and you basically just have to fill out the blanks with whatever you want drawn.

[โ€“] [email protected] 2 points 9 months ago (1 children)

so it's like the pygame module for puthon?

[โ€“] [email protected] 2 points 9 months ago

I've never done anything with pygame. From the little I've just read up on it, it sounds like Bevy is probably a somewhat more cohesive experience (albeit not yet as mature), but yeah, the scope of the projects should be similar.