I’m not sure about it. I’m trying to make invisible walls on the edges of the screen in landscape mode. I had them working for portrait but can’t find the right coords for landscape. [import]uid: 41473 topic_id: 7236 reply_id: 25517[/import]
Are you sure they’re working? From what I can see, your first rect is placed at 0, 480, with a 1x1 area. Which means this rect would only cover a 1x1 area at the bottom left corner?
The first two parameters decide where the rect is placed on the grid, the second two decide the length and height.
Top: 0, 0, 480, 1
Left: 0, 0, 1, 320
Right: 480, 0, 1, 320
Bottom, 0, 320, 480, 1
Try with these settings and see if they work
Edit: And to make them invicible, just make them all local variables and set their alphas to 0 or try changing all the 1’s to 0’s (Not sure if this will work though) [import]uid: 14018 topic_id: 7236 reply_id: 25527[/import]