Phoenixbowman's Forum Posts

  • There ought to be a function that checks to see if Sprites are used on the next layout. If they are, then there should be the option to flush them from memory. That way, they're not piling up.

  • As in, A B and C are present on the current layout. WIll the End of Layout Destroy function flush them from memory, even if they are present on the next layout?

    So they're flushed from memory, so they don't keep piling up. That way, they're only present in memory when on the active layout. So there are not instances of them still existing from previous layouts.

  • > Something is causing memory to keep increasing. The memory goes up and up. If objects were being flushed than memory would drop. Something is still running in previous layouts. I re-use Sprites from previous layouts.

    >

    > Do Sprites that are used later persist in memory from previous layouts?

    >

    In my past experiments. There are some cases.

    If the sprites from your old layout is present in your new layout then it won't be flushed but if it isn't present in the next layout then it will be flushed.

    The Sprites from the old layout are present in the new layout.

    Thank you for this information. That could explain what is going on.

    Will doing at End of Layout > Destroy A destroy the sprite and flush it from memory?

    On End of Layout > Destroy A

    Destroy B

    Destroy C

    A B C and are on the current layout. Will that function destroy A B and C, even if they are present on the next layout?

  • My FPS is steady. The game runs smoothly, so it's not too many sprites on the screen.

  • Something is causing memory to keep increasing. The memory goes up and up. If objects were being flushed than memory would drop. Something is still running in previous layouts. I re-use Sprites from previous layouts.

    Do Sprites that are used later persist in memory from previous layouts?

  • All of my objects are on the layout view, none are loaded by events. If it were too many objects on a layout, then memory would be fluctuating up and down. From when the app runs, memory goes up, keeps going up, and keeps climbing. It never drops until the app is closed.

    If it were objects, then the memory would go up and down depending on the objects on screen. The memory is not going up and down. It only goes up and up the more layouts were passed.

  • Back when there were 10 Layouts, it was not a problem. Something is persisting. I read online that Assets that are used later on are stored in memory.

    Is there anyway around this? It looks like Assets on the previous layouts are staying in memory. thus the more layouts go by, the more memory goes up.

    WIll At End of Layout Destroy Object remove these from memory?

    On End of Layout > Destroy A Destroy B Destroy C

    Will that remove them from memory?

    How do I clear ALL assets from a previous layout from memory without naming each and everyone and marking each and everyone as Destroy at End of Layout?

  • Is there a specific End Layout function? Or does going to a different Layout end the current Layout? When a different layout is displayed, does the previous layout that is no longer displayed still persisting? Or does the act of a second layout being displayed end the previous layout?

  • Im running the game, without music. As i progress, the RAM usage is going up. Which means that something is not getting cleared from memory. I read somewhere that as soon as a Layout is no longer active, all of the non-global assets on the layout get destroyed.

    That is not the case. Something is persisting on the inactive, previous layouts.

    When a layout is no longer active, do Tiled backgrounds on the previous layout get destroyed, or do they persist?

    Something is persisting in memory. If you have on a layout, every 1 Second, subtract 1 from Global Variable X, does it continue to do that even when the layout is no longer active? Will it keep subracting 1 from X even when the layout is no longer active? With each passing level, the memory usage keeps going up. Could it be that the command Every 1 second subtract 1 from global variable X still be running? Even when the layout that the command is on is no longer active?

  • All of the graphics are 2-D. There are no physics behaviors, either. The game gets warmer as the game progresses. So either it's the music, or the assets are not being cleared from memory when the layout is over.

    Is there a Destroy Layout command? Because when I leave the layout, i dont know if it's being destroyed or not. The layout may be not be being shown anymore, but it could still be "active" and taking up memory.

    Is there a Destroy Layout command?

  • Do all Non-Global Assets get deleted when the a layout ends? If so, then why is the phone getting so hot? When a layout is left, then the non-global assets get destroyed, correct? As in, if the layout is no longer active. if another layout is active, then the non-global assets on the now non-active layout get destroyed?

    [EDIT: It's not the music. Even without music memory usage keeps climbing.]

  • It's a really simple function. Never before have I ever seen anything that had Style Options for Font, but was missing Underline. Underlines help for headers, and make text more professional looking. It gives a divider between the the header and the text below that header.

  • Why can't we set it for Text box? Really? So Construct 2 is missing one of the most basic functions for text. Even the most basic anything involving text allows underlining. They could just add it to the Style options along with Bold and Italics.

  • I don't see CSS style anywhere. I looked in both Event and Action, nothing there.

    There is no Appearence header. For buttons, there is an Appearance Header and one options says Set CSS Style. There is no header for text boxes.

    I mean the text boxes where the text is set. Not one where the user inputs text. As in, the text box where it's already set.

    You'd think Underlining would be put into Style options along with Bold and Italic.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there anyway to underline text in a text box? Seems like a pretty basic function. Even Word Perfect had the ability to underline text.

    Is there anyway to have text underlined? I looked and all I see is Bold and Italic.