Return layout size in Edittime.js

0 favourites
  • 3 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • Hi, I paste here my PM to Ashley who, I'm aware, is very busy.

    Is there a way to return/access the layout size and/or the project in the Edittime.js.

    I would like allow user change the layout size considering some other properties (read at bottom)...

    Also, I encounter that I guess is a bug...

    Still in edittime.js, in OnPropertyChanged, I compare two properties that make a change in another property...

    But, in C2, when I set the property "Screen" to "Low", it doesn't automatically change the "Screen width" value to "320", as it has to do.

    I have to input something in the "Screen width" value, and after that, the value change to "320"....

    if (["Screen"] == "Low" &&["Orientation"] == "Vertical")


         ["Screen width"] = 320;

         ["Screen height"] = 480;


  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry, you can't modify the layout size - the SDK is relatively limited at the moment, since we're pushed for time so have only added the bare minimum necessary for the official features. Hopefully we'll expand it in future, but I wouldn't hold your breath, we have a long todo list for the user side of things, let alone the SDK...

  • I understand...

    Hopefully it won't be too long ;)

    What about the second part, is it a bug ?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)