urkokan's Forum Posts

  • it is possible to insert the enemies in an array and then recall a tot for each type ??? from what I read on the array you could do .. but how do you do it practically ??? do you have any examples step by step? I have difficulties because already immediately .. the array not only accepts the enemy .. but they want the enemy.????? what would go after that point ??

    please help

  • > Please update or add the android-targetSdkVersion preference to be at least 27

    check config.xml file.

    please need other help... now phonegap ask me this error

    Error - One of your plugins requires a parameter: BILLING_KEY - You can fix this here

  • tnk you

  • i want... when someone buy a special coins he pay real money and automatically add 10 or 20 special coin

    someone can sugget a tutorial??

  • Could you upload a capx? I understand because of your native language, you're probably having trouble grasping my solution so I don't mind giving you a direct fix via an edited capx.

    i have know what you mean...

    i reailze.. work only whit platform... whith bullet not workink...

    i think cause command destroy... if u have thath after 100px.. and your upgrate let you reach 3000px.. after 100 bullet destroy same... and i try.. but not workin...

    everitime i touch button add 1 to distance bullet.... and compare all... if is 0 if is 1 if is 2.... in every comparation... not work

  • > You could just use whatever variable/check you have for if the upgrade is bought and then set the destroy-distance based on that. Pseudo code

    >

    > Condition: DistanceUpgrade = 0

    > Action: Destroy bullet after distance traveled = 200

    >

    > Condition: DistanceUpgrade = 1

    > Action: Destroy bullet after distance traveled = 300

    >

    > Also, for the button? use the same variable/check for it. Set the "DistanceUpgrade" variable or however you named it to 1 after clicking the button (assuming the player meets the currency requirements?) and then set it's frame/animation to a greyed-out version or whatever and prevent interaction/clicking by checking if the frame/animation isn't the original-state upon opening the shop (i.e, it was already bought and so set to "ItemBought" animation/frame)

    i dont know why... not working... it is soooo strange... if bullet is =200 not be destroyed.. but with greather or = 200 bullet destroyed... why???

    maibe too much action?? cause i set bullet destroy on tile on wall out of layout on enemy..

    and the same happen whit speed bullet...

    whit speed player working...

    maibe i change behavior on my bullet??? platform instead bullet??

  • You could just use whatever variable/check you have for if the upgrade is bought and then set the destroy-distance based on that. Pseudo code

    Condition: DistanceUpgrade = 0

    Action: Destroy bullet after distance traveled = 200

    Condition: DistanceUpgrade = 1

    Action: Destroy bullet after distance traveled = 300

    Also, for the button? use the same variable/check for it. Set the "DistanceUpgrade" variable or however you named it to 1 after clicking the button (assuming the player meets the currency requirements?) and then set it's frame/animation to a greyed-out version or whatever and prevent interaction/clicking by checking if the frame/animation isn't the original-state upon opening the shop (i.e, it was already bought and so set to "ItemBought" animation/frame)

    i dont know why... not working... it is soooo strange... if bullet is =200 not be destroyed.. but with greather or = 200 bullet destroyed... why???

    maibe too much action?? cause i set bullet destroy on tile on wall out of layout on enemy..

  • tnk you... i solved whit layer.. ^_^

  • in my game i have a bullet after 200 px bullet destroyed...

    ow to modify this??? i buy a power up and set distance to 300 for example...

    i try with Self.Bullet.Speed+50 for speed and Self.Bullet.DistanceTravelled+50

    after a buy button is touched but no working...

    can help someone??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The same logic as entering the shop...on button pushed go to layout.

    no cause is a shop... if i am on layout 2 "lv" enter in shop... when i exit i go to layout 1.. cause frist have set a layout 1... i need enter.. buy.. and exit where i was

  • i have a door in game.. when player overlap on this door go to layout "shop" in this layout i have a exit button... how do working??

    when i push i want return where i was

    tnk

  • > Please update or add the android-targetSdkVersion preference to be at least 27

    check config.xml file.

    tnk you sooooo much now working good

  • Are you using any third party plugins/behaviors/etc?

    anyone can help??

    i export from construct 2 and make "cordova" then i zip all i have in folder "www" then upload on build.phonegap.com

    android and iphone no work in error i read

    Error - This version of PhoneGap is too old for one your plugins. Please update or add the android-targetSdkVersion preference to be at least 27

  • Also, I noticed you were asking about a chance reward on another thread, so I added the functionality here. Just click the enemies to destroy them. They will give a coin (70%), armor (20%) or a special reward (10%).

    Cheers!

    you have a message on facebook

  • Also, I noticed you were asking about a chance reward on another thread, so I added the functionality here. Just click the enemies to destroy them. They will give a coin (70%), armor (20%) or a special reward (10%).

    Cheers!

    big man.. now i try...

    let me ask you another think

    i want export in .apk can help me??