Xavier's Recent Forum Activity

  • See if this helps you:

  • Use the same mechanic, when arrow collides with wall, add 1 to global variable. Instead of adding 1 when you shoot it.

  • Use the "On Destroyed" condition on the bullet. Add 1 to the global variable when a bullet is destroyed. And when a bullet hits a target, reset the global variable to 0.

    Make sure you destroy the bullets when they hit a target, wall, or are outside of the layout.

  • You should use instance variables for this. https://www.scirra.com/manual/73/instance-variables

    Create an instance variable for the block and set it to 2 or 4. Then when the player collisions with the block, subtract 1 from that variable. And if the variable is less than 1 destroy the block.

  • You're welcome.

  • In this simple example a sound will play when the number is 5. You can modify the minimum and maximum numbers to randomize with the first action.

    You can also modify it in a number of ways, for instance if you use a big range to randomize, you can keep decreasing the maximum range as time passes so the chance to play the sound will keep increasing with time.

  • I tried it and it started playing the music right away for me.

    Preload sounds doesn't work with music, it states so in the description. Music is streamed, meaning that is being downloaded as it plays.

    You could always try to move the sounds from the music folder into the sounds folder inside C2 and that should preload it correctly but it would increase the game loading time.

    https://www.scirra.com/manual/141/files

  • Use the action simulate control: jump, and you can add another action and increase the jump strength so it reaches higher.

  • How about putting all of the victims in a family?

  • If it's a mechanical problem you might be able to get some life back on to the HDD for a few minutes by doing the freezer trick: http://lifehacker.com/5515337/save-a-fa ... ezer-redux

    This happened to my just a few weeks ago and I was able to recover everything I needed, I already had backups on dropbox so it wasn't really a big deal for me.

    I can't guarantee that it will work for you but it's worth a shot.

    If it's a controller problem then this won't work and you would need to find an identical hard drive an exchange the controllers.

  • Try this one. There is a minimum score now, if that's not what you want you should be able to modify it with the current events.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try this one then, the coin doesn't respawn again (I made it a global sprite). The score is persistent between layouts, every time you die 1 point is subtracted from the score and it won't go lower than 0. Let me know if it has problems.

    I modified the position of some sprites just so I could test it, be sure to remove what you don't want.

Xavier's avatar

Xavier

Member since 16 Dec, 2011

Twitter
Xavier has 7 followers

Trophy Case

  • 12-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies