codah's Recent Forum Activity

  • One of the solutÑ–ons in this thread should work.

    http://stackoverflow.com/questions/4009 ... -in-string

    then execute it

    https://www.scirra.com/manual/110/browser

  • This is still not working for me, please see above.

    edit: I managed to get a test app installed so I should be able to work out my real app

  • Yea I too am having problems with exporting an iOS app with XDK.

  • Maybe you could execute some JavaScript that does it.

  • chinmay I sent you a PM

  • Great effort!

  • I have ran into this as well - seems like the solution is to make your own loop - i.e. a variable you add to and then just do something like Variable < TargetSize do events, wait...

    Yea probably the best idea. I think Timer behaviour might work too.

    edit: added 1 line to the other capx. try this. ok 2 lines

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • heh.. like in the capx I did in your other topic

    yeah loops occur in 1 tick, so you can't wait in a loop so easily. Perhaps like suggested in that tutorial. Why doesn't it help?

    edit : I guess it's complicated by 2 loops and also dynamic creation of objects..

  • When exporting what is the app version code, minimum android version, domain access and target android version and what should they be?

    App version code is another way to express the App version; an arbitrary number that you should increase by 1 or more each time you want to publish.

    Minimum android version represents the minimum Android API level you want to support (normally leave it)

    http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels

    I don't change Domain access but the tooltip in the XDK gives you some info (leave it)

    Target android version is the android version that you mainly support (normally leave it)

  • //===========================================

    SECOND QUESTION:

    When a bullet hits a Family of enemy sprites, how do I pick the individual sprite that got hit by the bullet? I want to save lines, time, and works instead of manually doing bullet1 colliding to enemy1 to enemy40+ and doing the same thing for bullet 2 to bullet 10+,( thats like 800+ similar lines alrdy). I don't mind the event sheet line limit for the free version, it's just this is inconvenient and impractical.

    Thanks in advance.

    I thought the free version doesn't have Families. Or is this for when you get your licence?

    Anyway if you have a Family of Sprites, and you have an 'on Family collision with Bullet' event, you will already have the Sprite (as a Family). So you could get Family.UID or whatever. If you really wanted to deal with the Sprite directly, you can 'pick Sprite with UID Family.UID' but if you do that a lot it that kind of defeats the purpose of Families.

  • Variables count, you must have 16 variables?

  • Since you can't have a XY array of irregular width.

    You said it. So at no point will you have a row smaller than another row. The best you could do is:

    1. Choose your random column (cell)

    2. Re-order that row so that cell's value is at the end of the row

    3. Repeat for each row

    4. Finally, set the array width to it's current width -1

    Now you have an array with width 1 less than before

    Repeat the above steps until you have no more columns (cells).

    Hopefully you will do something meaningful in between the above steps!

    So this is not possible, because it goes against your original assertion. (Although conceptually, it could be thought of this way).

    [quote:2rhmvvdk]Then a loop for every horizontal row, you pick one cell at random, and then delete it. Making the width of THAT row one cell smaller.

    Is this close to what you're asking?

    edit: added a capx, hope it helps (it's 10x10 but it's dynamically set, just change it).

    The array is represented on-screen. Tap on the layout to process each column and observe.

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies