lionz's Forum Posts

  • 'Start animation from current frame'

  • [quote:2qud8d8h]There must be some easy way to change a family's properties after creation without some kind of break for the code to register it?

    It's on family created. What do you mean by 'every scenario'? This one event covers every creation scenario.

  • More information required. Capx file share?

  • Ya just the system "save", which stores the state of the game at the point of the save, as shown in this tutorial : https://www.scirra.com/tutorials/526/ho ... -savegames

  • Yes see above.

  • Animation frame is x then Stop.

    Or Stop animation/set Speed 0, set frame to x.

  • Why do you need a pause? Why isn't the scale working? Try on family created > set scale.

  • Depends what you are trying to do, what's the problem?

  • You're subtracting from a different variable, my guess is you're displaying Time? You're subtracting from TIME_COUNT. Probably subtract from Time_Fonts.Time

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's efficient as long as you are not going to this layout during runtime. The objects in the other assets layout are never loaded and don't affect memory usage. Only the images in the current layout are loaded. You can put every image you are going to use in the game into one unused layout, it won't affect the game or use memory. If you are bothered about temporary freezing or a stutter when it tries to load in an image that does not exist in the layout then you can have it in the current layout but destroy it at the start of the game, this allows it to be preloaded.

  • You can use a global variable counter as a condition i.e. spawn enemy while global var less than 20 and add 1 to global var every time one spawns. You could also use the count of the enemy objects, i.e. if enemy.count < 20 then spawn, this counts the number of enemies that exist, but this would only be used if you had a max of 20 at any one time and destroying them affected the count, I don't think that applies here but it's useful to know.

  • Yes it is the project properties set to full screen like in the tutorial, did you try this? You asked for a 'better' solution but I'm not sure one is required? I may have misunderstood something though.

  • It's not clear what you are asking but if it's what I think you are asking then I will say you can create one layout and put all of your objects into it, it won't ever appear in game but stores the initial data/stats of objects. You need at least one instance of each object to exist in the game for reference.

  • That tutorial is the solution yes. I'm not sure why you're trying to change it to full screen mode on start of layout as setting it in properties like in the tutorial will work for initial game load. The reason the code isn't working is because you usually need user input to change this option, such as if it was an options menu. Try something like keyboard press button > request full screen, should toggle it.