Klyde's Forum Posts

  • 11 posts
  • Thx, it helped me and I managed to combine more than 160 events in 4 lines !!!

  • Hello

    I am making a tower defense like game.

    There are turrets which can be upgraded .

    Here is the upgrading tree :

    1 base turret > 4 possibilites > 4*4 possibilities > 4*4*4 possibilites.

    This means there is a lot of differents turrets and I don't want to make one event for each upgrading possibility.

    I though about givings IDs to the turrets to have the same event which adapts for any upgrade by using the IDs

    Like :

    1 -

    11

    111

    211

    311

    411

    21

    121

    221

    321

    421

    31

    131

    231

    331

    431

    41

    ...

    2 -

    12

    22

    32

    42

    3 -

    13

    ...

    So I wanted to know If it was possible to do something like : If touch on object family turret, display 4 buttons and if one is clicked spawn turret "1andID" or 2andID or...

    I hope that was clear.....

    Thank you

  • Thx I got it working that way ! But now I get a new error, it seems like the multitouch plugin is not supported by cocoonjs. I 'll go back to crosswalk !

    Thx guys !

  • bump ?

  • Hello,

    Today I wanted to try to run my game with CocoonJS launcher on my android phone to see if I could get some additionnal FPS compared to Crosswalk.

    I made a .zip for CocoonJS with Construct 2 with "minify Script" unchecked, I uploaded this .zip on my dropbox and I entered the Link in CocoonJS Launcher. Then when click "canvas+" a blackscreen comes with a 60 FPS and I get the following message :

    "Could not find anything to be executed. If you are using a zip file, please, verify that the main HTML or JS file is in the root of the zip file [...]"

    Is there something I am doing wrong ?

    I am using C2 beta r175 and a ARM phone on android 4.1.1.

    Thanks you!

  • Very smart, ty very much !

  • Bump

  • Try Construct 3

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

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

    I came here hoping that someone can help me out.. I've been looking on the forums but I couldn't find the answer to my problem..

    So I am using a shadow light and sprites w/ solid and casting shadow behaviors. Unfortunatly the shadows casted are overlapping when two sprites are aligned with the light. Is that normal ? How can I fix this ?

    Here is a picture :

    Thank you very much !

  • Here what I've done. However, it doesn't work (probably because of the Wait action). I couldn't really figure out where to place the assign oldX and oldY to then compare it in real time with X and Y...

    EDIT :

    It Finally works. Here is the event sheet :

    Thank you very ;uch !

  • I only need the direction. I'll try to do what you said. Thank you !

  • Hello Guys !

    It is my first time on this forum... I've been using Construct 2 for a couple of days now and I enjoy it a lot !

    However, I came here to ask for some help because I am stuck on something and I couldn't find the answer on the forums...

    I am trying to set 4 different animations to a sprite with a path finding behavior, depending if he is moving rater towards X+, X-, Y+ or Y-

    I have tried to add physics and custommovement behaviors to have velocity X and velocity Y expressions but it seems that the path-finding movement is independent from the other movement behaviors (in both cases velocity X and Y returns 0 even if the sprite is moving along its path)

    Do you guys have any idea on how to fix this ? I am pretty newbish to C2

    Thank you for your kind help

  • 11 posts