johnkx's Forum Posts

  • Hi guys,

    I'm totally new to Intel XDK. I'm trying to add admob plugin from "Add Plugins to this Project>Third-Party Plugins>Plugin Source: Cordova Plugin Registry"

    The problem is, I do not have Cordova Plugin Registry in my Third-Party Plugins. How do I add Cordova Plugin Registry into Third-Party Plugins?

    Help is very much appreciated, thanks!

  • Lncredible Good job! You made my day, haha! Thanks alot!

  • Hi guys,

    I'm currently trying to create my own game using the Auto Runner template. If you had a look at the template, you know that the block will move to the left (bullet behavior) and leave some space, then create another block with random width. Two blocks won't stick together, there will always be some gap between two blocks.

    My question is, I stopped the block from moving by using "Set Bullet Disabled" for 5 second, then it will resume moving to the left, then I notice, that the next block coming sticks with the previous block, so how could i stop all the blocks from moving when i use "Set Bullet Disabled"? Below is my capx file.

    https://www.dropbox.com/s/2cbp6kcac0ue9 ... .capx?dl=0

    Please help me, thanks!

  • Gmoney whao, thanks alot!

  • Hi everyone,

    I am currently making a tap and jump game. Everything will run itself, player only have to tap the screen to jump over the cliff, the same goes to the enemy, but enemy will jump over the cliff itself.

    When enemy had collision with player, the expected outcome is,

    • Background and Block will stop
    • Player and enemy will stop
    • Wait 2 sec, restart layout

    But the actual outcome is very different from what i expected, outcome such as the enemy just push player to the edge of the layout, and it doesnt trigger "On collision with object" or after the enemy push player for few sec then only trigger "On collision with object".

    Hopefully someone can give me some help <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    My capx file : https://www.dropbox.com/s/0avf07x0m4m0y ... .capx?dl=0

    Thanks!

  • spacedoubt thank you for replying! But I'm sorry because I do not understand what are you saying.. I'm still quite new to Construct2 actually..

    However, I had made a sample capx file on my another higher priority inquiry, could you give me some suggestion?

    The game is as same as I mentioned earlier. When enemy on collision with player, the expected outcome is:

    • Background and Block will stop
    • Player and enemy will stop
    • Wait 2 sec, restart layout

    But the actual outcome when enemy on collision with player:

    • Background and block din't stop
    • Enemy and player move faster until enemy push player out of the layout
    • Layout din't restart
    • or -
    • Enemy push player move faster few sec, then only expected outcome apply

    My capx file: https://www.dropbox.com/s/0avf07x0m4m0y ... .capx?dl=0

  • Hi guys,

    I am currently making a tap and jump game. Everything will run itself, player only have to tap the screen to jump over the cliff and step on enemy in order to destroy it. The same goes to the enemy, but enemy will jump over the cliff itself.

    When both the sprite are running (enemy moves faster than player), i tap and jump on the enemy, then enemy will be destroy, leaving a dead animation on the platform. The problem is, if i happen to jump on the enemy which is also jumping, the enemy will be destroyed on the sky, and the dead animation will be on the sky too, which is quite weird, how do I drop the enemy to platform from the sky after I jump on it? I'm using Platform behaviour for both sprite btw

    Help please, thanks!

  • Hi guys,

    I choose a sprite from layout 1, then place it at layout 2 using "Spawn Another Object" and "Drag & Drop". After that, I went back to layout 1 to choose the second sprite and place it to layout 2, but then i notice the first sprite that I place is gone.

    My intention is to keep all the sprite I place at layout 2. Help please!

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • korbaach thank you for replying me, i tried your method, but it doesn't work for me. I pressed the sprite and nothing happen, do you mind sending me the capx file?

    Thanks

  • saad Swad Whao, actually i tried global variable before, but don't know why it doesn't work! And now it works! Thanks alot man! Actually I still have another inquiry, do you happen to know How to use spirite to act/function as file chooser? .

    Best Regards

  • Hi guys,

    I am trying to choose an image by using a file chooser on layout 1, then after I have chosen an image, i wanted to show the image on the sprite on layout 2. On the event sheet, I tried

    FileChooser on Changed - System Go to Layout2, sprite Load Image from FileChooser.FileURLAt(0)

    I manage to move to layout 2, but the sprite doesn't show the image, why??

    Thanks!

  • Ashley Thanks!

  • Hi guys,

    I am trying to find guidelines and tips on How to Allow the Use of Camera for Mobile Phone on Construct 2, unfortunately, the hours i spent searching on this forum gave me nothing. So, is there any kindheart out here is willing to give me some help??