lukezero's Forum Posts

  • Up!

  • Hi C2 developers! ^^

    I made a game in C2 for mobile devices using the 864x486 resolution (which is the smallest HD resolution) and configured with Letterbox Scale. However, when I compiled it in CocoonJS, testing all possibles scales (scale aspect fit, scale aspect fill, scale to fill, no scale), the game became with a white stripe on the bottom.

    I recently learned that the Cocoon doesn't support Letterbox Scale, but even so I tested many different settings and so far I couldn't get the full screen.

    Anyone have any suggestions to solve this?

    Thank you in advance the attention and collaboration of all.

  • DUTOIT My greatest headache with Ludei/Cocoon (though not sure if they are to blame) is with the Canvas, as I did a casual game using this plugin, but unfortunately ran to one frame per second. That is, infeasible.

  • Thanks for your attention and collaboration, DUTOIT!

    I solved the recognition problem changing the Textbox by SpriteFont.

    This was simple to fix, but I'm so stressed out doing everything alone (game design, graphics, animation, programming etc.) that doesn't think of it first.

    Since I'm new in the C2 community, I'm out of everything that has happened. Only knew the Ludei was a good solution and, taking these limitations, I am quite satisfied with the service they offer.

  • Another thing, Letterbox Scale doesn't work on Cocoon.

    Following recommendations, I developed it into a HD resolution (864x486), so that it perfectly fits to any mobile device, but in compiling the game is with a stripe below it.

    You know how to solve this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I used the Textbox in an angle recognition system for a mobile game that I did.

    Now that the game is completely finished, the Cocoon precisely failed at it its mechanical function.

    In this case the Textbox stores the numbers related to the angle (360/45), as the player touches the screen in any direction.

    Any suggestions?

  • Thanks for the info, I swear I didn't know that. I use the C2 recently.

    What is the best alternative to Cocoon, especially in terms of performance and stability for mobile devices?

  • Hello everyone! ^^

    I put the Textbox in a casual mobile game and when I compiled in Ludei/CocoonJS, he didn't appear.

    Can anyone tell me what might be happening?

    I thank the attention and cooperation of all.

    [EDIT]

    The solution was to change the Textbox by SpriteFont. Ok, it may seem obvius at first, but I used the Textbox to recognize the touch angle of the player on the screen. I'm also doing everything alone game, so be patient with me. ^^

    Thanks for the support and patience, guys!

  • Thanks for the great examples, Ize!

    I did a casual game based on the shape recognition example, but he didn't worked in the mobile Ludei/CocoonJS built.

    Do you have any ideas what is happening?

    [EDIT]

    I solved the problem changing the Textbox by Spritefont.

    The Textbox isn't supported by Cocoon.

  • I created a casual game based on the Canvas plugin, designed for mobile devices and unfortunately the Flood-fill doesn't work well on these devices.

    I used Flood-fill to detect the internal filling of a circular area designed by the touch of the player on the screen, but when testing him in a smartphone (quadcore with 1GB RAM), the game ran at one frame per second.

    Does anyone have a suggestion to solve this?

    Thank you in advance the attention and collaboration of all. ^^

  • Nobody knows the reason?

  • Hi C2 community! ^^

    I made a shoot'em up game with an infinite Tiled Background that works perfectly on the PC, but in the Android version compiled in Ludei/CocoonJS, appears the scenario divisions/amendments.

    Does anyone know how to fix this?

    Thank you all in advance for the attention and cooperation.

  • Thanks for the help, TheDom, but I tried this function before and don't worked here.

  • do you have the Cranberry plugin link for download? ^^

  • Hi C2 community! ^^

    During an event triggered by a boolean or number variable (which is active when called), how do I give random features (such as opacity, angle and scale) to a newly created object?

    I know the functions RANDOM and CHOOSE combined with integer fucntions, but both only work properly when set at the beginning of the layout.

    I'm also trying to randomly choose an animation of an object in the same case and I'm not getting. Example: "animation"&int(choose(1,2,3))

    I think that is a computational logic problem I don't understand...

    I thank you in advance your attention and collaboration.