Skip to content

Examples to demonstrate changing a sprite and texture #3130

Closed
@alice-i-cecile

Description

@alice-i-cecile

How can Bevy's documentation be improved?

Newcomers are often a bit lost when trying to learn how to idiomatically work with assets and handles.

The most common stumbling block is "how do I change a sprite once loaded?".

We should add two sibling examples, one for sprites, and one for meshes:

  • show how to query for sprite / mesh handles, and change what they point to
  • show how to programatically change the properties of a sprite / mesh (e.g. color, reflectance, translucency or so on)
  • show how to mutate the underlying asset to e.g. add more vertexes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-ExamplesAn addition or correction to our examplesD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions