san40511's Forum Posts

  • The storks have lost their minds!! They have no idea where to drop off the babies!! Heads up, folks — you're not safe anymore! 😂🐦👶

    What is the release date?

  • it looks amazing. nice job. Can't wait to play it

    I'm making really good progress on Death Trap Mountain. Plays very smooth and its really fun. I haven't shared in a while so I thought I would.

  • Just provide another idea.

    You can use a delimiter to separate it.

    like: Layout-1, Layout-20

    Then use tokenat expression to get out the number.

    > tokenat(LayoutName, 1, "-")
    

    For example:

    > tokenat("Layout-5", 1, "-") // 5
    tokenat("Layout 5", 1, " ") // you can also use spaces as delimiters.
    

    Thank you. I will try

  • > 	RegexMatchAt(LayoutName,"\d+","g",0)
    

    That gives you the first number in the LayoutName.

    Thanks, I will try

  • Likely int() uses parseInt() under the hood so it would still return 0. The string would need to start with a number for int() to work.

    If your layout makes have the pattern of a letter then a number then you could do int(mid(layoutname,1,10)) or something.

    Yeah, you are right. I forgot that it parse correct only if first symbol is number. Looks like i need something like regex or I will try your solution. Thanks

    UPD: It works perfectly. Thanks

  • Hey guys i'm trying to parse layout name as number and can't find the correct expression for this. When I do int(LayoutName) it always returns 0 thought my layout name is "L11". I'm thinking to use the js junction parseInt instead but i don't really like this solution cause this exact project I do with blocks. Maybe you how know to do that without coding?

  • found the formula. Maybe it will be useful for somebody objectPositoon(x or Y) + (speed*deltaTime)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey guys. In my game i have road and obstacles. road it is tiled bg and obstacles it is sprite with bullet behaviour. I want to sync the bullet and tiled bg speed, but i don't know the formula. Maybe somebody know how to calculate it in right way?

  • > haptic-touch plugin

    I can't find this one. If you mean "cordova-plugin-vibration", then it could be added by Construct plugins like Touch or Browser.

    Looks like the issue fixed. I reloaded everything and plugin is absent now. Thank you for your help

  • Which addon and which cordova plugin is that?

    it's Chadori master collection - mobile vibrate addon, haptic-touch plugin

  • > I used an external addon in my app then i decided to delete it but the plugin that provided by this addon is still in the project.

    This should not happen. Perhaps you didn't remove the addon completely - right-click your project name and check "View used addons" under Tools.

    Another possibility is that the same Cordova plugin is required by some other addon or even by an official C3 plugin. In this case removing it with CLI may break the game.

    It is very strange but i double checked that addon is fully removed. I even removed it from the general addon list but anyway i see the plugin in the build.

  • I used an external addon in my app then i decided to delete it but the plugin that provided by this addon is still in the project. How can i remove it? Where to find the config.xml?

  • could fix that by removing the bundle tick in the export menu. Maybe will be useful for somebody

  • Hey guys maybe somebody knows how to fix that? I'm trying to build the game for the EGS but the x64 build is not working. x86 works correct x64 not. when I'm running the game it says that the file not found index.html

    Tagged:

  • Looks amazing. Waiting for the commercial license. I don't see any sense for me to use it in my project if i can't publish them. How is your camera plugin doing?