Cipriux's Forum Posts

  • Compiled apk with IntelXDK don't seem to create a Home icon (For my Samsung Galaxy S2 v4.4.4). I tried to decompile the apk to look at the manifest.xml but it only outputs "smali" directory. Renaming the apk to zip and looking inside seem to have all the required files, but it has to be some sort of error on one of them.

  • ekajuan Circle behaviour is a third party plugin. Check the above post for a list of plugins and behaviours. I also recommend MoveTo behaviour..is a life saver if you need sprites moved to certain positions (also having easeIn/Out). A more powerful behaviour that I enjoy is LiteTween. You can make moving objects using elastic movement, bounce, etc. These are the supported types of functions that LiteTween can use http://easings.net/

  • ekajuan you can use Circle behaviour. You can specify a center of rotation using events and also which type of path do you want (circle/elipse)

    https://www.scirra.com/forum/behavior-circle_t115947

    Another option is to use an invisible object that is rotating and use Pin behaviour to pin the object that you want it to rotate

  • szymek To get good fillrate you need to preload your interstitial 10-20 seconds before showing it...or at the beginning of the layout. I given up on MoPub for the low fill rate (40-60%) . Now I use AdMob directly (with Intel XDK) and get 80-90% fillrate.

    These are my statistics for the last 30 days:

    Banners

    Interstitial

  • rexrainbow great , is working now. Thanks

  • rexrainbow I love your event balancer plugin that I'm using for my procedural level editor, but I get an error when I try to set ProcessingTime during runtime.

    I only added line 10 at your example "event balancer.capx"

    ProcessingTime starts at 1 and after first second should substract 0.05 from it, but I get the error.

    Thank alot for all your great work on all your contribution . I love your plugins !

    [EDIT:] I am using r190

  • This is very interesting....Is possible to have displayed polygons instead of dots? I mean only the lines not the planes.

  • tgraupmann How is this related to Intel XDK/Crosswalk? Make a new topic.

  • IntelRobert

    Cipriux

    Zach

    We released support for 9 patch in splash screens. Please let us know if it does not work for you.

    I finally succeeded to have the 9-patch as a splash. Looking great. Thanks for that.

    Anyone wanting to use 9-patch as a splash I recommend this tool. http://weblookandfeel.com/nine-patch-editor/

    Before importing your normal png on the 9-patch editor make sure your image is 2 pixel smaller for width and height.

  • jorj0 Yes, Ads work great. Just use the official Admob plugin. With CocoonJS and Mopub I only had 50%-80% fill-rate. With official Admob plugin and Crosswalk I get at least 95% fill-rate. Just waiting for Intel XDK to upgrade to fix the security vulnerability and we are good to go to monetize.

  • Heska Admob is working with the official Admob plugin. You just have to follow the instructions https://software.intel.com/en-us/html5/ ... onstruct-2

    Make sure to put the ad ID in Admob property window.

    "Very simple" is almost all the time a subjective opinion . Read the optimization tips for mobile tutorials and things will improve.

    For mobile: try to avoid particles, for objects not interacting set its property to "Collisions = disable", use debugger to see number of collision checks/sec also poly checks/sec .

    Try avoiding "every tick" and use "every X seconds" instead . Use triggered condition for events that happen from time to time (those condition having a green arrow) or "trigger once" where appropriate.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Come back with some update about 9patch support using Intel XDK . From what IntelRobest said, 9patch as a splash screen is not supported, So anyone here made it work it's just placebo.

    We don't currently support 9 patch. There is already a request to add it, but it is queued up behind some other issues so I don't know when it will be there.

    > IntelRobert I read on another topic that placing a 9patch png as a splash image make it avoid distortion. Is this true? because I tried several 9.png images an all of them are distorted on my Samsung galaxy s2 with aspect ratio 16:10

    > The left is the original one and on the right is a snapshoot from my phone

    >

    > I know the 9patch image is properly generated, it has the 1 pixel black border as it should, I did my homework

    >

  • Ubivis That is a bad news. I will see what I can do eventually, Thanks

  • I have on my server a parent html files containing 2 child html files embedded with iframe. The idea is that one of the frames (containing animations) need to retrieve some data/variables from the other one (control panel) or from the parent html file, and I decided to use a JSON file. (all files are on the same domain/server)

    Using AJAX.RequestURL I CAN read the JSON (using relative path) but when it comes to write back to JSON I'm stuck.

    I have no idea how to use AJAX or PHP and I thought that sending the data to the url of the JSON file will modify it, but that is just silly thinking, I admit:)

    Is there a way to do this without using PHP or other complex things outside C2 ?

    I am doing this for someone that has no idea of C2 and he wants to modify the behavior of an animation on his own, from outside the animation html.

    Here is what I'm talking about if I did not explained properly:

    http://synapse1one.com/tests/rainwater_temp/index_2_iframes.html

    and this is the capx for the right-hand side frame https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/test_JSON.capx

    Please, if anyone is having any ideas ,any suggestions are welcome.

    I don't expect for someone else to do it for me but to give me a hint

    Thanks guys

  • shadowofpalms Thanks , that helps..I will have to try it