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,052

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
130
S
29
G
80
Posts: 5,289
Reputation: 56,010

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
386
S
229
G
87
Posts: 24,207
Reputation: 191,742

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
280
S
105
G
86
Posts: 7,313
Reputation: 84,466

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,052

Post » Tue Jan 03, 2012 12:20 am

You can just enable unbounded scrolling and set the scroll limits yourself.
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,742

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,052


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest