rekjl's Forum Posts

  • I'm afraid local variables will always be reset. The next easiest way would be to use global variables since they won't reset. A more organized but tedious method would be to use arrays.

  • Usually if you set it under the same event as the collision check, it should work properly. However, if you want to set it on a different event, you can use UIDs.

    For example, create a variable called EnemyUID. When on collision and you are running your other events, set EnemyUID to enemies. UID. Than when you want to show the damage, "select enemies family by UID" than use the variable EnemyUID to select the correct enemy.

  • After looking at the capx, I know what the issue is. You are setting the slider.y to touch.y. But they are on different parallaxes. The slider is on 0 parallax, but the touch works on the entire layout which is using 100 parallax. That is why when your sub goes down, your slider wants to go down too, because touch.y is actually much lower than the limit you imposed on it, but because of the limit, it won't go lower than the slidermarker.

    Fortunately, the solution is easy enough. All you have to do is instead of "set Y to Touch.Y", set it to "set Y to Touch.Y ("UI")" This will tell C2 that you want the touch value that is based on the UI layout.

  • Hi can you please share a capx, that way I can test it out and try to find a solution for you.

  • Unfortunately Crosswalk is quite large in size. However, it will add roughly 10MB or something around that range. So that would mean your game assets alone are roughly 40MB. You might want to try reducing the size of your game, you can reduce it substantially if you manually compress our images used in the game.

  • frcol, thank you. It's one of the most satisfying feeling to hear that your children enjoyed playing it!

  • , haha I didn't know that! When I next update it, I'll change it to h1k3 or any name you prefer. Haha and thanks, I'm glad you liked this!

  • Dugeese, thanks! I hoped you had fun playing it.

  • el3um4s, thanks! 106 is a good score! Once it gets into the 100 range, the speed makes it really challenging. Thanks for taking the time to download and play the game!

  • cranberrygame haha yup thanks Sang, it's not a big game, but it's something I actually made and it's an achievement I am proud of.

    newt, thanks so much. Haha now I am in the HELL that is marketing the game, so every bit of encouragement helps push me forward that little bit more.

  • Actually for this example, you don't really need to use the IDs.

    https://www.dropbox.com/s/7aogyq2r6ik1w ... .capx?dl=0

  • Nice! I love playing sudoku! Would love to see it when it's finished.

  • Nice work Andy! Andy is someone that really knows his stuff and has helped lots of people exporting C2 to Cocoon, so those that are thinking of making the switch, rest assured that he is someone reliable and knowledgeable!

  • Sorry but correct me if I am wrong, but from what I can understand, you are saying that you have a few layouts that use the same event sheet, and it creates objects but you only want it for certain layouts? If this is true, than you can use a check layout, for example, if on the layout that you want, than only create the objects you want.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's hard to tell without looking at the events. Can you post a screenshot or a capx? But since you are using variables, using debug you should be able to slowly find the source of your problem. Check to see if the variable for the ID is correct, if they are than it means there is a problem with your action of setting position.