summaryrefslogtreecommitdiff
path: root/src/world.moon
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2025-01-26 15:21:55 -0600
committerAlexander M Pickering <alex@cogarr.net>2025-01-26 15:21:55 -0600
commitf7a6cb3573957ae617bf88a05f72cb22bb912abd (patch)
tree9bd8dabfcbd5808a74d995c93dc6f3f611da13f8 /src/world.moon
parent5846a4fea8d6a993466a792977128d21a18587bc (diff)
downloadggj25-f7a6cb3573957ae617bf88a05f72cb22bb912abd.tar.gz
ggj25-f7a6cb3573957ae617bf88a05f72cb22bb912abd.tar.bz2
ggj25-f7a6cb3573957ae617bf88a05f72cb22bb912abd.zip
Revert "final commit"
This reverts commit c39ff632b46c179709101c5b50a061ebd723689f.
Diffstat (limited to 'src/world.moon')
-rw-r--r--src/world.moon5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/world.moon b/src/world.moon
index 5c76187..df3d82f 100644
--- a/src/world.moon
+++ b/src/world.moon
@@ -98,6 +98,7 @@ class PhysicsComponent extends ecs.Component
collisions: () =>
x.level.physics_world\collisions(@shape)
+
class GraphicsComponent extends ecs.Component
new: (name, properties) =>
@node = am.group!
@@ -114,7 +115,7 @@ class GraphicsComponent extends ecs.Component
1, 0, 0, 0,
0, aspect, 0, 0,
0, 0, 1, 0,
- 0, 0, 0, 3.5
+ 0, 0, 0, 4
)
binds = {
MV: s_mv
@@ -128,7 +129,6 @@ class GraphicsComponent extends ecs.Component
world_y: x.world_y
rot: 0
water: 0
- --bubbles: bubble_texture
}
for color, value in pairs(color.am_color)
binds[color] = value
@@ -179,5 +179,4 @@ class GraphicsComponent extends ecs.Component
x.GraphicsComponent = GraphicsComponent
x.PhysicsComponent = PhysicsComponent
-x.Bubble = Bubble
x