jcstranger's Forum Posts

  • Hi there,

    currently I need to tap the screen on my phone once to "activate" input checks, or at least it feels like it.

    When I touch a button once, nothing happens but I enabled a input timeframe of about 1 second in which a touch gets registered. If I wait about 1 second without touching anything, I again need to touch the screen once to activate the timeframe.

    This issue completely destroys my game since it doesn't just happen in the menu but also in the game session.

    I also like to mention that this worked perfectly fine until yesterday, when I updated to the latest C2 build and cocoon plugin. I don't know which one to "blame".

    Did anyone experience something similar?

    Any solutions for this?

    Thanks in advance

  • > Bump

    >

    This is why it was depreciated...

    Only thing you can do is to get hold of cocoonjs and get them to fix it... They have made more posts since being depreciated, they they have all year... so maybe they will get a fix out.

    Well I do not expect Ludei to answer to all problems over here in the Scirra forum, I think thats too much to ask.

    Hello,

    The solution is really easy, every time you reinstall Construct 2, download the latest version of our plugin from Github (https://github.com/ludei/Construct-2-plugin) and follow the install guidelines to install it in your computer.

    Ludei Team.

    Worked perfectly and was initially my bad since I used the wrong cocoonjs_prelude.js when I tried to update the plugin.

    Thanks for the help Ludei

  • Try Construct 3

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

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

  • You could revert to an older C2 version and remove the cocoon plugin, then updating to the newest version again.

    This is no option for me though since I need the cocoon plugin.

  • Hey guys,

    as the title says my project is broken since the latest update.

    I am currently using the cocoon plugin for Ads and Google Play Game Services.

    What I am getting is the following error report:

    "Cannot find action with the ID 20 in the plugin 'CocoonJS' (CJSAds).

    This is usually caused by a third-party plugin developer removing the action from the plugin in an update, or reinstalling an older version of the plugin that does not have an action used in this project."

    I am aware that Ludei also updated their C2 plugin but doing so didn't solve the issue.

    Has anyone a solution for this?

    Thanks,

    jcstranger

  • hey thanks for your reply, will try that one out

  • hey guys.

    i have quite some layers inside my layout so i decided to add an effect to the layout instead of every layer since this should be better performance wise.

    now i need to exclude one layer (HUD) from being affected by the effect.

    are there any other solutions besides adding the effect to any layer instead of the layout ?

    is it possible to exclude one layer from the layout effects or including another layout into the main one?

    thx in advance

  • so i finally figured out a solution that works for me.

    in my game there is endless content randomly generated and scaled to 0 (destroyed).

    besides, the player can also move stepwise (X pixel per touch)

    currently, every second one new object is generated that contains 4 obstacles that can collide with the player, then they scale to 0.

    what i do to solve the collision problem is that i set the new object and obstacle instance to a new layer every second.

    this makes up to 18 layers. now, when i move my player, is substract it by one layer, else it also adds 1 layer per second.

    this way i can check if the player position is on the obstacle position.

    if both variables (player and obstacle) have the same "layer" variable, i check for collision.

    i am not sure if this is a dirty solution performance wise, but it is at least very precise.

    thx again for helping

  • hi mystazsea,

    thats a very detailed answer, way more than i was hoping for.

    I will try out your approach and let you know as soon as i have something (or not).

    thank you very much.

  • is it just the background that turns black or do you have a black screen on your mobile device?

  • Hey guys,

    I am currently trying to tell an object to only collide with another object if they are connected on the Z axis.

    This means that if another object is in between those two object on the Z axis, collision should not happen.

    Is there any practical way to handle this? Since I didn't find a nice solution yet I resize the collision polygons of the objects by frame depending on the position which is a very inaccurate and dirty solution.

    Any help is appreciated.

    cheers