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
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

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
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

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
225
S
27
G
13
Posts: 1,774
Reputation: 18,024


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 10 guests