Bughunt

This forum is currently in read-only mode.
  • Another fps-related issue:

    Just adding fade to the possible transistions and the fps drops...

  • I can't seem to get system variables like DisplayHeight and ScrollXRight to work. I would think them to be Display.Height and ScrollX.Right, but that's not what shows up in the expression when I click for it at the bottom. Neither are allowed, though sometimes the expression shows green when I click through the windows for them, but it tells me it's all wrong when I try to hit finish.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I renamed WindowWidth and WindowHeight to DisplayWidth and DisplayHeight a while ago but forgot to update the type checker - thanks for spotting that, fixed. As for ScrollXRight, works fine here.

  • Another thing: We have Write to INI, but do we have Read from INI?

  • Use the INI object for all that.

  • Whoops, that was dumb ^^ sorry for wasting your time! ... umm.. is there any way to transfer one object to another layout?

  • Whoops, that was dumb ^^ sorry for wasting your time! ... umm.. is there any way to transfer one object to another layout?

    Should be able to copy and paste it (Ctrl+C, Ctrl+V respectively) between layouts.

  • > Whoops, that was dumb ^^ sorry for wasting your time! ... umm.. is there any way to transfer one object to another layout?

    >

    Should be able to copy and paste it (Ctrl+C, Ctrl+V respectively) between layouts.

    I mean, in-time in the game... like teleporting...

  • >

    > > Whoops, that was dumb ^^ sorry for wasting your time! ... umm.. is there any way to transfer one object to another layout?

    > >

    > Should be able to copy and paste it (Ctrl+C, Ctrl+V respectively) between layouts.

    >

    I mean, in-time in the game... like teleporting...

    Woops, my bad.

    Best bet would be to check 'Global' in the Common properties of the object, and create one in the next layout on entrance. I haven't tested this, though, and I don't think it would transfer private variables so you'd probably have to either run it from globals or dump the private values to global variables and restore them in the next layout.

  • Global objects keep everything between layouts, including private variables.

  • Thanks, I love you guys <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

    A thing that bugs me ( <img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /> ) :

    I can't get music to continue playing after leaving a layout (not starting again, but continuing)

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