alastair's Forum Posts

  • Save me!

  • Problem Description

    Using the "load" system action does not properly load (or save) a Spritefont's text alignment.

    Attach a Capx

    https://copy.com/HVQxZwHPFF4uvOW3/bug_s ... download=1

    Description of Capx

    2 layouts:

    • "Start". Has a button to take you to the next layout. It also has a "load" button.
    • "Game". Has a spritefont with left aligned text, with code that changes it to be right aligned after a second. It also contains a save button.

    Steps to Reproduce Bug

    • Preview the game (it should begin with the "start" layout)
    • Click the "start" button
    • Wait a second and notice how the spritefont's text alignment changes
    • Click on the "save" button
    • You have now been taken back to the starting layout
    • Click on the "load" button

    Observed Result

    The text is aligned left. It appears as if the Load actions did not load the text alignment.

    Expected Result

    The text should be aligned to the right.

    Affected Browsers

    • Chrome: YES

    Operating System and Service Pack

    Windows 7, everything upto date

    Construct 2 Version ID

    r204

  • Tokinsom Ya, well it could be still 2-3 years away before the features are solid, maybe? By that time you'll probably be well into production, and then what would an editor change do for you at the point where you're drawing to a close?

  • Is this going to be possible to fix?

  • It doesn't matter because my resolution system changes the window size dynamically. ingame you can go all the way down to 640x360.

    How do you do that? Would you just make the fullscreen scaling "low quality", then set canvas size, then change the layout scale?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:1qy791j0]Subscription Expired

    This wiki's subscription has expired. The wiki will be reactivated once one of the wiki organizers renews the wiki's subscription.

    Was hoping to see what the site was like

  • I have almost 4000 in one sheet in my current game, not all of the events are being checked every tick though. If I remade it I'd probably be able to cut down the size by 20-50%. It's probably hindering performance on bad computers but I haven't done much testing yet on computers that are less powerful than an i3.

  • Are you saying like a larger game, or a small game like what we have with the C2 example files? (Space Blaster etc.)

  • I agree, it's still unfathomable to me that this isn't considered a bug. Creating objects on a layout you never told it to create to is considered "working as intended".

  • You do not have permission to view this post

  • This is one of my favorite plugins!

  • Thought this was for the first public Contruct 3 release, lol.

  • it's an absolute lifesaver when you need to move to a save slots system. All of the webstorage references in Airscape are function calls that pulls the data from the current save slot.

    I usually just have a global variable called something similar to "ProfileName" or "SaveSlot", and then if I need a variable (like the HP) from that profile slot I'd just get the value from the key called: ProfileName & "health"

    So I still don't understand the purpose of functions, thanks for answering though!

  • (or, if you really want to go the extra mile, replace them all with function calls that then reference the dictionary)

    Out of curiorisity, why or in what situation would you use that? (I'm still trying to improve my usage of Fuctions.) Thanks!

  • rexrainbow should make a topic for it on the forums?

    Thanks for updating it too!