-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewards, working ui, general fixes, touch joystick support
- Loading branch information
1 parent
12075e6
commit ce8c020
Showing
33 changed files
with
689 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
<canvas id="renderCanvas"></canvas> | ||
<router-outlet></router-outlet> | ||
<div *ngIf="gameMemoryStorage.isGameMode && gameMemoryStorage.currentPlayer && gameMemoryStorage.currentPlayer.stats" class="game-details"> | ||
<div class="row"><div class="col">{{gameMemoryStorage.currentPlayer.stats.maxBombs-gameMemoryStorage.currentPlayer.stats.currentBombsCount}}</div><div class="col-auto"><div class="game-details-icon bomb"></div></div></div> | ||
<div class="row"><div class="col">{{gameMemoryStorage.currentPlayer.stats.bombPower}}</div><div class="col-auto"><div class="game-details-icon power"></div></div></div> | ||
<div class="row"><div class="col">{{gameMemoryStorage.currentPlayer.stats.movingSpeed}}</div><div class="col-auto"><div class="game-details-icon speed"></div></div></div> | ||
</div> | ||
<div id="zone_joystick"></div> | ||
<div *ngIf="gameMemoryStorage.forceMobileControl && gameMemoryStorage.isGameMode" id="zone_joystick_bomb" (click)="placeBomb($event)" | ||
[class.unavailable]="!gameMemoryStorage.currentPlayer || !gameMemoryStorage.currentPlayer.stats || gameMemoryStorage.currentPlayer.stats.currentBombsCount >= gameMemoryStorage.currentPlayer.stats.maxBombs"></div> | ||
<router-outlet></router-outlet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './textures'; | ||
export * from './characters'; | ||
export * from './themes'; | ||
export * from './rewards'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
export const rewardsData = [ | ||
{ | ||
name: 'speed-increase', | ||
enabled: true, | ||
texture: 'rewards-speed-increase', | ||
chances: 1, | ||
stats: { | ||
maxMovingSpeed: 1, | ||
} | ||
}, | ||
{ | ||
name: 'speed-decrease', | ||
enabled: true, | ||
texture: 'rewards-speed-decrease', | ||
chances: 1, | ||
stats: { | ||
maxMovingSpeed: -1, | ||
} | ||
}, | ||
{ | ||
name: 'rewards-increase', | ||
enabled: true, | ||
texture: 'rewards-rewards-increase', | ||
chances: 1, | ||
stats: { | ||
rewardsIncrease: 1, | ||
} | ||
}, | ||
{ | ||
name: 'energy-increase', | ||
enabled: true, | ||
texture: 'rewards-energy-increase', | ||
chances: 1, | ||
stats: { | ||
bombPower: 1, | ||
} | ||
}, | ||
{ | ||
name: 'energy-decrease', | ||
enabled: true, | ||
texture: 'rewards-energy-decrease', | ||
chances: 1, | ||
stats: { | ||
bombPower: -1, | ||
} | ||
}, | ||
{ | ||
name: 'detonate-later', | ||
enabled: true, | ||
texture: 'rewards-detonate-later', | ||
chances: 1, | ||
stats: { | ||
bombTimeout: 1000, | ||
} | ||
}, | ||
{ | ||
name: 'bombs-increase', | ||
enabled: true, | ||
texture: 'rewards-bombs-increase', | ||
chances: 1, | ||
stats: { | ||
maxBombs: 1, | ||
} | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule engine
updated
from da00a4 to 1c1d64
Oops, something went wrong.