Retrieving edge of window..

For questions about using Classic.

Post » Sun Dec 05, 2010 9:46 pm

Not really sure how to put this..um..How do I retrieve the coordinates of the edge of the window, NOT the layout?

MMF has something like left.frame, top.frame, etc. So regardless of your position in the layout, left.frame+window.width/2 & top.frame+window.height/2 would equal the middle of the window.

Does Construct have something like this? Thanks.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Sun Dec 05, 2010 9:49 pm

ScrollXLeft

ScrollXRight

ScrollYTop

ScrollYBottom

Why is nobody ever taking a look at the system expressions? :P
B
23
S
6
G
11
Posts: 1,047
Reputation: 8,065

Post » Sun Dec 05, 2010 10:03 pm

XD Wow I completely overlooked those..I've been trying to use ScrollX and ScrollY by themselves lol..Thanks!
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests