Gs0.9 Collision Bug when Camera Size Change
gamevicci
Member, PRO Posts: 306
Hi guys,
I created 2 buttons (menu and pause), and they work perfectly with default camera size (480x320) whit they rule "when touch is pressed"
If I change camera size to 720x480 (1,5x of default size) the "touch is pressed" rule doesn't work.
I noticed that if I don't move buttons from their original positions (first was 460x300, the other 30x300) it's possible to "push" them touching the area that they previously took up.
So I resolved the problem putting 2 others invisible (but touchable) objects in the old position and 2 visible (and with no rules or behaviors) actors in 680x450 and 60x450.
Obviously It could not be possible in a game with lots of touchable actors
I created 2 buttons (menu and pause), and they work perfectly with default camera size (480x320) whit they rule "when touch is pressed"
If I change camera size to 720x480 (1,5x of default size) the "touch is pressed" rule doesn't work.
I noticed that if I don't move buttons from their original positions (first was 460x300, the other 30x300) it's possible to "push" them touching the area that they previously took up.
So I resolved the problem putting 2 others invisible (but touchable) objects in the old position and 2 visible (and with no rules or behaviors) actors in 680x450 and 60x450.
Obviously It could not be possible in a game with lots of touchable actors
Comments