[NUI] RiveAnimationView Samples: Add More RiveAnimationView Samples
authorTaehyub Kim <taehyub.kim@samsung.com>
Thu, 5 Aug 2021 08:49:28 +0000 (01:49 -0700)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 10 Aug 2021 09:08:13 +0000 (18:08 +0900)
1. RiveAnimationUniverse.cs: This sample shows the view animation using user interactive rive animation.
2. RiveAnimationFollowTouch.cs: This sample shows the node position control of rive animation.
3. RiveAnimationRollInOut.cs: This sample shows the animation state change by the  user interaction.

12 files changed:
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationFollowTouch.cs [new file with mode: 0755]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationRollInOut.cs [new file with mode: 0755]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationTest.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationUniverse.cs [new file with mode: 0755]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImage.png [new file with mode: 0644]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageEnd.png [new file with mode: 0644]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirst.png [new file with mode: 0644]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirstClicked.png [new file with mode: 0644]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/buggy.riv [moved from test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/buggy.riv with 100% similarity]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/flame-and-spark.riv [new file with mode: 0644]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/space_reload.riv [new file with mode: 0644]
test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/teeny_tiny_file.riv [new file with mode: 0644]

diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationFollowTouch.cs b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationFollowTouch.cs
new file mode 100755 (executable)
index 0000000..2f2b502
--- /dev/null
@@ -0,0 +1,63 @@
+using Tizen.NUI.BaseComponents;
+using Tizen.NUI.Components;
+
+namespace Tizen.NUI.Samples
+{
+    public class RiveAnimationFollowTouch : IExample
+    {
+        private Window window;
+        private Layer defaultLayer;
+
+        RiveAnimationView rav;
+        Button playButton, stopButton;
+        Button bounceButton, brokeButton;
+        Button fillButton, strokeButton, opacityButton;
+        Button scaleButton, rotationButton, positionButton;
+        public void Activate()
+        {
+            window = NUIApplication.GetDefaultWindow();
+            defaultLayer = window.GetDefaultLayer();
+            window.TouchEvent += OnRiveWindowTouchEvent;
+
+            // Load RiveAnimation File
+            rav = new RiveAnimationView(Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/flame-and-spark.riv")
+            {
+                Size = new Size(720, 720),
+            };
+
+            // Enable RiveAnimation and Play
+            rav.EnableAnimation("idle", true);
+            rav.Play();
+
+            playButton = new Button()
+            {
+                Size = new Size(200, 100),
+                Position = new Position(0, 0),
+                Text = "Play"
+            };
+            playButton.Clicked += (object source, ClickedEventArgs args) =>
+            {
+                rav.Play();
+            };
+
+            defaultLayer.Add(rav);
+            defaultLayer.Add(playButton);
+        }
+
+         private void OnRiveWindowTouchEvent(object source, Window.TouchEventArgs e)
+        {
+            Vector2 lp = e.Touch.GetLocalPosition(0);
+            Vector2 sp = e.Touch.GetScreenPosition(0);
+            float scale = (1000.0f /720.0f);
+
+            // Set root and spark node position
+            rav.SetNodePosition("root", new Position(lp.X * scale, lp.Y * scale));
+            rav.SetNodePosition("spark", new Position((lp.X - 288) * scale, lp.Y) * scale);
+        }
+        public void Deactivate()
+        {
+            defaultLayer.Remove(rav);
+            defaultLayer.Remove(playButton);
+        }
+    }
+}
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationRollInOut.cs b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationRollInOut.cs
new file mode 100755 (executable)
index 0000000..e294aa0
--- /dev/null
@@ -0,0 +1,81 @@
+using Tizen.NUI.BaseComponents;
+using Tizen.NUI.Components;
+
+namespace Tizen.NUI.Samples
+{
+    public class RiveAnimationRollInOut : IExample
+    {
+        private Window window;
+        private Layer defaultLayer;
+        RiveAnimationView rav;
+        Button playButton;
+        bool preIn, isIn;
+        public void Activate()
+        {
+            window = NUIApplication.GetDefaultWindow();
+            defaultLayer = window.GetDefaultLayer();
+            window.TouchEvent += OnRiveWindowTouchEvent;
+
+            // Load RiveAnimation File
+            rav = new RiveAnimationView(Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/teeny_tiny_file.riv")
+            {
+                Size = new Size(720, 720),
+            };
+
+            // Enable RiveAnimation and Play
+            rav.EnableAnimation("idle", true);
+            rav.Play();
+
+            playButton = new Button()
+            {
+                Size = new Size(200, 100),
+                Position = new Position(0, 0),
+                Text = "Play"
+            };
+            playButton.Clicked += (object source, ClickedEventArgs args) =>
+            {
+                rav.Play();
+            };
+
+            defaultLayer.Add(rav);
+            defaultLayer.Add(playButton);
+        }
+
+         private void OnRiveWindowTouchEvent(object source, Window.TouchEventArgs e)
+        {
+            Vector2 lp = e.Touch.GetLocalPosition(0);
+            Vector2 sp = e.Touch.GetScreenPosition(0);
+
+            if (lp.X > 100 && lp.Y > 100 && lp.X < 620 && lp.Y < 620)
+            {
+                isIn = true;
+            }
+            else
+            {
+                isIn = false;
+            }
+
+            if (preIn != isIn)
+            {
+               preIn = isIn;
+               if (preIn)
+               {
+                 // Change Animation State When the cursor is in the bounds
+                 rav.EnableAnimation("rollover_in", true);
+                 rav.EnableAnimation("rollover_out", false);
+               }
+               else
+               {
+                 // Change Animation State When the cursor is out of the bounds
+                 rav.EnableAnimation("rollover_in", false);
+                 rav.EnableAnimation("rollover_out", true);
+               }
+            }
+        }
+        public void Deactivate()
+        {
+            defaultLayer.Remove(rav);
+            defaultLayer.Remove(playButton);
+        }
+    }
+}
index dcf4711..5fe1f99 100755 (executable)
@@ -18,7 +18,7 @@ namespace Tizen.NUI.Samples
             window = NUIApplication.GetDefaultWindow();
             defaultLayer = window.GetDefaultLayer();
 
-            rav = new RiveAnimationView(Tizen.Applications.Application.Current.DirectoryInfo.Resource + "buggy.riv")
+            rav = new RiveAnimationView(Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/buggy.riv")
             {
                 Size = new Size(500, 500),
                 ParentOrigin = ParentOrigin.Center,
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationUniverse.cs b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/RiveAnimationUniverse.cs
new file mode 100755 (executable)
index 0000000..60583f9
--- /dev/null
@@ -0,0 +1,362 @@
+using Tizen.NUI.BaseComponents;
+using Tizen.NUI.Components;
+
+namespace Tizen.NUI.Samples
+{
+    public class RiveAnimationUniverse : IExample
+    {
+        private Color [] VIEW_TITLE_COLOR = {
+            new Color(38.0f/255.0f, 169.0f/255.0f, 242.0f/255.0f, 1.0f),
+            new Color(177.0f/255.0f, 177.0f/255.0f, 177.0f/255.0f, 1.0f),
+            new Color(241.0f/255.0f, 173.0f/255.0f, 63.0f/255.0f, 1.0f),
+            new Color(232.0f/255.0f, 130.0f/255.0f, 101.0f/255.0f, 1.0f),
+            new Color(233.0f/255.0f, 221.0f/255.0f, 198.0f/255.0f, 1.0f),
+        };
+        private string [] VIEW_TITLE = {
+            "Earth", "Moon", "Sun", "Jupiter", "Venus",
+        };
+        private string [] VIEW_TEXT = {
+        "Earth is the third planet from the sun.",
+        "Moon is Earth's only natural satellite.",
+        "Sun is the star at the center of the Solar System.",
+        "Jupiter the fifth planet from the Sun.",
+        "Venus is the second planet from the Sun."
+        };
+        private string [] VIEW_BG_PATH = {
+            Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/ViewItemBgImageFirst.png",
+            Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/ViewItemBgImage.png",
+            Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/ViewItemBgImage.png",
+            Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/ViewItemBgImage.png",
+            Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/ViewItemBgImageEnd.png"
+        };
+        Position [] VIEW_POSITION = {
+            new Position(0, 0),
+            new Position(0, 310),
+            new Position(0, 610),
+            new Position(0, 910),
+            new Position(0, 1210),
+        };
+        Size [] VIEW_SIZE = {
+            new Size(720, 310),
+            new Size(720, 300),
+            new Size(720, 300),
+            new Size(720, 300),
+            new Size(720, 310),
+        };
+        bool [] viewBgClicked = {false, false, false, false, false};
+        string VIEW_BG_CLICKED_PATH = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/ViewItemBgImageFirstClicked.png";
+
+        private Window window;
+        private Layer defaultLayer;
+        private RiveAnimationView rav;
+        private TextLabel header;
+        private Components.ScrollableBase scroll;
+        private View[] viewItems;
+        private float ravCenterY;
+        private bool isMoving;
+        private Position startPos;
+        private Position scrollPos;
+        private float preScrollPositionY;
+
+        public void Activate()
+        {
+            window = NUIApplication.GetDefaultWindow();
+            defaultLayer = window.GetDefaultLayer();
+            window.TouchEvent += OnRiveWindowTouchEvent;
+
+            // Load RiveAnimation File
+            rav = new RiveAnimationView(Tizen.Applications.Application.Current.DirectoryInfo.Resource + "rive/space_reload.riv")
+            {
+                Size = new Size(720, 500),
+                Position = new Position(0, 72)
+            };
+
+            scroll = new Components.ScrollableBase()
+            {
+                Position = new Position(0, 120),
+                Size = new Size(720, 1160),
+                ScrollingDirection = Components.ScrollableBase.Direction.Vertical,
+                EnableOverShootingEffect = true,
+                HideScrollbar = true,
+                ScrollEnabled = false
+            };
+            scroll.Scrolling += Scrolling;
+
+            header = new TextLabel
+            {
+                Text = "Universe",
+                Position = new Position(0, 0),
+                Size = new Size(720, 120),
+                BackgroundColor = new Color(52.0f/255.0f, 43.0f/255.0f, 117.0f/255.0f, 1.0f),
+                VerticalAlignment = VerticalAlignment.Center,
+                HorizontalAlignment = HorizontalAlignment.Center,
+                TextColor = new Color(1.0f, 1.0f, 1.0f, 1.0f),
+                PointSize = 20.0f,
+                
+            };
+
+            viewItems = new View[5];
+            for (int i = 0; i < 5; i++)
+            {
+                viewItems[i] = new View
+                {
+                    Position = VIEW_POSITION[i],
+                    Size = VIEW_SIZE[i],
+                    BackgroundImage = VIEW_BG_PATH[i],
+                    Layout = new LinearLayout()
+                    {
+                        LinearOrientation = LinearLayout.Orientation.Vertical,
+                        LinearAlignment = LinearLayout.Alignment.Center,
+                        CellPadding = new Size(40, 0)
+                    }
+                };
+
+                TextLabel title = new TextLabel
+                {
+                    Size = new Size(550, 70),
+                    PointSize = 12.0f,    
+                    Text = VIEW_TITLE[i],
+                    TextColor = VIEW_TITLE_COLOR[i]
+                };
+
+                TextLabel text = new TextLabel
+                {
+                    Size = new Size(550, 100),
+                    PointSize = 9.0f,
+                    MultiLine = true,
+                    Text = VIEW_TEXT[i],
+                    TextColor = new Color(1.0f, 1.0f, 1.0f, 1.0f)
+                };
+
+                if (i==0)
+                    viewItems[i].TouchEvent += OnChangeEarthColor;
+                else if(i==1)
+                    viewItems[i].TouchEvent += OnChangeMoonColor;
+                else if(i==2)
+                    viewItems[i].TouchEvent += OnChangeSunColor;
+                else if(i==3)
+                    viewItems[i].TouchEvent += OnChangeJupiterColor;
+
+                viewItems[i].Add(title);
+                viewItems[i].Add(text);
+                scroll.Add(viewItems[i]);
+            }
+
+            defaultLayer.Add(rav);
+            defaultLayer.Add(scroll);
+            defaultLayer.Add(header);
+
+            // Enable RiveAnimation and Play
+            rav.EnableAnimation("Idle", true);
+            rav.Play();
+        }
+        private void Scrolling(object sender, Components.ScrollEventArgs e)
+        {
+            for(int i = 0; i < 5; i++)
+            {
+                viewItems[i].BackgroundImage = VIEW_BG_PATH[i];
+            }
+        }
+
+        [global::System.Obsolete]
+        private void OnRiveWindowTouchEvent(object source, Window.TouchEventArgs e)
+        {
+            Vector2 sp = e.Touch.GetScreenPosition(0);
+            PointStateType state = e.Touch.GetState(0);
+            Position screenPos = new Position(sp.X, sp.Y);
+
+            if (!scroll.ScrollEnabled)
+            {
+                if (state == PointStateType.Down)
+                {
+                    startPos = screenPos;
+                    scrollPos = scroll.Position;
+                }
+                Position diff = screenPos - startPos;
+                scroll.PositionX = 0.0f;
+                float minmaxY = scrollPos.Y + diff.Y;
+
+                if (minmaxY > 520)
+                {
+                    scroll.PositionY = 520;
+                }
+                else if(minmaxY <= 120)
+                {
+                    scroll.PositionY = 120;
+                }
+                else
+                {
+                    scroll.PositionY = minmaxY;
+                }
+            
+                float time = (scroll.PositionY - 120 ) / 400;
+
+                // Set RiveAnimation Elapsed Time using View Position
+                rav.SetAnimationElapsedTime("Pull", time);
+
+               if (time < 1.0)
+               {
+                   isMoving = true;
+                   // Disable RiveAnimations
+                   rav.EnableAnimation("Trigger", false);
+                   rav.EnableAnimation("Loading", false);
+               }
+               else if (time >= 1.0 && isMoving)
+               {
+                   isMoving = false;
+                   // Enable RiveAnimations   
+                   rav.EnableAnimation("Trigger", true);
+                   rav.EnableAnimation("Loading", true);
+                   scroll.ScrollEnabled = true;
+                   scroll.Size = new Size(720, 760);
+               }
+            }
+            else
+            {
+                if (preScrollPositionY == 0)
+                {
+                    float diff = scroll.ScrollPosition.Y - preScrollPositionY;
+                    if (diff > 5)
+                    {
+                        scroll.ScrollTo(0, false);
+                        scroll.ScrollEnabled = false;
+                        scroll.Size = new Size(720, 1160);
+                        for (int i = 0; i < 5; i++)
+                        {
+                            viewItems[i].BackgroundImage = VIEW_BG_PATH[i];
+                        }
+                    }
+                }
+                preScrollPositionY = scroll.ScrollPosition.Y;
+            }
+            ravCenterY = (120.0f + scroll.Position.Y) / 2;
+            rav.PositionX = 0.0f;
+            rav.PositionY = ravCenterY - 248.0f;
+        }
+
+        private bool OnChangeEarthColor(object source, View.TouchEventArgs e)
+        {
+            PointStateType GetState = e.Touch.GetState(0);
+            Vector2 item = e.Touch.GetLocalPosition(0);
+            if (scroll.ScrollEnabled && item.Y > 30)
+            {
+                if (GetState == PointStateType.Down)
+                {
+                    viewBgClicked[0] = !viewBgClicked[0];
+                    viewItems[0].BackgroundImage = VIEW_BG_CLICKED_PATH;
+                    if (viewBgClicked[0])
+                    {
+                        // Set Earth Fill Color
+                        rav.SetShapeFillColor("EarthColor", new Color(245.0f/255.0f, 117.0f/255.0f, 220.0f/255.0f, 1.0f));
+                    }
+                    else
+                    {
+                        // Set Earth Fill Color
+                        rav.SetShapeFillColor("EarthColor", new Color(38.0f/255.0f, 169.0f/255.0f, 242.0f/255.0f, 1.0f));
+                    }
+                }
+                if (GetState == PointStateType.Up)
+                {
+                    viewItems[0].BackgroundImage = VIEW_BG_PATH[0];
+                }
+            }
+            return false;
+        }
+
+        private bool OnChangeMoonColor(object source, View.TouchEventArgs e)
+        {
+            PointStateType GetState = e.Touch.GetState(0);
+            Vector2 item = e.Touch.GetLocalPosition(0);
+            if (scroll.ScrollEnabled && item.Y > 30)
+            {
+                if (GetState == PointStateType.Down)
+                {
+                    viewBgClicked[1] = !viewBgClicked[1];
+                    viewItems[1].BackgroundImage = VIEW_BG_CLICKED_PATH;
+                    if (viewBgClicked[1])
+                    {
+                        // Set Moon Fill Color
+                        rav.SetShapeFillColor("MoonColor", new Color(245.0f/255.0f, 117.0f/255.0f, 220.0f/255.0f, 1.0f));
+                        rav.SetShapeFillColor("MoonShadowColor", new Color(225.0f/255.0f, 107.0f/255.0f, 200.0f/255.0f, 1.0f));
+                    }
+                    else
+                    {
+                        // Set Moon Fill Color
+                        rav.SetShapeFillColor("MoonColor", new Color(177.0f/255.0f, 177.0f/255.0f, 177.0f/255.0f, 1.0f));
+                        rav.SetShapeFillColor("MoonShadowColor", new Color(141.0f/255.0f, 141.0f/255.0f, 141.0f/255.0f, 1.0f));
+                    }
+                }
+                if (GetState == PointStateType.Up)
+                {
+                    viewItems[1].BackgroundImage = VIEW_BG_PATH[1];
+                }
+            }
+            return false;
+        }
+
+        private bool OnChangeSunColor(object source, View.TouchEventArgs e)
+        {
+            PointStateType GetState = e.Touch.GetState(0);
+            Vector2 item = e.Touch.GetLocalPosition(0);
+            if (scroll.ScrollEnabled && item.Y > 30)
+            {
+                if (GetState == PointStateType.Down)
+                {
+                    viewBgClicked[2] = !viewBgClicked[2];
+                    viewItems[2].BackgroundImage = VIEW_BG_CLICKED_PATH;
+                    if(viewBgClicked[2])
+                    {
+                        // Set Sun Fill Color
+                        rav.SetShapeFillColor("SunColor", new Color(245.0f/255.0f, 117.0f/255.0f, 220.0f/255.0f, 1.0f));
+                    }
+                    else
+                    {
+                        // Set Sun Fill Color
+                        rav.SetShapeFillColor("SunColor", new Color(241.0f/255.0f, 173.0f/255.0f, 63.0f/255.0f, 1.0f));
+                    }
+                }
+                if (GetState == PointStateType.Up)
+                {
+                    viewItems[2].BackgroundImage = VIEW_BG_PATH[2];
+                }
+            }
+            return false;
+        }
+
+        private bool OnChangeJupiterColor(object source, View.TouchEventArgs e)
+        {
+            PointStateType GetState = e.Touch.GetState(0);
+            Vector2 item = e.Touch.GetLocalPosition(0);
+            if (scroll.ScrollEnabled && item.Y > 30)
+            {   
+                if (GetState == PointStateType.Down)
+                {
+                    viewBgClicked[3] = !viewBgClicked[3];
+                    viewItems[3].BackgroundImage = VIEW_BG_CLICKED_PATH;
+                    if(viewBgClicked[3])
+                    {
+                        // Set Jupiter Fill Color
+                        rav.SetShapeFillColor("JupiterColor", new Color(245.0f/255.0f, 117.0f/255.0f, 220.0f/255.0f, 1.0f));
+                    }
+                    else
+                    {
+                        // Set Jupiter Fill Color
+                        rav.SetShapeFillColor("JupiterColor", new Color(232.0f/255.0f, 130.0f/255.0f, 101.0f/255.0f, 1.0f));
+                    }
+                }
+                if (GetState == PointStateType.Up)
+                {
+                    viewItems[3].BackgroundImage = VIEW_BG_PATH[3];
+                }
+            }
+            return false;
+        }
+
+        public void Deactivate()
+        {
+            defaultLayer.Remove(rav);
+            defaultLayer.Remove(scroll);
+            defaultLayer.Remove(header);
+        }
+    }
+}
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImage.png b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImage.png
new file mode 100644 (file)
index 0000000..dd83d9e
Binary files /dev/null and b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImage.png differ
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageEnd.png b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageEnd.png
new file mode 100644 (file)
index 0000000..63fe55e
Binary files /dev/null and b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageEnd.png differ
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirst.png b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirst.png
new file mode 100644 (file)
index 0000000..e489b77
Binary files /dev/null and b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirst.png differ
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirstClicked.png b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirstClicked.png
new file mode 100644 (file)
index 0000000..cb92d0b
Binary files /dev/null and b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/ViewItemBgImageFirstClicked.png differ
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/flame-and-spark.riv b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/flame-and-spark.riv
new file mode 100644 (file)
index 0000000..6b3be8d
Binary files /dev/null and b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/flame-and-spark.riv differ
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/space_reload.riv b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/space_reload.riv
new file mode 100644 (file)
index 0000000..acde1fa
Binary files /dev/null and b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/space_reload.riv differ
diff --git a/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/teeny_tiny_file.riv b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/teeny_tiny_file.riv
new file mode 100644 (file)
index 0000000..09c4b2b
Binary files /dev/null and b/test/Tizen.NUI.Samples/Tizen.NUI.Samples/res/rive/teeny_tiny_file.riv differ