ryrydawg's Recent Forum Activity

  • When enemy's x =player.x+50

    When enemy's x =player.x-50

    --- Create bullet in direction of player

    That should do it. Just mess around with the Distance when to create a bullet

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

  • Where is the 217 update ??

  • czar

    Awesome! If you figure it out, please post it here

    Keep well

  • HI ryrydawg I am not sure I follow. The 8 direction behaviour would be a possibility for the player but I am not sure how that would solve the issue for the CPU player.

    I have uploaded the new version

    Changes :

    • Made the player and CPU player smaller to avoid the collision box catching on corners
    • Set the cpu player and human player to 8 direction so that they have a collision with solid objects property.

    Note that the size of the cpu and player sprites were changed only on the layer. Not the actual sprite. You can play around with the sizes to get the perfect fit.

    As I said before, there are probably other ways to solve your problem but the would be the quickest

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

    You could also just scrap everything I just said and simply add a solid behavior to the player and CPU player. That seems to work too but the movement looks too fake

  • Since your player has no "collision detection for solids" Giving it an 8 direction will

    Also, I would work on the detection box and maybe enlarging the size of the doorways so you have a smoother path finding animation

  • Hey man,

    An easy way to do it would be to give your player the 8 direction behavior and set rotation and standard controls to none.

    It seems to work after that.

  • Is there a new way? I am still using the Intel XDK to compile the project files

  • Your best bet is to read through the manual, Once you have an understanding how arrays, variables, conditions and actions work, it's very easy <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Construct does all the hard work for you <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Here is a great channel that cover almost everything you need to know

    https://www(dot)youtube.com/user/EnglishAcorn

    Happy game making dude!

  • Hey!

    Here is the method I used. I'm sure there are easier ways of doing this but anyway

    Create a variable that changes when the value of the slider changes

    Create different animations for your sprite

    Set the animation to the variable value

    Here is the capx

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

  • Try Construct 3

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

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

    alextro

    Thanks so much for the help!

    Can't believe how simple it was

    Have a good one!

  • Hey everyone, been scratching my head for hours on this.

    I have a "card" that should snap to an empty placeholder.

    I have the placeholders in a family called deck that has an instance variable called "hascard"

    When the card overlaps with the placeholder, it sets the variable to 1

    When overlap is inverted, sets the variable to 0

    If the card is dropped below the black line, it should snap to a placeholder with the variable value being 0.

    Is this possible when using families?

    I have linked the capx if you wanna take a look

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

    Cheers,

  • I figured it out!

    Create a variable for your level

    Create a for loop from index 0 to variable name (Which is "level" for me")

    Add action for creating your object

    Here is a screen shot for anyone who wants the same thing.

ryrydawg's avatar

ryrydawg

Member since 10 Mar, 2015

None one is following ryrydawg yet!

Connect with ryrydawg

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies