hello everyone. in my game i am trying to make an image scroll from top to bottom i set litetween with a -970 target and it works.
But i would like that upon reaching the -970 position it goes to another layout but this thing doesn't do it. why? can you help me. thanks.
Are you referring to a plugin of some kind? Check for a condition 'on tween end' then go to layout.
I tried that way too but it doesn't, I don't know why.
I premise that the img in question has a resolution of:
1920 * 4096 (maximum allowed by construct)
So tween didn't end yet? Let's see the other events for tween?
I can't figure out where I'm going wrong.
Your go to layout action is disabled though, you know this right?
Yes yes I know. Since it didn't work, I put the destroy function to see a debug mode if it would at least destroy it and it doesn't do that either...
That is strange. Only thing to do is share a link to project file so someone can take a look.
I finally solved it, in layout 2 I forced the event sheet and it worked. Thank you so much for supporting me!!! :)
Develop games in your browser. Powerful, performant & highly capable.
Ah ok it had no event sheet assigned that also makes sense, think someone would've worked it out if you shared it but that's good you solved it yourself well done :)