Apparently I figured out the layout size limit...

Discussion and feedback on Construct 2

Post » Tue Nov 08, 2016 1:22 am

Image
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
57
S
15
G
5
Posts: 164
Reputation: 7,948

Post » Wed Nov 09, 2016 4:44 am

100,000 pixels max
2 pixels minimum
B
70
S
20
G
67
Posts: 1,316
Reputation: 42,305

Post » Wed Nov 09, 2016 5:27 am

I wonder if that limit is enforced if you change the layout size with an event.
B
91
S
31
G
103
Posts: 5,235
Reputation: 67,756

Post » Wed Nov 09, 2016 6:35 am

gamecorpstudio wrote:100,000 pixels max
2 pixels minimum


Min: 2 px
Max: 1,000,000 px

Layout size limit.... I think you are talking about the usable (with accuracy) layout size.
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,112
Reputation: 59,151

Post » Wed Nov 09, 2016 7:56 am

chadorireborn wrote:
gamecorpstudio wrote:100,000 pixels max
2 pixels minimum


Min: 2 px
Max: 1,000,000 px

Layout size limit.... I think you are talking about the usable (with accuracy) layout size.



i'm sorry but i dont know what accuracy your talking about ..... i just know whenever layout settings are set manually (i guess this means usable with accuracy?)

the min is automatically set to 2px if u try to do 1 or 0

and maximum is automatically forced to 100,000 pixels if u try to type something more then 100,000 pixels (100k/ one hundred thousand)

Image

i know image is about project window size... same applies to layout sizes manually
i have no idea what happens if u set it by events......

hope no wild Lorax will appear.


Image


the margin (unusable size doesn't count)
B
70
S
20
G
67
Posts: 1,316
Reputation: 42,305

Post » Wed Nov 09, 2016 12:25 pm

There is no technical reason for the limit you set there, it's just a sanity check to avoid most likely accidental use of absurd values. If you enable "unbounded scrolling" you have an effectively unlimited size, but you'll probably run in to floating point precision issues if you go to extreme distances.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250

Post » Wed Nov 09, 2016 2:55 pm

Ashley wrote:Over 5000 objects would probably be pushing it for low end machines, and large layouts should be fine (there's no memory/cpu usage proportional to layout size so it essentially doesn't matter how big a layout is). The only issue is objects store their position in single-precision floating point numbers, which means they might start getting inaccurately calculated at really big X/Y co-ordinates - it should be OK within 100,000 pixels of the layout origin though. You could always experiment with a slow moving object at (100000,100000) and see if it still moves OK (use unbounded scrolling to save having to make a layout that big).

You'll probably get better performance with smaller levels with less objects: currently, construct has to check every object in the layout, no matter how far away it is from the screen, to see if it needs to be drawn or animated. This incurs a tiny performance penalty, but in theory having over 10,000 objects in a layout could slow down the game purely because those objects exist.


@gamecorpstudio - Read the bold sentence above that @Ashley said from 2010 .That is what I meant by usable & accurate layout size. That is 100,000 px

Reference: max-layout-size-object-count_t59463

gamecorpstudio]i'm sorry but i dont know what accuracy your talking about ..... i just know whenever layout settings are set manually (i guess this means usable with accuracy?)[/quote]


[quote="gamecorpstudio wrote:
the min is automatically set to 2px if u try to do 1 or 0

and maximum is automatically forced to 100,000 pixels if u try to type something more then 100,000 pixels (100k/ one hundred thousand)

Image

i know image is about project window size... same applies to layout sizes manually
i have no idea what happens if u set it by events......

hope no wild Lorax will appear.


Image


the margin (unusable size doesn't count)


Okay, i get it. I can see that you also don't know the layout size true limit..... Look at my image below:

Image

It's 1,000,000 (a million px height & width).

@Ashley is the layout size limit dependent on the computer's capability?
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,112
Reputation: 59,151

Post » Wed Nov 09, 2016 4:13 pm

@chadorireborn oh, that i missed out to read, i never checked the limitation if are raised above 100k, never needed it, that's a topic i missed to read, well then ( :oops: :roll: " hehehe-ops i fahted, a man faht") its even better i learned something new today, thanks man!

@Ashley thanks for confirming this! that i didn't knew. i bet there is more, that i missed, but always eager to learn! :geek: :D

@sinistar99 ...you trown me a bait, :oops: i hate you >.> ..... hehehe...seriously now... how couldn't i get the reference of the movie "1mil dollars...hahaha "
B
70
S
20
G
67
Posts: 1,316
Reputation: 42,305

Post » Wed Nov 09, 2016 6:13 pm

ONE MILLION UNITS! Sorry I couldn't help but think of Doctor Evil... :)
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
57
S
15
G
5
Posts: 164
Reputation: 7,948

Post » Wed Nov 09, 2016 6:21 pm

Yeah, but this: https://www.youtube.com/watch?v=ngKT3MIfwpo
Is the limit when you use unbounded scrolling.
Image ImageImage
B
168
S
50
G
164
Posts: 8,227
Reputation: 105,573

Next

Return to Construct 2 General

Who is online

Users browsing this forum: jefftrier and 6 guests