How do I set the position of a sprite center to viewport?

Get help using Construct 2

Post » Tue Mar 17, 2015 1:49 pm

How do I set the position of a sprite center to viewport?
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Tue Mar 17, 2015 2:12 pm

Hi,
Set position : X : (ViewportLeft(0) + ViewPortRight(0))/2
Y : (ViewPortTop(0) + ViewPortBottom(0))/2
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Wed Mar 18, 2015 4:58 pm

Thank you
B
10
S
5
Posts: 220
Reputation: 1,464


Return to How do I....?

Who is online

Users browsing this forum: minigame and 21 guests