Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gerad/lazeroids-node
Browse files Browse the repository at this point in the history
  • Loading branch information
gerad committed Jun 14, 2010
2 parents 50f3753 + e48f278 commit 25ce99d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions views/application.js.coffee
Expand Up @@ -339,7 +339,7 @@ class Universe
@ctx.lineCap: 'round'
@ctx.lineJoin: 'round'
@ctx.strokeStyle: 'rgb(255,255,255)'
@ctx.fillStyle: 'rgb(255,255,255)'
@ctx.fillStyle: 'rgb(180,180,180)'
@ctx.font: '8pt Monaco, monospace'
@ctx.textAlign: 'center'

Expand Down Expand Up @@ -504,9 +504,11 @@ class Ship extends Mass
ctx.save()
ctx.beginPath()
ctx.moveTo @radius, 0
ctx.lineTo 0, @radius / 2.6
ctx.lineTo 0, @radius / -2.6
ctx.closePath()
ctx.lineTo(@radius / -4, @radius / 2.5)
ctx.moveTo(0, @radius * 0.32)
ctx.lineTo(0, @radius * -0.32)
ctx.moveTo(@radius / -4, @radius / -2.5)
ctx.lineTo @radius, 0
ctx.stroke()
ctx.restore()

Expand Down Expand Up @@ -826,4 +828,4 @@ Lz.leaderboard: leaderboard: (scores) ->
.append($('<td>').text(score.name))
.append($('<td>').text(score.value))
.appendTo(tbody)


0 comments on commit 25ce99d

Please sign in to comment.