-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.js
More file actions
112 lines (101 loc) · 2.19 KB
/
Copy pathbootstrap.js
File metadata and controls
112 lines (101 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/**
* Defining global constants
*/
//export const
/* Basic controls */
const vs = {
GAME: {
Stopped: 0,
Runnig: 1,
Paused: 2,
Frozen: 3,
Closed: 4
},
GAMEPLAY: {
Team1: 1,
Team2: 2,
Fighter1: 1,
Fighter2: 2,
Fighter3: 3
},
/* Module options */
STAGE: {
HealthBar: {
Scale: 100,
EffectType: {
Points: 1,
PercentOfHP: 2,
PercentOfHPTotal: 3
},
Status: {
Stopped: 0,
Running: 1, // Aplica todos os efeitos ativos ou ativados
Paused: 2, // Pausa todos os efeitos ativos e cancela ativações
Frozen: 3 // Ignora todos os efeitos ativos ou ativados
}
}
},
RENDER: {
FPS: 60
},
/*
core: '',
app: {
chat: {},
i18n: {},
router: {}
},
container: {
canvas: {},
dom: {},
input: {},
networking: {},
sound: {},
webgl: {}
},
fightgame: {
selectscreen: {},
scene: {},
stage: {
healthbar: {},
powerbar: {},
shape: {
action: {},
fighter: {},
player: {},
notification: {}
}
},
ranking: {}
},
logic: {
ai: {},
graphic: {},
physical: {},
mathematic: {}
},
render: {
animation: {},
draw: {},
solids2d: {},
sprite: {}
}
*/
}
/*
import core from '/vs/src/core/src/Core.js'
import dom from '/vs/src/container/dom/src/DOM.js'
import mathematic from '/vs/src/logic/mathematic/src/Mathematic.js'
import physical from '/vs/src/logic/physical/src/Physical.js'
import animation from '/vs/src/render/animation/src/Animation.js'
import healthbar from '/vs/src/stage/health-bar/src/HealthBar.js'
*/
/* Modules structure * /
vs.core = core
vs.dom = dom
vs.logic.physical = physical
vs.logic.mathematic = mathematic
vs.render.animation = animation
vs.app.view.stage.healthbar = healthbar
*/
//export default vs