diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2025-01-26 15:12:19 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2025-01-26 15:12:19 -0600 |
| commit | 5846a4fea8d6a993466a792977128d21a18587bc (patch) | |
| tree | f1c53d194fc11af1f354be91a78472bdf467175c /src/player.moon | |
| parent | c39ff632b46c179709101c5b50a061ebd723689f (diff) | |
| download | ggj25-5846a4fea8d6a993466a792977128d21a18587bc.tar.gz ggj25-5846a4fea8d6a993466a792977128d21a18587bc.tar.bz2 ggj25-5846a4fea8d6a993466a792977128d21a18587bc.zip | |
Actual final commit
Diffstat (limited to 'src/player.moon')
| -rw-r--r-- | src/player.moon | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/player.moon b/src/player.moon index 04bb146..f43407c 100644 --- a/src/player.moon +++ b/src/player.moon @@ -88,7 +88,7 @@ class PlayerLineGraphicComponent extends world.GraphicsComponent @action("bobbersfx", am.play(19726308, false, 1, settings.volume)) else @action("bobbersfx", am.play(82979201, false, 1, settings.volume)) - print("Should create bobber") + --print("Should create bobber") elseif not s.net.properties.casted and entity.bobber ~= nil entity.bobber\destroy! @action("bobberretract", am.play(57368801, false, 1, settings.volume)) @@ -207,7 +207,7 @@ class PlayerPredictedComponent extends ecs.PredictedComponent @ent.bobber and @ent.bobber\check! }) - print("Right after creation, properties is",@properties) + --print("Right after creation, properties is",@properties) @node = am.group! join: (entity) => @ent = entity @@ -224,7 +224,7 @@ class PlayerPredictedComponent extends ecs.PredictedComponent -- Step sound effect land = world.level.on_land(@properties.pos) if am.current_time! - @last_step > (step_time * (land and 1 or 0.75)) and math.length(@properties.vel) > 0 - print("Step playing") + --print("Step playing") if land @node\action("stepsfx", am.play(60861008 + math.random(10) * 100, false, 1, settings.volume)) else @@ -256,7 +256,7 @@ class ProtoPlayer extends ecs.Entity fish_caught: 0 }) lc = PlayerLineGraphicComponent("line") - print("Protoplayer created") + --print("Protoplayer created") super("test",{graphic:gc,net:nc,controller:cc,pred:pc,line:lc}) {:Player, :ProtoPlayer} |
