Skip to content

Added cursor animation#127

Merged
itdelatrisu merged 1 commit intoitdelatrisu:masterfrom
Lemmmy:cursoranim
Aug 27, 2015
Merged

Added cursor animation#127
itdelatrisu merged 1 commit intoitdelatrisu:masterfrom
Lemmmy:cursoranim

Conversation

@Lemmmy
Copy link
Copy Markdown
Contributor

@Lemmmy Lemmmy commented Aug 27, 2015

No description provided.

@itdelatrisu
Copy link
Copy Markdown
Owner

Looks good in-game, the only thing that kind of caught my attention was this:

            cursorSizeAnimated = (mousePressed ? 1f : 1.25f) +
                    ((mousePressed ? CURSOR_SCALE_CHANGE : -CURSOR_SCALE_CHANGE) * ...

I think this would be a lot clearer as just an if (mousePressed) ; else ; but I'll probably merge it later anyway if you don't feel like changing this.

itdelatrisu added a commit that referenced this pull request Aug 27, 2015
@itdelatrisu itdelatrisu merged commit 3a9f6be into itdelatrisu:master Aug 27, 2015
itdelatrisu added a commit that referenced this pull request Aug 28, 2015
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants