Skip to content

Commit 8a84de4

Browse files
authored
205 box2d scripting queries (#216)
* Added queries example * Added raycast query to the queries example. * Updated setup image for the queries example
1 parent 4538f2f commit 8a84de4

24 files changed

Lines changed: 759 additions & 0 deletions
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
path_settings {
2+
path: "**"
3+
profile: "Default"
4+
}
5+
profiles {
6+
name: "Default"
7+
platforms {
8+
os: OS_ID_GENERIC
9+
formats {
10+
format: TEXTURE_FORMAT_RGBA
11+
compression_level: BEST
12+
compression_type: COMPRESSION_TYPE_DEFAULT
13+
}
14+
mipmaps: false
15+
max_texture_size: 0
16+
premultiply_alpha: true
17+
}
18+
}
146 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
font: "/assets/fonts/SourceSansPro-Semibold.ttf"
2+
material: "/builtins/fonts/font-df.material"
3+
size: 28
4+
output_format: TYPE_DISTANCE_FIELD
5+
characters: " !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
5.92 KB
Loading
444 Bytes
Loading
80 Bytes
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
images {
2+
image: "/assets/images/pixel_white.png"
3+
}
4+
images {
5+
image: "/assets/images/triangle_white.png"
6+
}
7+
images {
8+
image: "/assets/images/diamond_white.png"
9+
}
10+
images {
11+
image: "/assets/images/ball.png"
12+
}
13+
extrude_borders: 2
658 Bytes
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
shape_type: TYPE_HULL
2+
data: -30.0
3+
data: 0.0
4+
data: 0.0
5+
data: 0.0
6+
data: -30.0
7+
data: 0.0
8+
data: 30.0
9+
data: 0.0
10+
data: 0.0
11+
data: 0.0
12+
data: 30.0
13+
data: 0.0
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
shape_type: TYPE_HULL
2+
data: -28.0
3+
data: -28.0
4+
data: 0.0
5+
data: 28.0
6+
data: -28.0
7+
data: 0.0
8+
data: 0.0
9+
data: 28.0
10+
data: 0.0

0 commit comments

Comments
 (0)