AndyRevenko's Recent Forum Activity

  • Dear All, could you help me in the following:

    I want the sound to start and stop with fade in/out effect, like for a sprite

    Will be very gratefull,

    Andy

  • THanks a lot, TeslaPC!

    I've rebooted my laptop, and it's works fine now. Win 10

    Thanks a lot and sorry for trouble!

  • Hi Ashley!

    I've rebooted my laptop, and it's works fine now. Win 10

    Thanks a lot and sorry for trouble!

  • Dear All, could you please help me

    C2 244 release failed with local storage.

    I've created the simpliest example

    https://www.dropbox.com/s/kov9hvdll46mm1u/LocalStorageFailed.capx?dl=0

    Will be very gratefull! Before 244 it was working ok

  • Problem Description

    Local storage in 244 release does not work

    Attach a Capx

    https://www.dropbox.com/s/kov9hvdll46mm ... .capx?dl=0

    Description of Capx

    1) on start layout - Create and fill the Array

    2) Save that Array (as item with key ="Array") as JSon with the help Of LocalStorage

    3) Get the item with key "Array" when pressing green sprite

    Steps to Reproduce Bug

      1) Run capx 2) press green sprite. Observed Result LocalStorage does not work Expected Result LocalStorage should find the item Affected Browsers
      • Chrome: (YES)
      • FireFox: (YES)
      • Internet Explorer: (YES)

    Operating System and Service Pack

    Win 10

    Construct 2 Version ID

    244 release

  • Dear All, Could you help me in the folllowing matter:

    I spent all night trying to use path finding behaviour, and I am frustrated

    Does anyone meet the same problem?

  • If I understand you correctly, you want to save your maps to the desktop, right?

    If that is the case and since you are on Windows anyways (and not a mobile device), I recommend using the NW.js plugin with which you can save files directly to a location that you specify.

    The LocalStorage plugin is more useful for savegames than for actual filesaving.

    THank you very much! It works now

  • Dear All!

    Could you help me in the following:

    1) In my game I've created a designer for maps, I save maps to dofferent files in sandbox with LockalStorage

    2) On my desktop it works fine, I can save and load maps

    3) But where can I find these saved maps on my desktop to include them in my final game version???

    Will be very gratetuful!

    Andy

  • well, that was an entertaining thread

    AndyRevenko

    Thought I would add another example...

    Like gameglaux said (maybe a little poorly), if you don't want the single tap code to execute, you have to add a delay and wait to see if there is going to be a double-tap. After a short delay, if there has not been a double tap, then you can execute the single tap code. The single tap event will always fire, so you have to come up with a method of waiting. The double tap event does fire if there are two quick taps on the sprite.

    I took up gameglaux's challenge and make a capx where you single tap to destroy a sprite, or double tap to make it flash. It took 4 events (plus two to spawn a new sprite to try again).

    http://www.rieperts.com/games/forum/TapDoubleTap.capx

    THanks a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AndyRevenko

    You can add another condition to the tap on background to say "Touch is not touching player"

    (you do that by saying "Touch is touching Player" and then Invert that).

    Thanks!

  • Separate layers.

    Check layer "on tap".

    Thanks!

  • > lamar using those triggers: make a sprite destroy itself on a single tap, but flash on a double tap

    >

    Now think real hard....

    If you destroy the sprite you double tap you sure as hell can't tap it again to make it flash.

    Just like I asked why you would double tap a sprite already set to double tap?

    Nice try but fail!

    Try this:

    https://www.dropbox.com/s/c1hxdpaell02t7s/Tap%20Example2.capx?dl=0

    Lamar, row number 2 " double tap on sprite4" will NEVER run. If you delete that row nothing will changes

AndyRevenko's avatar

AndyRevenko

Member since 31 May, 2016

None one is following AndyRevenko yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies