zenox98's Forum Posts

  • I disagree, When a project gets large, it is more efficient to save it to a project folder. This also has the benefit of being able to change the images if necessary without having to re-import them.

    Not all options are going to be useful to everyone.

  • It actually says run the current or last active layout, so I would say this isn't a bug. Maybe what you are asking for is a 'Run Project' option?

  • There are quite a few examples of paint programs in the Examples & Tutorials list HERE if you need some extra examples.

  • Just from a quick look.

    The leaf and leaf2 object still has the swing behavior on the Game layout. On the same layout, Sprite has the cooldown behavior.

    Here is the amended .capx.

  • Yann

    Exactly my point!

    It's all about user expectation - what does the user expect to happen.

    As you have said, why are objects allowed to be global? One for Ashley, I feel.

  • You're correct in that it is easy to fix, but I wanted to know WHY the text objects and sprite didn't appear.

    After adding some debug code, it seems that on start of Layout 1, these global objects are on Layer 3, but after level is completed, they move to Layer 0 (because there is no layer 3 on the subsequent layout), which means that when you press Enter to start again, these objects are still on Layer 0 so don't show.

    It seems logical, but I would have thought it would have reset the layer back to 3 on this layout, which it doesn't. You can always specifically set these objects to the correct layer on Start of Layout using 'move to layer' but it's still seems wrong to me.

    Personally, I just think the use of global objects is ambiguous, and not readily understandable to the layman. Users are probably expecting these global objects to appear on all layouts, which without extra coding, they won't.

    Sorry for the waffling, people :/

  • Caer

    You forgot to rename the new layout in the Layout 2.xml as in

    <name>Layout 2</name>

    on line 3.

  • I like it :)

    It's quite challenging having to run and jump in order to reach a platform, and remembering to hold on to the edge.

    Very good implementation. Well done!

    Now...where's the full game :)

  • Yann

    Mina's problem is that after playing through the level, it shows the Start page again, but on Pressing Enter to start, the text boxes are missing.

    It can be quickly fixed by setting the text boxes 'Global Property' to 'No', although the values will no longer display on the Start page after completing the level, which I'm not sure is how Mina wants it.

  • The original thread is over 3 years old. The original thread started on the old forum HERE and still includes the original download .cap.

  • Reading some of his recent posts, it looks like it isn't even his .exe. If this is the case, then for shame :(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Construct 2 cannot export a .capx as an .exe. Construct Classic can export as .exe. Regardless, you cannot convert back from an .exe to a .cap, although you can retrieve the graphics quite easily.

  • Just copy the link and paste into the browser.

  • Here's a screen shot from one of my games.

    <img src="http://dl.dropbox.com/u/34306693/initgame.png" border="0" />

    As you can see, I have an initialize group in my first level (after the menu) that sets everything up. This only happens on level 1, when the game first starts. After that, the values stored in the Global Values will be retained across all subsequent levels.

    If your game is losing the values or the Globals are getting mashed somehow, then we really need to see your event to work out why.

  • If you set your Globals to the values you want on the first layout - set score to zero, set lives to 3, etc - then these will retain the values you give them for the life of the game, i.e. if you complete the level and go to the next layout, the Globals will still have the values they have attained during the game. They only get reset if you lose all your lives and start level 1 (first layout) again.

    Is that what you mean?