lukezero's Recent Forum Activity

  • Hello C2 developers!

    I developed several casual games in separate CAPX (for obvious reasons) and now I need to integrate them in one CAPX.

    I searched tutorials here and just found an old topic in which the only solution was then manually transfer one-on-one objects and events, which certainly must have already been resolved, as this is an affront to the group work and the inherent practicality of C2.

    Please someone tell me that there is a practical and fast solution for this.

    Once again, I thank in advance the attention and collaboration of all. ^^

  • roteam There is a CAPX example that I made for you: <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    http://s000.tinyupload.com/index.php?fi ... 5131704871

  • I'd lend a helping hand, but I saw that already solved. ^^

  • And before you ask me, yes, I read the tutorial written by ASHLEY. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    https://www.scirra.com/tutorials/1126/m ... le-devices

  • Hi!

    You need to pin an object beside your avatar and create two variables that store the previous avatar position.

    Then set the following events:

    Set object WIDTH to distance(Object_Initial_Pos_X,Object_Initial_Pos_Y,Actual_Pos.X,Actual_Pos.Y)

    Set object HEIGHT to Self.Width/15

    Set object ANGLE to angle(Object_Initial_Pos_X,Object_Initial_Pos_Y,Actual_Pos.X,Actual_Pos.Y)

    System set Object_Initial_Pos_X to Actual_Pos.X

    System set Object_Initial_Pos_Y to Actual_Pos.Y

    PS.: The Actual_Pos is the actual position of the moving object. I did this to a slice casual game, so I think it will work well with your game.

    Good luck!

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

  • 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?

lukezero's avatar

lukezero

Member since 4 Oct, 2014

None one is following lukezero yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies