blinkn's Recent Forum Activity

  • Nice, that is exactly what i wanted, thank you guys!

  • I need to sometimes run "console.log('something')", to check if my events inside c2 are running properly, is there a way to do this? os any other easy alternative to? i am tired of placing Text objects on screen and log my stuff...

    ps: I know about debug mode, and breakpoints, but i just want to call this command "console.log()" inside c2, i don't care if it'll run every tick.

    See ya! thanks

  • Off topic: How do you guys make these video/gif thing, what software i need?

  • Good luck man, i also want to know how to do this.

  • You don't need the 8-Direction and Solid behavior on Enemy, Just Path Finding and LOS.

    Hope that help you.

    Best Regards.

  • With CocoonJS i think you may achieve that. I don't know how to do it cuz i'm also a beginner but, i've read about and it's not too difficult (: try searching in tutorial section.

  • Search on Plugins (addon) Section on this forum, i think you'll find what you want.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The only thing that came on my mind right now is: control sound loop with a variable.

    Define Global Variable "Step" = 0

    Player1 is moving and Player 1 is on floor and Step = 0 > set Animation "Walking", play sound (NO LOOP), set Step = 1

    Player1 On finished Animation "Walking" > set Step = 0

    ---

    Of course you'll need the "Walking" animation for your sprite.

    I think, this is not the best solution, but, could work.

    Best Regards.

  • Great game, fun and addicting, congratulations.

  • Got it!

    I tweaked yout capx a bit, i have added a textbox for ~debug purposes~ you can remove it.

    I created one instance variable on Full object to store his Animation Name.

    Then, tweaked your ~is cutting~ event, wrapping inside a for each.

    Then i check the instante variable to determine which animation the full object have.

    Then i do the set animation on half objects and there you have your correct half sliced object!

    I hope i'm not too late with this solution =P

    Best Regards,

  • Can you post your capx? it's easier to understand and reply with the solution,

    Best regards.

  • You can use LineOfSight behavior to detect the "120" distance and activate the enemy movement. Combine this with moveTo behavior provided by rexrainbow and you'll get what you want.

    Here the capx of one of my examples:

    PS: The red circle is the enemy's line of sight, if you enter on that area the enemy will automatically "follow you".

    PS2: maybe you'll need to disable touch movement and enable keyboard movement on "playerInput" EventSheet.

    moveTo Behavior: https://dl.dropboxusercontent.com/u/5779181/C2Repo/rex_platform_moveto.html

    Capx: https://www.dropbox.com/s/sjwz550n5mjb4mi/hero3.capx

blinkn's avatar

blinkn

Member since 23 Jul, 2014

None one is following blinkn yet!

Connect with blinkn

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies