Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
problem misaligned textures when duplicates — Gideros Forum

problem misaligned textures when duplicates

MoKaLuxMoKaLux Member
edited May 2019 in General questions
Hello there,

I have a problem with my code. Everything is ok when I do not have duplicate references.

When I do this it works:
Arabic_Words.new(2, 27, 2, 0, 1, 23, 2, 28, 3, nil, nil, nil, nil, nil, nil,"d", "m", "mf", ":", "md", "md", "m", "m", "f", nil, nil, nil, nil, nil, nil,"a", "s", "oun", ":", "a", "s", "a", "s", "ou", nil, nil, nil, nil, nil, nil),
But when I do this it doesn't work:
Arabic_Words.new(2, 28, 3, 0, 1, 23, 2, 28, 3, nil, nil, nil, nil, nil, nil,"d", "m", "mf", ":", "md", "md", "m", "m", "f", nil, nil, nil, nil, nil, nil,"a", "s", "oun", ":", "a", "s", "a", "s", "ou", nil, nil, nil, nil, nil, nil),
You can see that I have duplicate: 2, 28, 3, 0, 1, 23, 2, 28, 3

On the screenshot, I can see that the first duplicate is not in the right position, it is drawn over! Please note that this is right to left but I don't know if that matters as this is only textures not real text!?




Some more info:



You can see that the textures have been moved over.

I simply loop through some tables and set the textures positions. I guess this is something to do with table references (index) but that shouldn't happen.

I cannot find where in my code the problem is, could somebody have a look when you have time?

Thank you in advance. Peace.
gideros_error_img.png
482 x 852 - 14K
zip
zip
mkgiArab.zip
50K
gideros_error_img2.png
482 x 852 - 12K
my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories

Comments

Sign In or Register to comment.