diff options
Diffstat (limited to 'demo/assets/sandbox-groups.scm')
| -rw-r--r-- | demo/assets/sandbox-groups.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/demo/assets/sandbox-groups.scm b/demo/assets/sandbox-groups.scm new file mode 100644 index 0000000..1e9aca9 --- /dev/null +++ b/demo/assets/sandbox-groups.scm @@ -0,0 +1,30 @@ +((mixins) + (prefabs) + (group-prefabs + (shelf-platform + #:pose-only-origin? #t + #:static-parts? #t + #:type-members shelf-segment + #:parts + ((#:local-x 0 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 16 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 32 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 48 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 64 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 80 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 96 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 112 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 128 #:local-y 0 #:width 16 #:height 16 #:tile-id 20) + (#:local-x 144 #:local-y 0 #:width 16 #:height 16 #:tile-id 20))) + (collision-raft + ;; Match full AABB so tile physics (runs on the origin) lands the raft on the floor, + ;; not a 0×0 point at the top-left (which overlaps the floor row). + #:origin-width 48 + #:origin-height 16 + #:pose-only-origin? #f + #:static-parts? #t + #:type-members raft-segment + #:parts + ((#:local-x 0 #:local-y 0 #:width 16 #:height 16 #:tile-id 21) + (#:local-x 16 #:local-y 0 #:width 16 #:height 16 #:tile-id 21) + (#:local-x 32 #:local-y 0 #:width 16 #:height 16 #:tile-id 21))))) |
