Skip to content

Commit

Permalink
Fixup some README links
Browse files Browse the repository at this point in the history
  • Loading branch information
jgayfer committed May 29, 2024
1 parent 14a14ec commit 147dc7a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Designed to be simple to use, yet expressive enough to fit a variety of needs.
## Features

- Component driven design
- Configurable point lights
- Camera specific ambient light
- Configurable [point lights](https://docs.rs/bevy_light_2d/0.1.0/bevy_light_2d/light/struct.PointLight2d.html)
- Camera specific [ambient light](https://docs.rs/bevy_light_2d/0.1.0/bevy_light_2d/light/struct.AmbientLight2d.html)
- Single camera rendering

## Usage

In the `basic` example, all we need is the plugin, a camera, and a light source.
In the [`basic`](https://github.com/jgayfer/bevy_light_2d/blob/main/examples/basic.rs) example, all we need is the plugin, a camera, and a light source.

```toml
# Cargo.toml
Expand Down Expand Up @@ -53,6 +53,8 @@ fn setup(mut commands: Commands) {
}
```

To see an in depth example example, run `cargo run --example dungeon`.

## Motiviation

When I first started experimenting with Bevy, the lack of a first party 2d
Expand Down

0 comments on commit 147dc7a

Please sign in to comment.