Added timeline
This commit is contained in:
1 parent
81a79e136d
commit
9e40d8f576
8 files changed
+189
-10
No files matched your search
@@ -27,8 +27,13 @@ void pokerMatchInit(poker_t *poker, engine_t *engine) {
|
||||
}
|
||||
|
||||
void pokerMatchUpdate(poker_t *poker, engine_t *engine) {
|
||||
// Ease into the game.
|
||||
float t = easeTimeToEase(poker->roundMatch.time, engine->time.current, 5);
|
||||
pokerLookAtPlayer(
|
||||
&poker->cameraWorld, POKER_SEAT_PLAYER0, 1 - easeOutQuint(t)
|
||||
);
|
||||
pokerLookAtPlayer(&poker->cameraWorld, POKER_SEAT_PLAYER0, (
|
||||
t < 1 ? 1 - easeOutQuart(t) : 0
|
||||
));
|
||||
|
||||
if(t > 0.75) {
|
||||
pokerTalk(poker, "Hello World");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user