gonpla's Forum Posts

  • Thanks DAG, I will put the issue on cocoon help center.

  • Hello,

    I imported a .wav audio file in the Music folder and this has generated a .m4a and .ogg files.

    I execute the sound "on start of layout".

    I exported the project to cocoonjs, but when I tested the game from de cocoonjs app in a Android or iOS mobile, the game crash on startup. In the logs of the cocoonjs I see "received memory warning".

    Before inserting the sound, the game was running normally.

    Can you help me, please?

    Thanks.

  • It's exactly what I use, but not accurately. you have to press in the center of the sprite. Do not you mean "Make sure the polygon is large enough (possibly bounding box)".

  • Hello,

    I'm using "on left button clicked" and "touched on" on a Sprite. My problem is that when I click the mouse or finger (for mobile) does not work well at all, seems to press right in the center of the object.

    Is there any way that clicking anywhere on the object work?

    Thanks!

  • You mean using the scale on the project so it? That's what I have. I'm using 32 bit PNG images. They are also made ??vectorially images, so if I reduce the increase or not lose quality. I do not know if you lose quality because of the device changes depending on the aspect ratio scaling.

  • Hello,

    I am using Scala mode. I created the layout with a large size (10'' tablet or so) and looks great. But when scaled to a smaller size images lose quality.

    What is the best way to use images in the project without losing quality depending on the scale?

    Thanks!

  • You can set the width and height of the layout at runtime(from the events?).

    I see that you can set the canvas size, but you can change the layout size?

    Thanks!

  • Nobody knows why I can not scale to full screen????

  • I have read the guide for multiple screen sizes but can not get full screen display.

    I'm using the Ipad size 3 (2048x1536), but when I try it with JS Cocoon both iPhone 4 and Android devices, I see a blank spot on the right.

    I use the scale mode.

    Can anybody help?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    Thanks for the reply. I'm trying to use CocoonJS but when exporting the project from Construct 2 appears the following:

    Exporting to CocoonJS is not the free edition.

    Is there any way of expot for free? �I can export it as a site of HTML5 and do some manual configuration to be used with CocoonJS?

    Thank you.

  • Hello,

    I did what you said using events instead of drag and drop but the effect is the same. I've noticed that with a more modern device works perfectly, but I'd like it to work reasonably well on older devices.

    I tried to make a native Android application by adding a WebView and has improved a lot, but I'd still like to improve it more.

    I read that with appMobi can increase the speed and am trying to use it, but I have a problem. I export the project as appMobi (experimental) from Construct 2 and when appMobi imported it into ocurres the following error:

    "The appMobi JavaScript Library is missing". Puts you copy the following in all my html files:

    <! - The line below is required for access to the appMobi JS library ->

    <script type="text/javascript" charset="utf-8" src="http://localhost:58888/_appMobi/appmobi.js"> </ script>

    <script type="text/javascript" language="javascript">

            / / This event handler is fired eleven the appMobi libraries are ready

            onDeviceReady function () {

                 / / use appMobi device viewport resolution to handle if you want Differences

                 / / AppMobi.display.useViewport (768.1024);

                 / / hide splash screen Now That our app is ready to run

                 AppMobi.device.hideSplashScreen ();

            }

            / / initial event handler to detect when to appMobi is ready to roll

            document.addEventListener ("appMobi.device.ready" onDeviceReady, false);

    </ script>

    I tried to do it but to upload it back again gives me the same error message.

    I followed the tutorial "http://www.scirra.com/tutorials/304/how-to-export-to-appmobi-with-directcanvas/page-1" along with "http://www.appmobi.com/documentation/content/Tutorials/Tutorial_GettingStarted/index.html?r=8448 "

    Does anyone have experience with appMobi?

    Thank you very much.

  • then there is no way to work better, even without PhoneGap?

  • I just try on the real device and operating at 4 and 5 fps.

    Why running slowly?

  • I added "Item1" "DragDrop is dragging" -> set text to fps

    Executing it on the web appears on 50 fps, although there are peaks of 14, 20, 65, 80 ...

    When I can prove it on a real device (build.phonegap.com now does not work) and see the values.

    Anyway, if the values ??are low, what would be the way to solve it?

    Thank you very much for responding so quickly.

    Regards,

    Ruben.