Suggestion: Fix how touch coordinates work when zoomed
scitunes
Member, Sous Chef Posts: 4,047
It would be really nice if when you manipulated the scene camera size to have a zoom effect it didn't totally throw off touch coordinates.
Does anyone have ideas for a work around?
I've tried everything I could think of and I got nuttin'
Does anyone have ideas for a work around?
I've tried everything I could think of and I got nuttin'
Comments
I made an invisible actor that holds the rules, I then placed it down and to the left(about 100 or so on each) of a blank actor that the player sees and touches.
When I did a spawn button at the end of my level I spawned two one you see(blank) and one you don't see(rules) agian down and to the left.
hope that helps
The reason I ask is that I am trying to make an angry birds type clone. So it is not as simple as a button. I would like to be able to have the bird on the slingshot constrained to your touch (within a circular limit) while zoomed in or out.
here are some real number position difference I us
X=500, Y=300 on blank actor
X=200, Y=100 on actor with rule
Give it a try with these numbers, and for the zoomed in or out I'd just put a rule on the invisible actor "if zoom is on or off"