Hello, I do not understand what is happening here, why the X coordinate of sprite is not positioned ?.
The X coordinate is always 0, never is 50 or 100 or 150 or 200.
https://dl.dropboxusercontent.com/u/60803633/test2.capx
Someone could take a look?
99Instances2Go wrote:Well, am not 100% sure, but. I think that a newly created instance actualy gets created in the next tick.
You can apply actions to a newly created instance, right after a "Create" action, but you can't do picking of that instance before the next event.
But the 'on start of layout' does not execute in the next tick. This makes the pick events beeing skipped.
There is a simple trick to know if your 'on start of layout' has a problem with picking. And that happens a lot if you are not carefull. Change the 'on start of layout' to 'on mouse clicked'. If it works now, you need to bring the events out of the 'on start of layout'.
R0J0hound wrote:The newly created objects are not pickable outside of sub-events till the next toplevel event.
More info here:
viewtopic.php?f=147&t=152869&p=964496&hilit=toplevel#p964496
Mirlas wrote:R0J0hound wrote:The newly created objects are not pickable outside of sub-events till the next toplevel event.
More info here:
viewtopic.php?f=147&t=152869&p=964496&hilit=toplevel#p964496
Ok thanks for the info, I think it is quite clear.
Who is online |
Users browsing this forum: fbarraza28, repkino and 2 guests |