From bf5dd9fbcaa40cef2e5a619013c580919f1e2d2d Mon Sep 17 00:00:00 2001 From: Pravus Date: Wed, 1 Oct 2025 17:50:55 +0200 Subject: [PATCH 1/2] added new continuous modes --- proto/decentraland/sdk/components/tween.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/proto/decentraland/sdk/components/tween.proto b/proto/decentraland/sdk/components/tween.proto index 2ed6d784..5d4b12a0 100644 --- a/proto/decentraland/sdk/components/tween.proto +++ b/proto/decentraland/sdk/components/tween.proto @@ -16,6 +16,9 @@ message PBTween { Rotate rotate = 4; Scale scale = 5; TextureMove texture_move = 8; + RotateContinuous rotate_continuous = 9; + MoveContinuous move_continuous = 10; + TextureMoveContinuous texture_move_continuous = 11; } optional bool playing = 6; // default true (pause or running) @@ -46,6 +49,21 @@ message TextureMove { optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET } +message RotateContinuous { + decentraland.common.Quaternion direction = 1; + float speed = 2; +} + +message MoveContinuous { + decentraland.common.Vector3 direction = 1; + float speed = 2; +} + +message TextureMoveContinuous { + decentraland.common.Vector2 direction = 1; + float speed = 2; +} + enum TextureMovementType { TMT_OFFSET = 0; // default = TextureMovementType.TMT_OFFSET TMT_TILING = 1; From c23d5cd950178a5b4d7230f0702c6bd6dc236586 Mon Sep 17 00:00:00 2001 From: Pravus Date: Thu, 2 Oct 2025 14:14:52 +0200 Subject: [PATCH 2/2] added 'movement_type' for TextureMoveContinuous --- proto/decentraland/sdk/components/tween.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/proto/decentraland/sdk/components/tween.proto b/proto/decentraland/sdk/components/tween.proto index 5d4b12a0..f95e188e 100644 --- a/proto/decentraland/sdk/components/tween.proto +++ b/proto/decentraland/sdk/components/tween.proto @@ -62,6 +62,7 @@ message MoveContinuous { message TextureMoveContinuous { decentraland.common.Vector2 direction = 1; float speed = 2; + optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET } enum TextureMovementType {