SteveKane's Forum Posts

  • I've provided a capx file that i've been working on. So far it just the autorunner game with few added bits such as menu, sound etc.

    Hope someone can help me out with this.

  • Thank you so much for that, it works. I've changed it slightly where i just set the initial visibility to invisible and when it hits a certain number is becomes visible rather than creating an object.

    Do you know how to make it appear for just a second and then disappear again? Also it is possible to add a blinking effect to it?

  • I want to add a type of achievements to my autorunner game but can't get it to work. Basically i want an image/sprite to appear when the user goes past certain scores. I'm using the Autorunner template for my game and what i've tried doing is create an event like this -

    Condition - System -> Compare Variable (TotalDistance) = 1000

    Action - System -> Create Object

    This hasnt worked for me as nothing happens when it hits 1000.

    Could someone help me out with this, i'm using the Autorunner Template as a basis for my game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've tried your suggestion but i'm still getting the same problem where it only mutes the sound on the Menu layout and not on the other layouts. I don't know whether i'm doing something wrong or not but i just cant seem to get this to work. Is it possible that i could get a working example to see what i'm doing wrong?

  • I've just tried that but when i test the button it makes a weird sound instead of muting. I have two audio files that i want to mute when the button is pressed, over three layouts. Would this do what i need it to do?

  • Can anyone else help me out with this please? It's a pretty important part of my game so would be grateful for help.

    Thanks

  • I'm running the on Chrome at the moment. The game isn't finished so i'm testing it via Run Layout. Is there any solution to this?

  • Yes I have, they were the first thing I tried but it only mutes the sound on the Menu layout and not the others.

  • I'm trying to create a button to turn sound effects off on another layout but I'm having a little trouble with it. I have three layouts, Menu, Game & Game Over. On my menu i've created two buttons, one to turn the music off and one to turn sound effects off.

    My music starts on the start of the Menu layout so the music button is working perfectly and turns the music on or off with no issues.

    However my sound button doesn't fulyl work as I want this to just turn off sound that plays on all three layouts. I have sound that plays when a button is pressed which is on the Menu & Game Over layout. I also have sound on my Game layout where it makes a sound when the play jumps. I want my sound button to turn all these sounds off when toggled but I can only seem to make it work for the sounds on the Menu layout.

    The way I've done my buttons is when it is set to animation frame 0, the music/sound plays. When it is set to frame 1, it should stop/ mute.

    Hope someone can help, ive had various different attempts to solve this but to no avail.

    Thabks.

  • I can download the capx file you've uploaded, that's not the issue. I have downloaded the file you've uploaded but that doesn't solve my issue for me.

    What I'm asking is if you can do a local high score for the Autorunner Template on Construct. That would help me as my game is based off that and I can see where I'm going wrong.

  • jayderyu I've searched for tutorials but although there are tutorials here on leaderboards, unfortunately I haven't come across one that suits my needs. There are a lot of tutorials so there could be the odd chance I've missed it but I have had a good look and not found one that I need, so I'm hoping people on here can help.

    fongka2 Thanks for the link but that hasn't worked for me. Could you perhaps do it based on the Autorunner Template as requested? My game is set up based on that template so that would help me out a lot as I can see where I'm going wrong.

    Thanks

  • I've tried what you've said but it's not working for me, could you show an example with the AutoRunner Template so i can see where i'm going wrong?

  • Hello,

    I'm making an autorunner game based on the Autorunner Template and wanted to include a local highscore and online leaderboard, but i don't know how to do it.

    I have 3 layouts, Menu, Game (gameplay) & Game Over. I've managed to display the players score on the Game Over layout by setting text to "Your score " & round(TotalDistance) & " ". But i wanted to have the players highscore displayed on the Menu layout (even if they exit the game and go back in, that score will stay) and i want that score on the menu to change when it's been beaten, i don't know how to do this so i hope someone can help out.

    With the Online leaderboard, i want to add a button on the Game Over screen that allows you to post your score online. I also wanted to create a button on the menu which takes you to the online leader which displays the top ten scores.

    I hope i'm not asking too much and would appriciate any input.

    Thanks