cochks wrote:I need to dynamically load an array of text values. Each item i the array will turn into a 2D object on the screen. I need to create a background for each object (figure I'd use a texture) but then I need to put the text on top of the background and the entire object needs to be clickable. I was reading through the Android docs and found the SpriteText example. It looks crazy complicated, but I'm thinking that is the only way to accomplish what I want to do.
So, what if I just drawBitmaps, but place them in a view with coordinates that map to 360 degrees (using Math i havent quite figured out). Would I then be able to slide the view on x-axis based on some math that translates touch events (or even down the road header sensor data) into the new x for the view? I guess I'm just not sure what I would do once a user has gone all the way around because the view would end even though I wouldn't want it to. I'd want it to stitch together. I guess this is similar to using panoramic photos to fake 3D virtual reality. Any thoughts? Would this approach be a better way to execute?
Thanks again so much for helping a newbie through this. Oddly, I assumed the math required to rotate the ojects in 3D would be the tough part, boy was i wrong!
Users browsing this forum: No registered users and 5 guests