Posts: 352
Joined: Feb 2008
Reputation:
4
Hello,
is it possible to start an animation on a specific point on the screen?
Right now if I use slide for a texture or group it starts alsways out of the screen and slides in.
I wish to start all for example 150px from the top of the screen.
I hope it is clear what I want.
Posts: 64
Joined: Feb 2017
Reputation:
6
2018-05-11, 15:33
(This post was last modified: 2018-05-11, 15:37 by vitorp07.)
<posx>46</posx>
<posy>150</posy>
<width>380</width>
<height>200</height>
<aspectratio align="left">keep</aspectratio>
<animation type="WindowOpen" reversible="false">
<effect type="slide" start="0,-200" end="0,0" delay="50" tween="sine" time="250"/>
You can adjust "start" and "end" until you get your desired slide effect
Posts: 64
Joined: Feb 2017
Reputation:
6
What I posted was just an example of a sliding effect, can you share the code you have now for the two texture it would be easier to help you.
Posts: 17,414
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,414
You want it to expand downwards?
Posts: 352
Joined: Feb 2008
Reputation:
4
2018-05-11, 22:12
(This post was last modified: 2018-05-11, 22:21 by tjost.)
I tried it but it always starts outside the screen.
I´m not perfect in englisch so it is hard to explain.
i´m thinking of 2 groups. The first group includes 2 textures 150px from the top and 70px from right 50 in height. It has also some text inside. The 2 Group starts by a click on a button it is 750px in height and also has text inside. I try to slide this from top to bottom but not from outside the visible screen. It should start right underneath the first group and then slide down. visible at first the bottom of the second group and then sliding down until all is visible.
I hope you can understand what I want.