This is a follow up request for https://www.b4x.com/android/forum/t...cts-send-to-front-or-back.139480/#post-883779
I'm traing change BodyWrapper.DrawLast / DrawFirst properties, but the behavior are not the expected.
In my Game I have several characters which move between "layers". Additionally I have some landscape images in front of everything. The inconvenience is at the moment when I want my character to go from the front of the screen to the middle, that is, to be ahead of 2 other objects but behind the last one. By using BodyWrapper.DrawLast / DrawFirst the only thing I achieve is that it is sent to the front or to the end, but not to intermediate positions. I tried writing the order of the objects in which I want to place the characters but the behavior is not as expected. Any ideas?
I'm traing change BodyWrapper.DrawLast / DrawFirst properties, but the behavior are not the expected.
In my Game I have several characters which move between "layers". Additionally I have some landscape images in front of everything. The inconvenience is at the moment when I want my character to go from the front of the screen to the middle, that is, to be ahead of 2 other objects but behind the last one. By using BodyWrapper.DrawLast / DrawFirst the only thing I achieve is that it is sent to the front or to the end, but not to intermediate positions. I tried writing the order of the objects in which I want to place the characters but the behavior is not as expected. Any ideas?