0plus1's Forum Posts

  • I would prefer not to since it's an almost finished game, is it ok if I strip everything out leaving just the array logic?

  • Problem is that any array I create has the same problem.. please tell me there is a fix I don't want to start from scratch..

  • Uhmm seeing your example I see that in my c2 in the properties of the array I don't have width height and depth..

    Is it a bug?

  • I set the size to 3,1,1 but it still won't work. Weishaupt the bool thing wasn't intentional it was my interpretation of what construct2 may do under the hood.

  • I followed the tutorials and I know what an array is in other languages, but I don't understand how they work in c2.

    I'm posting the c2 code and my interpretation about how should they work in js.

    Array set size to (3,0,0) //array[0] = false;array[1]=false;array[2]=false;

    Array set value at 0 50 //array[0] = 50;

    Array set value at 1 120 //array[1] = 120;

    Array set value at 2 260 //array[2] = 260;

    Create Object Circle on layer 1 at (array.At(0),0)

    //I expect to create object circle at 50,0 but it's not working why is that?

    Thanks

  • I see, I got the wrong xdk.. basically appmobi is free then.. good to know. Tested, no difference in performance between appmobi and local preview.

  • 1) 10fps what? Of increase? It's the same as phonegap?

    2) I'm not talking about the apple account, as I already have one, I'm talking about the appmobi one, as far as I know there is no way to test on the iphone without having an account with them or am I missing something here?

    4) Can you share the plugin? <img src="smileys/smiley9.gif" border="0" align="middle" />

  • I almost finished a game that with painful optimization get more than 20fps on an iphone4 with ios5. I would really like to be the first to publish a construct2 game on the appstore, and I think that it would be an amazing advertisment for construct2 but I'm really on the edge performance wise and I would like to add some nice graphical effects, for this reason I would like to get appmobi running but I don't understand a few issues.

    1) Reading the forums, it looks like at the current state appmobi offers a boost in performance, at the same time Ashley said that currently construct2 doesn't support directCanvas something doesn't add up then.. can someone clarify? The way I knew this is that phonegap and appmobi are the same apart from directcanvas. I would like the direct experience of someone who played with it and has an appmobi licence.

    2) How do you test on appmobi, I planned on making a plugin, but testing means, "compiling" in construct2, loading the project on appmobi sdk then testing on the iphone, it's a little time consuming? Especially considering that there is no real way to try before buying and shelling out 99$ for something that it may not work is not my cup of tea.

    3) Ashley am I allowed with an indie licence to modify the js code that construct produces, I played with it without minifing it and other than being a little complex to figure out, It may be a nice solution for appmobi for integrating its functionality without the need for plugins.

    4) What exactly is construct2 reading with accelerationXwithG? Is this property consistent across device with accelerometers?

    Thank you very much

  • Don't worry you've been very helpful. This guide: scirra.com/manual/119/touch where I got the information isn't very clear, as soon as I tested better I'll do a tutorial on the accelerometer.

  • This is a tricky thing I think, I already thought about possible solutions but they are not elegant and more than everything I would like the opinion of the community.

    Think bejeweled popcap.com/games/bejeweled2/online you click on a gem, then on another adjacent one and they swap,there may be two adjacent ones, three, four or none.

    (X gem , O empty)

    X X O X

    X O O O

    O X X O

    What I would like is for the user to able to click on only one "gem" and the system will need to select the nearest one on an horizontal line (not vertical) and swap these two on the x axis.

    I thought about storing the x position of the object inside an instance variable, then trying to move it on the axis checking for collision, it those happens swap the x of the two objects.

    How would you do this?

    Thank you very much

  • I don't understand how the device Acceleration works, I tried to add an event:

    Is Device Motion Supported.

    then set the text of an object to accelerationX & " " & accelerationY

    But it says that it's an unknown expression :-(

    I need to get if the device is being shaken and from what side, how can I make it.

  • I don't think js is going anywhere:

    blog.chromium.org/2012/02/future-of-javascript-take-peek-today.html

    (http://wiki.ecmascript.org/doku.php?id=harmony:proposals)

  • My question was this:

    I still want them to push each other when in collision and I know about push, but what is better performance wise, to have the action on every thick (which is extremely convenient) or programming each collision by themself?

    tl:dr; Better to check for collisions then push, or push every thick?

  • bump?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley about the .exe it's not just about installing is about a professional image, a browser game (as complex as it may be) will always be regarded as a cute toy, not a full fledged games, also exe exporting opens the door to desura, steam and all the big boy distribution platforms.