Cyberkidz's Recent Forum Activity

  • I've recently launched my first app on Android and iOS through appMobi.

    Strangely the layer blend mode seems to be wrong on iOS, while on all browsers and Android and the appMobi emulator, it seems okay.

    On the iOS is seems an addPin occurs when changing the opacity settings. When the opacity is 0, you're still able to see the sprites/layer in a "ghost" form (extra brightness on layer below).

    I exported the iOS-app with DirectCanvas for appMobi.

    Using C2 103.2 64-bit.

    ps. the iOS app crashes on the iPad1 and iPhone 3GS. iPad3 and iPhone4 no crash.

    Please help! If dev needs more info, please let me know.

  • update:

    when I look in appMobi at the source in the Debug Console, there's no code snippet in the header? But I did paste it in the index.html through Notepad...

  • I'm trying to use appMobi, but I've got two guestions which a I am not able to solve:

    1. Critical alert: the appMobie Javascript library is missing!

    copy snippet code to your clipboard and place in all your HTMLs

    I tried to do so, be pasting the copied code to the index.html C2 supplies, but the error wont go away?

    Should there be an appMobi .js in the projectfolder? If so, where can I find it?

    2. when having installed the app through the PlayStore (this is possible with the critial aler), the flashloading screen appears, but then the screen turns (and stays) black? Is this because of 1. or is something else happening?

    Thanks for any help! I'd really like to get my app working :P

  • I'm using appMobi in my games to set the game to landscape only, but after having the game published, PlayStore shows that the app needs permits for all kinds of stuff.

    Is there a way to enable/disable the features of the appMobi plugin, so one is able to disable the functions the app won't be needing?

    should be nice to have a list of checkboxes in the properties of the appMobi object.

    Tnx for any help!

  • Fixed! :D

    Yann: tnx for pointing out the directions :P

  • I did use Yann's solution partly, but I'm getting errors on

    System: set tmp to (right(tmp,len(tmp-1),1) = ",") ? left(tmp,len(tmp)-1) : tmp

    --> C2 indicates there can only be 2 conditions instead of 3? But 2 doesn't work

    Also the missing part in Yan's solution is that I have to randomly set shape4.animationName to shape1, shape2 or shape3's animationName.

    And for this last part Im looking for a solution, cause when I randomly get the name "shape1", "shape2" or "shape3", I'm unable to get the value of a global with this string?

    shape4 -> set animation to "AnimationName of sprite_randomly_picked" ?

    Tnx for any suggestions to solve this last issue.

  • object X -> set animation to sprite(shape_select_tmp).AnimationName

    ps. shape_select_tmp = "shape1"

    No errors, but nothing happens as well :P

  • Tnx, I've managed to make a workaround. Just one thing to fix:

    I put the names of the three globals in one global text, to randomly get one out of it.

    But because this is a string, it won't give its value when using this name.

    =================== begin

    global text shape_nr = "shape1:shape2:shape3"

    set shape_select to (tokenat(shape_nr, int( random( tokencount(shape_nr, ":"))), ":")) -> "shape1" "shape2" "shape3"

    Set animation to shape_select.AnimationName -> "shape1" instead of the value inside global shape1

    ========================

    probably something simple, but I'm unable to find anything that I can use; global(tokenat(......)) -> syntax error

    tnx for any hints and tips!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • my first post, I love construct already but have got to find my way :P

    My first problem as well ;)

    ================= situation

    global text shape_all = "shape_red:shape_blue:shape_purple:shape_yellow:shape_green:shape_orange"

    global text shape_1 = "empty"

    global text shape_2 = "empty"

    global text shape_3 = "empty"

    global text shape_select = "empty"

    set shape_select to (tokenat(shape_all, int( random( tokencount(shape_all, ":"))), ":"))

    ================= problem

    I can't find a solution for

    a. randomly set shape_1 _2 or _3 to shape_select

    b. set the remaining two shape_x to something different than shape_select and different from each other (using the shape_all list)

    I was used to be working with Director Shockwave Lingo

    Have a look at chato.nl/ipad and hit the blue balloon (second screen) to see the progress

    Hope someone can help me on this one! (arrays/lists are not easy in C2 for me yet) TNx!

Cyberkidz's avatar

Cyberkidz

Member since 9 Jan, 2012

None one is following Cyberkidz yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies