Layout Scale.. Size?

For developers using the Construct 2 Javascript SDK

Post » Mon Jan 02, 2012 3:23 pm

Hello, I've come accross something that really bugs me..

I have a world generator in my game, and I have different scale options of sizes to choose from.

My world size have a scale ratio of 2:1 (for example: 4000 width by 2000 height)

but I want a couple more options like 4000 by 1000.

What I'm saying is, I'd like options to choose the height and width of the layout! Not just the scale, It'd really really help me.

Thanks for reading!
B
17
S
4
G
5
Posts: 226
Reputation: 4,042

Post » Mon Jan 02, 2012 3:33 pm

How is this a bug? Isn't this more of a request? This section is for reporting bugs in the program.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,843
Reputation: 48,287

Post » Mon Jan 02, 2012 7:05 pm

I'm not sure what you mean... you can set the layout size in layout properties, can't you?
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon Jan 02, 2012 8:28 pm

i guess he means setting the layout size at runtime.

Edit: also moving the topic it's not a bug.Kyatric2012-01-02 21:45:03
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Mon Jan 02, 2012 11:41 pm

[QUOTE=Kyatric] i guess he means setting the layout size at runtime[/QUOTE]

Yes this is what I mean.
B
17
S
4
G
5
Posts: 226
Reputation: 4,042

Post » Tue Jan 03, 2012 12:20 am

You can just enable unbounded scrolling and set the scroll limits yourself.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Tue Jan 03, 2012 12:33 am

[QUOTE=Ashley] You can just enable unbounded scrolling and set the scroll limits yourself.[/QUOTE]

So you're saying the player or anything won't destroy if too far from layout or anything?

Although I still recommend adding this layout.setsize thing.
B
17
S
4
G
5
Posts: 226
Reputation: 4,042


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest