Rex MoveTo a time saver

1

Attached Files

The following files have been attached to this tutorial:

.capx

movetodemo.capx

Download now 575.09 KB

Stats

4,276 visits, 5,751 views

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 21 Aug, 2015. Last updated 19 Feb, 2019

Recently I wanted to show the text "Bonus +10" in a game. This needed to scroll up from the bottom and scroll back down after a second.

To solve this issue I used Rex MoveTo plugin.

You can download this from here

http://c2rexplugins.weebly.com/rex_moveto.html

or here

https://www.scirra.com/forum/behavior-moveto_t63156

I have included a sample capx file to show how this works.

I found one needs to take into account the time it takes to move up. This is that although the text pops up as required to wait for that 1 second before the text is scrolled down once again one has to include the time it takes to scroll up roughly.

In the example it took nearly 1 second to scroll the text up and hence I added another second as waiting time before it moves down again.

I hope you enjoy it and find it useful.

Apologies if my explanation in English isn't perfect but I am not English native speaking.

The capx was also uploaded to the Scirra Arcade which can be found here

https://www.scirra.com/arcade/tutorial-games/movetodemo-1880

.CAPX

movetodemo.capx

Download now 575.09 KB
  • 0 Comments

Want to leave a comment? Login or Register an account!