tharindutpd's Forum Posts

  • glerikud

    Hi, "Save game action" is not a solution for your purpose.

    Yes, You can use WebStorage to save data in any mobile (like unlocked levels, high score). I have many experiences working with web-storage for mobile. There is a secondary solution, that is Cranberrygame's Phonegap WebSqlDatabase plugin. here is the link : https://www.scirra.com/forum/plugin-websqldatabase_p847916?#p847916 . I don't have many experiences with this plugin, but i am sure this plugin also can be used for your purpose.

  • You need a mathematical equation to calculate the angle of arrow. as an example if your ball is a "Sprite" and stick's position is mouse pointer then angle of arrow is : "atan((Mouse.Y-Sprite.Y)/(Mouse.X-Sprite.X))". "atan" it teturn the inverse Tangent angle value between mouse pointer and ball

  • ex32

    Here is the solution. Try this :

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i was tried Build a Snowman. It was worked well on my Samsung S advance.

  • Here is my first android game created with C2..

    Spider Run : https://play.google.com/store/apps/details?id=com.g3.SpiderRun

  • as my experience new update has fixed many bugs that were in old version. latest XDK have good performances with both crosswalk and android export. So better to update.

  • I have tested many Construct 2 games on S2, S3, S Advance. But If you managed your code well then you can improve the performances. As my experiences with above phones, I got averagely 35-50 frame rate without lag with following implement:

    Export method : Intel XDK

    If game has Physics better to use Coconjs native

    Reduce the number of clone of objects that available in every frame. (try to limit maximum 10)

    Reduce the number of physics objects

    reduce the number of conditions checking in every tick

    use "dt*60" values in everywhere ,

    Destroy objects after use.

    set clear background property to no,

  • How to upload both AMR and x86 APK into google play under one package name?

  • "Spider Run" - addictive game that need to corporate both left and right side of your brain.

    Available on : https://play.google.com/store/apps/details?id=com.g3.SpiderRun

    Phonegap Plugins : FacebookPB, Game, Admob, Splash screen, Networking

  • I think 480 x 800 is average size to use.

  • IntelRobert

    I think this can be a bug in intel XDK.

    I have exported my game using Intel XDK crosswalk for android. I have set version code property as "1"(because it is my first release). but when i build the app, intel xdk automatically set and change the version code as "60001". .so why i cant set version code as i want in intel xdk propert. (this issue was not in old version of intel xdk software, but new update have this issue) Thanks.

  • I have compiled my game with intel xdk crosswalk for android.

    when i am testing with several devices, i got an error message in a Sony 4.0 phone when open the app. it says "connection to the server was unsuccessful file:///android_asset/www/index.html".

    but this error is not given always. it gave in some time.

    other problem is splash screen. I need to display a splash screen with a logo and progress bar ( as in construct 2 html5 export ). but when i tested in many devices, a black color screen is appeared for long time (5-10 seconds) and after long black screen only progress bar is displayed for short time (2 seconds) and logo is not displayed.

    So how to fix above two problems ?

  • > AlbertAkefoul I don't know what the message means I'm afraid, but as long as it works on a real phone then we're not concerned about fixing it. Maybe try rebuilding the app.

    >

    > EDIT: Okay, i ve found the reason. I compile the apk using ARM architecture that's why it works on my smartphone. The problem is my tab is X86. It wont work there. I rebuild using x86 and it works just fine.

    >

    > Hey Ashley, I export flying along example using crosswalk, then i installed it in my smartphone and everything works fine. But when I installed it in my tablet, i get the same message "connection to the server was unsuccessful file:///android_asset/www/index.html"

    > Can you help me? thanks

    >

    > Edit: I browsed the internet and some people said it's related to the load-url-timeout and some said CSS, javascript or Cordova file. But I still dont get it. Thanksnothaseo2014-01-07 19:35:52

    >

    Did you solve your problem ? if yes how?

  • tharindutpd

    Made WebSQLDatabase.

    Go to this post and download:

    tumira

    You are welcome

    WOW!!!!. Thank you very much.

  • tharindutpd

    If only image banner is shown, you must have no issue. (no need to rebuild).

    If the issue still exists, make sample capx which reproduce the issue and send to me.

    Thanks

    Thank you. It is working now.

    Previously i was used admob plugin already exist in construct 2 Version 184. so now i download and used your cranberrygame_PhonegapAdmob_1.0.67 plugin. it working well. it has new preload function too. thanks. i think Ashley need to fix and update c2 admob with your new functions . Thanks