marcinkowski's Forum Posts

  • Is the animation set to loop or play once? I believe they are set by default to play once and you may be missing it.

    loop but not working

  • Hey

    When enemy lost live he should change animation. But he change only look and not animating. So system works, but object is static without animation from animation that i uploaded to "lanc" an "lv".

  • imhotep22 ok nice, but why people use web and local storage in C2?

  • I gave up with localStorage and webStorage. When I closed game and play again, system did not remember some global variables.

    I tried normal Save and Load and it looks fine. But is this works for mobile? Mean I places save game in the end of layout and load when user click "start game".

  • Yeah looks okay, its working, right?

    Yes it working, but when I change layout and back again to upgrade layout - I see the same amount of Experience.

    I will do this upgrade system on difffrent layout because now it's on old template example of full game that a bought

  • thanks guys but is this first image is correct? Is this tower upgrade system it's ok?

  • I have diffrent layout where user can upgrade tower. He click on Sprite57 and Experience points are - 20. But when I out from this layout and back again it's still same value of Experience. System don't save this but this works (he got this item).

    Player should lost this 20 exp. Maybe I should have any action for displaying downgrade experience in this layout.

    Or maybe this is reason. I have this on every layout:

  • It is placed in the layout you try and run and then it is destroyed as part of that event so there's no instance left, that's the issue. Just put one instance in the unused layout.

    Thanks it's working now.

    Is there any method to watch animation of particles without running full game?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This has always been the case.

    There are many ways around this.

    I personally like to place all game gfx on am unused blank Layout. That way all have an instance ready for when it's needed.

    OK, but it is placed in layout that i try run.

  • I tried add particle when object is dying. I did same thing that is in example, but when object is dead game is stops and there is info:

    "Cannot create an instance of the object type 'particlesAB': there are no instances of this object anywhere in the project. Construct 2 needs at least one instance to know which properties to assign to the object. To resolve this, add at least one instance of the object to the project, on an unused layout if necessary."

    Here is my capx image for particles:

  • Layout view from manual: https://www.scirra.com/manual/43/layout-view

    To alter, change Project Property value for 'Window size'.

    "The Layout View is a visual designer for your objects"

    Maybe this is something else?

  • What is that dashed line in the layer view. How to change it size, because I see this is game view?

    thanks!

  • Ok I know what was wrong Because, right corner of object is copying lef corner. That is 32/32 px,

  • You mean 9-patch plugin ? No I don't use any plugins

  • I drawing normal object without border and next it's getting this border.

    How to fix this?