FlippyDolphin's Recent Forum Activity

  • Doest matter. Figured it out with custom movement.

  • Eh still haven't figured out how to make them move away. Should I be using custom movement for this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It depends, LOS would give you more control n all.

    All the best for your project.

    Okay thx. Seems simpler to do with the compare value so I will do that.

  • On my second run through and have run into the same problem. *sigh*

    Both default controls and enabled are ticked but there is still no movement happening.

    Arrow key movement? Try sending the project file and I will take a proper look.

  • Awesome thank you. Should I use line of sight? Combat is usually pretty close.

  • Seems really cool! Well done!

  • Hmm, strange. I've been over the instructions and my work a few times but for some reason the arrow keys still didn't work.

    Though on a semi bright side I completely forgot to save and have lost everything so I have to start again anyway.

    Thanks for your reply though! Appreciate it.

    For arrow keys "default controls" will handle that for you. Make sure enabled is also ticked.

  • nvm i solved it by doing round(random(1,3))

    Choose works better then round random due to how round works

    1-1.499999 (0.5 range) will round to 1

    1.5-2.499999 (1 range) will round to 2

    2.5 to 3 (0.5 range) will round to 3.

    Therefore you will get more 2s then 1s or 3s.

    Floor random(rounds down 2.9 would become 2 (so do floor random 1, 4 to get only 1 2 and 3)) or choose(1, 2, 3) or ceil (rounds up) 0,3) will work

  • I have a skeleton with a bow which I want to slowly move away from the player to maintain a safe distance. I thought there was a condition that checks how close to 2 sprites an enemy is but I couldn't find it.

    Basically here is what I need

    When the player is within 50pxl of the skeleton it should move to a safer firing range (maybe 60 pxls away).

  • Thanks. That works.

  • I have an enemy with directional animations. It is a zombie which moves directly towards the player using move to however I will have other enemies with ranged attacks and move away from the player. I have them all under the enemy family and want to be able to set their animations based on which way they are moving. The only issue is I have no idea how to tell the code which way I am moving.

  • Thanks for the info! I gather this means that photon is a paid service that is more easy-to-use but less flexible (I.e you cannot control who receives messages; photon just broadcasts everything out)?

    I was under the impression you could setup a "dedicated host" type of setup with the Multiplayer plugin too, I thought running an instance of your Construct project on a server or a computer that is permanently on, would act as a sort of dedicated server.

    Do a fair percentage of people struggle to connect to the Scirra multiplayer signalling server?

    Very interesting nonetheless, having more options is always good!

    You most definitely can have a host.

FlippyDolphin's avatar

FlippyDolphin

Member since 3 Aug, 2020

None one is following FlippyDolphin yet!

Trophy Case

  • 4-Year Club
  • Email Verified

Progress

5/44
How to earn trophies