Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Cano committed Jul 15, 2016
1 parent 077c608 commit ffaec38
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified ase/player1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ase/spriters.xcf
Binary file not shown.
Binary file added ase/start_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions replay.gd
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ func _fixed_process(delta):
var player2_points = players_poinsts.player2
var looser_player = ""

var winner_player = "No winners"
var winner_player = "NO WINNERS"
var winner_points = str(player1_points) + " points"

if player1_points > player2_points:
winner_player = "Winner Player 1"
winner_player = "WINNER PLAYER 1"
winner_points = str(player1_points) + " points"
looser_player = "Player 2 loose! - " + str(player2_points) + " points"
looser_player = "PLAYER 2 LOOSE! - " + str(player2_points) + " points"
elif player1_points < player2_points:
winner_player = "Winner Player 2"
winner_player = "WINNER PLAYER 2"
winner_points = str(player2_points) + " points"
looser_player = "Player 1 loose! - " + str(player1_points) + " points"
looser_player = "PLAYER 1 LOOSE! - " + str(player1_points) + " points"

root.get_node("points").set_text(winner_points)
root.get_node("winner").set_text(winner_player)
Expand Down

0 comments on commit ffaec38

Please sign in to comment.