How do I adjust layout size through events

Get help using Construct 2

Post » Wed Feb 04, 2015 12:50 am

For example.

On layout start > set layout.width XXXX


Is there a way to do this through events instead of editing the project properties?

Thanks!
B
11
S
1
Posts: 40
Reputation: 530

Post » Wed Feb 04, 2015 1:27 am

You can't change layout size at runtime. If you need to change it dynamically, enable unbounded scrolling on your layout, then clamp your scroll values based on your virtual layout size through events. This should give you the exact same effect.
Moderator
B
111
S
41
G
20
Posts: 1,586
Reputation: 19,046


Return to How do I....?

Who is online

Users browsing this forum: KittenKatja, LaDestitute, ladjuric, mchulet, Zjahel0001 and 1 guest