Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upfeat: Deferred start animation #644
Conversation
Rhuagh
added
status: working
project: animation
labels
Apr 15, 2018
Xaeroxe
referenced this pull request
Apr 17, 2018
Merged
Feature/634/sprite rendering and animation #638
Rhuagh
added
type: improvement
status: ready
and removed
status: working
labels
Apr 18, 2018
| -const POINT_LIGHT_COLOUR: Rgba = Rgba(1.0, 1.0, 1.0, 1.0); // white | ||
| -const BACKGROUND_COLOUR: [f32; 4] = [0.0, 0.0, 0.0, 0.0]; // black | ||
| +const SPHERE_COLOUR: [f32; 4] = [0.0, 0.0, 1.0, 1.0]; | ||
| +// blue |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
| + ); | ||
| + } | ||
| + { | ||
| + let animation = world |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
jojolepro
Apr 20, 2018
Collaborator
Any way to reuse this? The code duplication is getting out of control.
jojolepro
Apr 20, 2018
Collaborator
Any way to reuse this? The code duplication is getting out of control.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
| - loader.load_from_data(animation, (), &world.read_resource()) | ||
| + let animation_storage = world.read_resource(); | ||
| + let mut set = AnimationSet::<AnimationId, Transform>::new(); | ||
| + set.insert( |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
bors r=Xaeroxe,jojolepro |
bot
added a commit
that referenced
this pull request
Apr 22, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
bors
bot
merged commit 370e5df
into
amethyst:develop
Apr 22, 2018
Rhuagh
deleted the
Rhuagh:feature/deferred-start-animation
branch
Apr 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rhuagh commentedApr 15, 2018
•
edited by torkleyy
Edited 1 time
-
torkleyy
edited Apr 15, 2018 (most recent)
Depends on #641.
This change is