Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix examples using ron spritesheets #2036

Merged
merged 1 commit into from Nov 15, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -1,17 +1,13 @@
/*!
@import /amethyst_rendy/src/sprite/mod.rs#SpriteList
SpriteList
@import /amethyst_rendy/src/sprite/mod.rs#Sprites
Sprites
*/

(
texture_width: 512,
texture_height: 512,
sprites: [
(
x: 0,
y: 0,
width: 512,
height: 512,
),
],
)
#![enable(implicit_some)]

Grid((
texture_width: 512,
texture_height: 512,
columns: 1,
rows: 1,
))
@@ -1,23 +1,13 @@
/*!
@import /amethyst_rendy/src/sprite/mod.rs#SpriteList
SpriteList
@import /amethyst_rendy/src/sprite/mod.rs#Sprites
Sprites
*/

(
texture_width: 128,
texture_height: 64,
sprites: [
(
x: 0,
y: 0,
width: 64,
height: 64,
),
(
x: 64,
y: 0,
width: 64,
height: 64,
),
],
)
#![enable(implicit_some)]

Grid((
texture_width: 128,
texture_height: 64,
columns: 2,
rows: 1,
))
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.