RobertMKD's Forum Posts

  • I have a large map in my game and I have separated it in 14 parts, which I made them all 900x1145 big by mistake. That froze my phone and I have reduced it to 450x573. But the game's performance is still not ideal and I think additional reducing of the image sizes would screw the quality of the map for better displays...

    Should I consider dividing my map image into another 14 parts (28 in total) ?

    What is the minimum size of an image that will look nicely on every display without causing the game to lag?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Actually the problem with LocalStorage had nothing to do with PhoneGap, I've fixed it. However, I can't find a way to solve the problem with the window and sound, without adding Crosswalk WebView, it drastically increases the APK size.. :/

  • I built my app using PhoneGap and everything works fine, and the apk size is perfect. However, there's this issue with the window of the game.

    It does not fit the whole screen even though the aspect ratio is the same as my phone's. It is kinda zoomed out and there's black bars on right, left and on bottom..

    The screen's also blinking from time to time and makes the game look ugly....

    Crosswalk WebView solves the problem perfectly, but adds +25mb to the apk, which is unacceptable...

    Some other solution?

  • armaldio

    I am building my app with PhoneGap, and I need the a link for the plugin so I can install it, I have searched on github but couldn't find it.

  • Why do we need Intel XDK's help? It makes the APK 6 times bigger compared to PhoneGap....

  • Sorry but that thread has nothing to do with my question. I am not building with Intel XDK, and there's no force that will make me create a package for PhoneGap because the APK size is insane..

    The building for PhoneGap is successful and the APK size is perfect, however, I wanna know if the changes I mentioned above will remain when I build the regular apk (not the debug one)....

  • Come on guys, there has to be someone that uses PhoneGap.... :/

  • I used to build my app with Intel XDK, and successfully test it on mobile. However, after their build system was retired, and because of the enormous APK size I had to switch to PhoneGap.

    After I sucessfully built my app, I have downloaded a debug apk to my phone and installed it. However, I am facing some problems that were not a case for Intel XDK.

    1. The window of the project is a little downscaled and there are is a black area on the right and on the left, while on the bottom, there is something like a bar that you could barely see, and I think that's what causes the window to change size.

    Note that I haven't changed the size of the window, and when I used to build the app with Intel XDK the window would fit the whole screen.

    2. The project lags more than before and the screen flashes occasionally. This was a case when I would test my app without installing it (using Intel App Preview), but not when I actually installed it.

    3. The project does not load and save data to local storage, and I don't know why.

    4. Sounds start playing only after I touch the screen. I know this is a case for iOS, but I am building my app for Android...

    Will these problems disappear once I install the regular apk that requires your Google Play key and all that stuff? I still don't have a Google Developer Account so I can't test that out. Maybe somebody more experienced on this subject could help me?

    Thanks.

  • Have you tested your project on a mobile? It won't be noticable there...

  • Hi,

    I am trying to build my project using PhoneGap. Everything went perfectly fine until I've tried to install my project on my phone in order to test it out. I am getting the "Parse Error: There is a problem parsing the package." error. Last time I got this error was when I built my app using Intel XDK and tried to install it without signing it. Then I have signed it and there were no problems after that.

    This error occurs when using PhoneGap even though I have signed the apk.

    Maybe it has nothing to do with it, but it's good to mention that I removed the cc.fovea.cordova.purchase and the com.mcm.plugins.androidinappbilling plugins from the config.xml file. The first one required a billing key which I don't have, since I don't have a Google Developer Account, while the second one caused some errors on building.

    What may cause this error this time? I am using the same way to download and install the APK on my phone as before..

  • I have this option in my game that causes intense calculations and I need to run several loops in order to achieve what I want. This option of course freezes the game and the CPU reaches the sky.

    So, I want to know if there is any way of making a loop that will run more slowly. I have tried using 'Each X seconds' and 'Wait' along with the loops, but that causes errors..

    Should I improvise and make my own loops? Like, increase a local variable (the loop index) each X seconds and do some stuff?

  • I have 4 instance variables for an object, the names of the variables are for example var0, var1, var2 and var3.

    I wan't to check if one of the variables is true or false in a single comaprision block. However, in order to know which one of the instance variables I need to check I have to use this other number that determines it (in my case it's the 'loopindex'.

    So, I am trying to construct the variable as a string object.var&loopindex, and then use it to check. But, I don't think I know how to do it or whether it's even possible...

  • I am trying to convert a string into an expression (an object's instance variable) and use it in a comparision.

  • I just did that, but the APK size is the same

  • Yes, but that's what makes the APK that big.

    I read some tutorials on building with PhoneGap and tried building with it, but I got this error with BILLING_KEY and I am stuck..

    Anyone has any solution to this? Or some other method to build?