Skip to content

Commit

Permalink
Increased animation speed
Browse files Browse the repository at this point in the history
  • Loading branch information
SkylerMime committed May 10, 2024
1 parent 676485d commit 472e1aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ninety_nine/graphical_main_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def __eq__(self, vector):
TEXTVIEW_TEXT_COLOR = BLACK

MILLISECONDS_BETWEEN_PLAYS = 900
TICKS_TO_REACH = 80
# If this number is too high, the system could crash
FRAMES_PER_SECOND = 120

Expand Down Expand Up @@ -601,7 +602,7 @@ def display_final_scores(screen, final_state, clock):


def get_movement_vector_toward(
initial_pos: CardVector, final_pos: CardVector, ticks_to_reach = 100
initial_pos: CardVector, final_pos: CardVector, ticks_to_reach = TICKS_TO_REACH
):
tip_to_tail: CardVector = final_pos - initial_pos
return tip_to_tail / ticks_to_reach
Expand Down

0 comments on commit 472e1aa

Please sign in to comment.