SteveKane's Forum Posts

  • I can't provide a capx on what i did as i don't have access to it right now and it's over 2mb so i can't add it here unfortunately.

    I've provided a capx i quickly did but all i've really done is add a sprite and given it a solid behaviour. Then in the event, when the player collides with the sprite, it adds 1000 to the TotalDistance variable. This is with the Autorunner Template.

    I don't know how to make it randomly appear in a way that suits an autorunner game. Also, the sprite moves to the right along with the screen, i want it to stay in one place but can't find the right way of doing it.

  • I'm trying to create powerups for my Autorunner game but i can't get it to work.

    The problem i'm having is that i can't get the powerups to appear where i want them to or get them to stay in one place. When i create a powerup, it moves across the screen along with the background.

    I can set what the powerups do when my player collides with the power up, but i can't set the positions of the powerups.

    I have read some tutorials/posts on powerups but none that have helped me with an auto runner game where the powerups occur every so often on a moving screen.

    Could someone please show/explain to me how it's done with the Autorunner Template?

    I hope i've made it clear what i'm trying to acheive, i'm finding it a bit difficult to explain this properly for some reason so i hope you can understand what i'm after.

    Thanks

  • codah michael Thank you both for your replies, its really helpful and i'll definately start learning more about functions.

    Also thanks for the capx file, appriciate all the work you've put into this. It's made me realise that i should start tyding up my work a bit more as it looks much better your way

    Thanks again.

  • Thank you for the advice and response. I should mention that the capx i provided is one that i just quickly made so it's not that most practical work you'll see Also with this capx, i'm aware that there is no work of trying to save settings with webstorage, thats because i provided a capx without that so you can see what i'm working with and can hopefully find a solution for my problem without my incorrect attempts getting in the way.

    I admit i'm still a beginner and still learning, i do appriciate the advice but i'm still a little confused with the example in the thread you've linked as that uses Functions which i am not using.

    Would it be possible if you can do this for the capx i've provided if it's not too much trouble. I'd like to learn how to do this as i didn't think saving Sound & Music would be this much of an issue.

  • Thanks for the reply. I already have global variables to manage my music & sound settings. I have tried saving the global variables value but I can't get it to work. It may be something I'm doing wrong because I've done the same thing as I've done for the Highscore.

  • I'm having trouble for some time now trying to save my sound & music settings so that the users setting preference stay if they exit the game.

    I've had numerous attempts at this but just can't get it to work. I would appriciate it if someone can show me how to do this as i want to know why it isn't working for me as i've used Webstorage just fine when it comes to saving a highscore.

    I've provided a capx file that i've quickly made so it stays under the 2mb limit if needed.

    Hope someone can help as i've been having trouble with this for a while now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can anyone help out? Sorry to keep posting but this is a really frustrating issue for me as i can't get it to work.

    Thanks.

  • I've provided a capx of an example of what i've tried. I've had numerous different attempts but havent made it work.

    I admit i'm not the best when it comes to Webstorage so i'm expecting someone to tell me that i've done this completely wrong

    Hope someone can help.

  • Thank you for replying. I just realised i uploaded the capx without saving what i tried for saving webstorage, the capx provided is just a basic that i use to test things.

    I have tried to implement my highscore webstorage settings to my sound & music settings but i can't get it to work. I'll try and post a capx of what i've tried later on if i can. In the meantime, if someone can perhaps show me how it's done with the capx provided then that would be appriciated.

  • Sorry to bump this but i could really do with some help on this....

  • Anyone? I've been at this for a while now and can't get it to work. I could do with some help.

  • Thank you, thats solved my problem, seems so simple now

    Cheers

  • I've created a 'New Highscore' logo which i want to show up every time the Highscore of my game has been beaten. The problem i'm having is that the logo seems to only appear when it feels like it. It doesn't appear everytime the Highscore is beaten, only on occasions does it appear.

    What i've done is the following to make the logo appear -

    On Game Over Layout

    Condition

    System (Every Tick)

    System (TotalDistance > WebStorage.LocalValue("GameHighscore")

    Action

    Sprite (Set Position to (321,102))

    I'd appriciate a solution to this problem as I'm not sure what the issue is, i think i've done this correctly but i presume i'm wrong as it's not working

    I've uploaded a capx file i quickly put together to demonstrate my problem.

  • I'm having some trouble using Webstorage to save my sound & music settings so that the users setting preference stay if they exit the game.

    I've searched online and found a few examples and tutorials of using webstorage to save settings but i've not been able to get them to work with mine, it maybe because i'm using Global Variables to control my sound settings, i'm not 100% sure why it's not working.

    I would appriciate it if someone can explain/show me how to do this as i want to know why it isn't working for me as i've used Webstorage just fine when it comes to saving a highscore.

    I've provided a capx file that i've quickly made so it stays under the 2mb limit if needed.

    Thanks

  • Can anyone else help me out with this please?