Skip to content

Commit

Permalink
adjust position of counters in hud
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Urbas committed Nov 29, 2013
1 parent e63df4d commit c09bf95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/scripts/game.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/scripts/game/sprites/hud/bullets_counter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Q.UI.BulletsCounter = Q.UI.Text.extend "UI.BulletsCounter",
color: "#f2da38"
family: "Boogaloo"

@p.x = -@p.img.w/2 - @p.w/2 - 5
@p.x = -@p.img.w/2 - @p.w/2 - 12

Q.state.on "change.bullets", @, "updateLabel"

Expand Down
2 changes: 1 addition & 1 deletion app/scripts/game/sprites/hud/health_counter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Q.UI.HealthCounter = Q.UI.Text.extend "UI.HealthCounter",
color: "#ec655d"
family: "Boogaloo"

@p.x = -@p.img.w/2 - @p.w/2 - 5
@p.x = -@p.img.w/2 - @p.w/2 - 6

Q.state.on "change.lives", @, "updateLabel"

Expand Down

0 comments on commit c09bf95

Please sign in to comment.