mrneko's Forum Posts

  • korbaach

    That saved my day. Thanks again!

  • korbaach

    Exactly what I need! Thanks. Do you know the way to set the animation frame to the one that IsPicked:True after 1 round? Say the first round from 0 - 9 I picked 2, 5, 7, 8 so the second round the number will only show 2, 5, 7, 8 instead of going from 0 - 9. Hope that makes sense.

  • I have an object with 30 animation frames and also an instance variable IsPicked:False.

    So when the object with animation frame 4 collided with wall, set IsPicked:True to that animation frame only. All other animation frames remain as IsPicked:False.

    Is it possible to assign instance variable to that particular animation frame only?

  • Paradox

    Thanks! Works perfectly.

  • Paradox

    Can you show a brief example of events to do that? I am using arrays to do other things like generate sprites but never used it to store scores.

    So say I have 50 levels, do I need 50 global variables and create a 5 x 10 array to store each slot per level or do I only need 1 variable and save the score for that level to a different slot?

  • Need some advice here. I have a puzzle game that currently consists of 50 levels. I am using local storage to store the highscores and so on. So on the home screen I have events that check for every level's highscores and if they exists, get and restore them so that they will be available when player selects the levels.

    I am currently adding about 5 - 8 new levels per week and I can see that in a few month's time this can really add up. Will it be an issue when I have to check for say 150 - 200 highscores from local storage on the main screen? I mean .. apart from the few hundred extra events ..

  • RenatoB

    Thanks! I will look into it.

  • Try Construct 3

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

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

    I currently have a free game with ads but I would like to include an option for players to remove ads. I am thinking to set up a global variable like ispurchased and use local storage to remember the value.

    The thing is, how do I detect when the player has purchased the option to remove ad? Is there a plugin that does this? I've been looking around for guide and there's only one that's using CocoonJS .. I am building my game using Intel XDK.

  • newt

    Do you still have the capx around? I can't download it from your dropbox. Thanks.

  • Tekniko

    Thanks for the capx but that's not much difference from the event I am using. It still doesn't move gradually. I want something like sprite moving 5px gradually when the right key is pressed once until it reaches 50px and stop automatically .

  • Hi everyone,

    I want my character to move 50 pixels towards left and right on left/right key press.

    Right now I have

    On Right Arrow pressed: move 50 pixels at angle 0

    However, that causes the sprite to instantly move 50 pixels as if it teleported.

    How can I gradually move the character towards right and stop it after 50 pixels?

    I am doing this instead of using 8 directions behaviour because I want it to moved at a set distance everytime left/right key is pressed.

  • R0J0hound

    Thanks. How about if there's a normal ground in the middle of the ice? I can't get it to decelerate and stop exactly on top of it.

  • matrixreal

    From what I've read around it should be related to plugin. Someone suggested to re-link the game service on Google Play linked app. I did that too but didn't work for me. I think it could be something to do with the signing certificate.

    Did you build your app before or after you create the game service?

    I'm asking because when I built the first version of the app, I forgot to change my APP ID and used the one from my previous game. After that I changed it and it stopped working. All the other games that had the correct APP ID on the first build are all working properly. Just my speculation but it really doesn't make sense that this is happening.

  • Hi everyone,

    I am making a game where the player can move in 4 or 8 directions. There is this area where the surface is ice so I want the character to slide on it. For example from point A to point B, if the character is walking towards right when he touch on the ice surface then he'll slide all the way to the far end of right until he hits a solid object or reach normal surface. While he's sliding, all movements are disabled.

    Hopefully someone can provide some clues and direction for me to look into. I tried physics behaviour but it didn't work as intended. Perhaps I'm missing something here.

  • fldr

    Thanks for the update. Yes I did that but it didn't working. I even copy the same code onto a new game and it's working there. I posted on the plugin page but no reply from the developer yet. Been looking for alternate solutions but that's the only plugin that I can use to implement Leaderboard because I am building with Intel XDK.