0plus1's Forum Posts

  • After hours upon hours of testing I can say that c2 DOESN'T work on the iPhone with the latest phoneGap (1.5.0).

    On the simulator it works perfectly, once built and sent to the device it does not, and it's a construct problem, it looks (say it looks because it's IMPOSSIBLE TO DEBUG) like something throws an error and the screen remains blank. I tried to remove any reference to c2 and the "Your browser doesn't..." string appears perfectly (so no memory problem as all the assets are still in the app.

    Someone has any idea about this? Ashley, how do I debug c2? Possibly with some try catch blocks? Has someone been successful on testing ON the actual device (not on the simulator)?

    Thanks

  • Thanks Ashley, not a very big deal, as without the images the game is around 1mb with sounds I can manage to "compile" it.

    You may consider this for a future version though.

    The inject plugin is genious and is a lifesaver for advanced user that need more flexibility in memory managment.

  • Iphone I've fixed the issue and I was able to dynamically load assets at runtime! Still it would be helpful to have a way to debug on local preview I wait for Ashley to tell me where are the assets for local preview stored.

  • My problem is different, I need to understand how c2 loads stuff.

    If I "compile" for html5 and add my directory it works like a charme.

    Inject "myfolder/myasset.png"

    In local preview it does not because I don't know where c2 starts (so I can't put files relative to it's directory).

    I also have a big problem with PhoneGap iOS, loading with inject hangs c2 because it can't find the image, in theory from the phonegap docs everything under the www/ directory is trated locally but it doesn't work. It looks like it can't find files while in reality they should be there.

  • I'm lazy loading images to avoid preloading, to test on local preview I need to copy my files in a directory relative to the server preview which looks like it start from somewhere which is not the project directory. Where it is loaded from? Thanks!

  • Pode Ok I see, I need something relative though, I'm experimenting with assets loading as I would like something relative in order to have it load from phonegap.

    Like image_to_load = 'images/image.png' I'll let you know.

    You are a life saver!

  • Unable to load plugin in XXX: Found 'GetPluginSettings' global, but it is not a function.

    This plugin will not be available in the editor.

    EDIT: Disregard my ignorance.. I leave this in case somebody has the same problem. This is a Behavior not a plugin, so it goes in the behaviors folder!

  • Pode I was actually looking at yours and at the loadURL plugins to solve my problems. Basically I don't need to have 50mb of images at runtime since the application is procedurally generated at runtime showing only ONE image (60kb) out of the thousands I have so your plugin could be a saver. Now my only problem is to understand from where c2 loads images locally, it looks like image.png from preview and images/image.png from "compiled".

    Also is it possible to build the image name from variables?

  • Ahahaha kudos to Ashley!

  • Ashley (to get your attention because I need a technical "description"). I'm sorry if this information is somewhere already, but I can't find it.

    I finished an education application, it has around 50mb of images. On web preview it works perfectly, in phoneGap it crashes (see my question here: stackoverflow.com/questions/9960100/phonegap-android-with-relatively-large-html5-application-hangs-or-crashes).

    So, how exactly are assets loaded into construct? Becuase if they are forced into ram at the beginning this will limit a lot the ability to develop for mobile.

    If someone has any information it would be greatly appreciate it.

  • It would be nice to have the possibility to add comments on top of action as opposed to only on top of events. Right now I create blank sub events splitting action in order to have comments on top of them.

    Thanks for the attention!

  • I just wanted to publicly thank Tom and ASHLEY.

    I just received my prizes and I'm really happy!

    Good Day!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't worry, it's a shame because official touch doesn't support "normal" clicks, but I understand, thanks anyway!

  • I also would like to tell that at one point in time it actully worked because I remember playing with it.

    Maybe something changed in c2?

    I also tried to remove the touch object in case there was some precedence issue but it did nothing.

    Thank you!

  • Touch/Mouse