Create Electron app
This commit is contained in:
parent
439dcf3917
commit
b3950330e3
65 changed files with 3039 additions and 135 deletions
3
static/resources/entity/green_circle.json
Normal file
3
static/resources/entity/green_circle.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"sprite": "green_circle"
|
||||
}
|
10
static/resources/entity/red_circle.json
Normal file
10
static/resources/entity/red_circle.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"sprite": "red_circle",
|
||||
"collision": [
|
||||
{
|
||||
"type": "circle",
|
||||
"center": [0, 0],
|
||||
"radius": 0.46875
|
||||
}
|
||||
]
|
||||
}
|
3
static/resources/entity/red_ellipse.json
Normal file
3
static/resources/entity/red_ellipse.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"sprite": "red_ellipse"
|
||||
}
|
23
static/resources/entity/square.json
Normal file
23
static/resources/entity/square.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"sprite": "square",
|
||||
"collision": [
|
||||
{
|
||||
"type": "polygon",
|
||||
"vertices": [
|
||||
[-0.46875, -0.46875],
|
||||
[-0.46875, 0.46875],
|
||||
[0.46875, 0.46875],
|
||||
[0.46875, -0.46875]
|
||||
]
|
||||
}
|
||||
],
|
||||
"frames": 4,
|
||||
"animation": {
|
||||
"sequence": [
|
||||
[500, 0],
|
||||
[500, 1],
|
||||
[500, 2],
|
||||
[500, 3]
|
||||
]
|
||||
}
|
||||
}
|
12
static/resources/entity/water.json
Normal file
12
static/resources/entity/water.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"sprite": "water",
|
||||
"frames": 4,
|
||||
"animation": {
|
||||
"sequence": [
|
||||
[500, 0],
|
||||
[500, 1],
|
||||
[500, 2],
|
||||
[500, 3]
|
||||
]
|
||||
}
|
||||
}
|
Reference in a new issue