TGB can't read/write pixel to Image(textures)
by Leanid Chaika (leon1984) · in Technical Issues · 09/09/2008 (2:40 am) · 3 replies
I want to port my game to TGB, and after I got trial version, can't find way to get pixel alpha value.
In my game user click on some image and I test collision on alpha value of pixel data.
I can't implement it in TGB. Can you suggest anything?
In my game user click on some image and I test collision on alpha value of pixel data.
I can't implement it in TGB. Can you suggest anything?
About the author
#2
09/12/2008 (11:14 am)
I would recommend a collision polygon, it's much more flexible than checking an alpha value.
#3
So if you try several (10 - 20) images for scene, very simple to check collision on alpha or with every new image you have to create new collision polygon.
09/12/2008 (11:25 am)
No. If you have separate texture(image) you can in seconds create collision layer and without TGB.So if you try several (10 - 20) images for scene, very simple to check collision on alpha or with every new image you have to create new collision polygon.
Associate James Ford
Sickhead Games