johnsmith's Forum Posts

  • Still struggling...

    I've tried with

    On high-score request success -> display Leaderboard ID

    And now the Leaderboard opens (after like 5 seconds on the first try) but it remains blank and return this error: "no internet connection".

    I'm connected to internet, I'm connected to Gplay Games and I'm also using a different button to "show leaderboards" (without ID) and this one is working..

    I'm using a signed release not installed from Google Play, is that the problem ?

    Edit: Got it working, it was because I was using a number instead of a string in the variable for the Leaderboard ID...

  • You need to specify a tag when you play a sound to keep tracking it.

    So you can use the expression Audio.volume("tag") to know what the current sound volume is.

    For example:

    Play "mysound", at 10db, tag: "mytag"

    Audio.volume("mytag") will return 10

    You can also use the condition: system/compare two values/audio.volume("mytag") greater than 0 -> do that

    If you play all your sounds at 0db and the sounds themselves are either loud or quiet, then you can tag them "loud or quiet" when you play them to know which kind is playing.

  • Hello,

    I have troubles displaying the high-score (best time) in the current Leaderboard.

    Here is my event sheet:

    But when I tap the button, nothing happens. Am I doing it wrong or should it be working ? (I'm Logged in and all the variables conditions are met)

  • Thanks kidswithcrowns, glad you like it ! :)

  • Ok lol ignore me I tried it again. Looks like I wasn't pressing the button correctly but the outside of the button. I think it would've made sense to have the right arrow on the right side of the screen though kind of like when you start with intuitive.

    You can move the buttons to where you want if you'd like ;) (in the pause menu, all the buttons marked "move me" can be moved)

    Also intuitive controls might take a little time to get used to but I think it's worth trying as it's much better to use than buttons overall.

  • Well I'm still not sure if I understand correctly, so I made a video while playing the level (sorry, crappy quality/framerate recorded with my phone). Do you see any difference with what you have ?

  • I always get stuck pushing the box and it messes up the level where you need timing between the fire

    That's weird, how do you get stuck ? You mean like the crate wont move anymore ?

    Also yeah, that level might be a bit frustrating :) It's supposed to be hard, but maybe I could extend a bit the timing...will see.

    About the Google Play rating, yeah that's strange, nobody can rate my game atm, maybe I just need to wait a bit before Google make them available as it's just been released.. anyone knows ?

  • Great ! Glad you like it Plinkie :) Thanks for your comment !

    (also, any rating much appreciated ^^)

  • Hi,

    Just showcasing a little game I've made. It's a simple platformer with some puzzles here and there.

    Grab the key to open the door to proceed to the next level (50 levels at the moment but there should be more to come).

    Hope you will like it ! ;) Any feedback welcome !

    Google Play Link

  • Great ! Works perfectly, thank you Ashley ! :)

  • Hi,

    So for example if the current layoutname is "lev_17" (and not "lev_3, or lev_22, or whatever) is it possible to identify the number "17" to set it in a variable ?

    I know I can use: if layoutname = "lev_17" then set variable "cur_level" to 17 and do this for ALL layouts, but that's the point, I dont want to this for every layouts... in case there is a simpler way maybe ?

    It's just for testing purpose so I can run any level layout independently from each others

    Thanks for any help :)

  • Awesome work man :) Works perfectly (and it's pretty satisfying to use), thanks a lot ! :)

  • Thanks for your help guys !

    The gradually changing magnitude helped but I still can't get it right... Can't figure out why it sometimes goes forward instead of backward (and some other weird moves), there might be something with positive/negative value but my (very low) math level is not helping at all..

    If by any chance you want to give it a try, here is the C3p (r131 stable):

    dropbox.com/s/dwevwqvjmvn0h7d/rope_swinging.c3p

    Basically, once the player grabs the rope, it gets a strong impulse to reach its top magnitude (80) - then it slowly loses its momentum to the initial magnitude (3)- unless the player gives it a little swing using left or right - or by jumping again on it.

  • Try Construct 3

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

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

    I'm trying to make a swinging rope so the player can catch it and swing around.

    The rope starts with a low magnitude of 2 so it's gently swinging

    When the player grabs it, its magnitude is increased to -80 (or 80 if the player is mirrored).

    And I use set sine position to either 0 or 1 (depending on mirroring) so it starts at the middle.

    Works fine with the low starting magnitude, but if the player catch the rope while its magnitude is much higher...(its magnitude decrease over time) then the cycle position 1/0 won't work as the player will be teleported to the middle.

    How can I keep the current cycle position while increasing the magnitude ? Is it possible ?

  • Sound works in Chrome with R258 but I have to press a key/mouse button to make it start.