mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-28 13:50:07 -04:00
Lowered ambient WorldMap volume. Hacked together ranger right-hand builder's hammer positioning for now.
This commit is contained in:
parent
50624ca7bb
commit
12a109f146
2 changed files with 13 additions and 2 deletions
app
|
@ -543,7 +543,18 @@ $itemSlotGridHeight: 51px
|
|||
&.male
|
||||
left: 55px
|
||||
bottom: 63px
|
||||
@include rotate(-15deg)
|
||||
|
||||
&.right-hand.female.Ranger[src="/file/db/thang.type/53f4e6e3d822c23505b74f42/warrior_female.png"]
|
||||
// Special-case Builder's Hammer, since we don't yet have ranger-specific hand exports for it
|
||||
@include rotate(180deg)
|
||||
left: -95px
|
||||
bottom: -89px
|
||||
|
||||
&.right-hand.male.Ranger[src="/file/db/thang.type/53f4e6e3d822c23505b74f42/warrior_male.png"]
|
||||
// Special-case Builder's Hammer, since we don't yet have ranger-specific hand exports for it
|
||||
@include rotate(180deg)
|
||||
left: -138px
|
||||
bottom: -55px
|
||||
|
||||
&.left-hand
|
||||
z-index: 17
|
||||
|
|
|
@ -299,7 +299,7 @@ module.exports = class WorldMapView extends RootView
|
|||
Backbone.Mediator.subscribeOnce 'audio-player:loaded', @playAmbientSound, @
|
||||
return
|
||||
@ambientSound = createjs.Sound.play src, loop: -1, volume: 0.1
|
||||
createjs.Tween.get(@ambientSound).to({volume: 1.0}, 1000)
|
||||
createjs.Tween.get(@ambientSound).to({volume: 0.5}, 1000)
|
||||
|
||||
playMusic: ->
|
||||
@musicPlayer = new MusicPlayer()
|
||||
|
|
Loading…
Add table
Reference in a new issue