-
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.
new characters assets, initial gameplay, initial menu and routing engine
- Loading branch information
Showing
62 changed files
with
16,680 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule } from '@angular/router'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
RouterModule.forRoot([ | ||
], {initialNavigation: true}) | ||
], | ||
exports: [RouterModule] | ||
}) | ||
export class AppRoutingModule { } | ||
|
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 +1,2 @@ | ||
<canvas id="renderCanvas"></canvas> | ||
<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
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,22 +1,90 @@ | ||
export const charactersData = [ | ||
{ | ||
name: 'rabbit', | ||
modelPath: 'assets/models/Rabbit/', | ||
modelFileName: 'Rabbit.babylon', | ||
name: 'female-mage', | ||
modelPath: 'assets/models/FemaleMage/', | ||
modelFileName: 'FemaleMage.babylon', | ||
modelFileType: 'babylon', | ||
animations: { | ||
idle: [130, 151], | ||
walk: [161, 186], | ||
run: [161, 186], | ||
moveLeft: [161, 186], // missing | ||
moveRight: [161, 186], // missing | ||
die: [66, 111], | ||
hitReceived: [112, 126], | ||
attack: [1, 65] | ||
}, | ||
transform: { | ||
scale: [0.5, 0.5, 0.5], | ||
position: [0, 0.45, 0], | ||
rotate: [0, 180, 0] | ||
} | ||
}, | ||
{ | ||
name: 'diablous', | ||
modelPath: 'assets/models/Diablous/', | ||
modelFileName: 'Diablous.babylon', | ||
modelFileType: 'babylon', | ||
animations: { | ||
stand: [0, 30], | ||
run: [31, 54] | ||
idle: [151, 172], | ||
idle2: [177, 230], | ||
walk: [263, 288], | ||
run: [231, 248], | ||
moveLeft: [263, 288], // missing | ||
moveRight: [263, 288], // missing | ||
die: [67, 112], | ||
hitReceived: [121, 144], | ||
attack: [1, 51] | ||
}, | ||
transform: { | ||
scale: [0.5, 0.5, 0.5], | ||
position: [0, -0.2, 0], | ||
rotate: [0, 180, 0] | ||
} | ||
}, | ||
{ | ||
name: 'dude', | ||
modelPath: 'assets/models/Dude/', | ||
modelFileName: 'Dude.babylon', | ||
name: 'archer', | ||
modelPath: 'assets/models/Archer/', | ||
modelFileName: 'Archer.babylon', | ||
modelFileType: 'babylon', | ||
animations: { | ||
idle: [104, 125], | ||
walk: [151, 184], | ||
run: [151, 184], | ||
moveLeft: [151, 184], // missing | ||
moveRight: [151, 184], // missing | ||
die: [63, 91], | ||
hitReceived: [92, 103], | ||
attack: [15, 58] | ||
}, | ||
transform: { | ||
scale: [0.5, 0.5, 0.5], | ||
position: [0, -0.2, 0], | ||
rotate: [0, 180, 0] | ||
} | ||
}, | ||
|
||
|
||
|
||
{ | ||
name: 'rabbit', | ||
modelPath: 'assets/models/Rabbit/', | ||
modelFileName: 'Rabbit.babylon', | ||
modelFileType: 'babylon', | ||
animations: { | ||
stand: [0, 30], | ||
run: [31, 54] | ||
idle: [0, 30], | ||
walk: [31, 54], | ||
run: [31, 54], | ||
moveLeft: [31, 54], // missing | ||
moveRight: [31, 54], // missing | ||
die: [0, 30], | ||
hitReceived: [0, 30], | ||
attack: [0, 30] | ||
}, | ||
transform: { | ||
scale: [0.1, 0.1, 0.1], | ||
position: [0, -5.2, 0], | ||
rotate: [0, 0, 0] | ||
} | ||
} | ||
]; |
Oops, something went wrong.