FlippyDolphin's Forum Posts

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Constructs months work on a 0 based index. Weird I know considering everything else under the date doesn't. 0 is january. 1 is febuary.

    The ones with 11 are december,

  • It works but none auf your boxes have the correct value for day and month so none is selected.

    What do you mean? It is meant for next year so I set the date on my device to 13th of january 2021. That should be

    Day: 13

    Month: 0

    Year: 2021

    No?

  • dropbox.com/s/asu871djh2smnls/Art%20App.c3p

    I want it to set whatever day it currently is to the ! animation (called today). However it's not working. It also just crashes it because of the for each loop.

  • Hey. I love your art and am using some of your sound effects as placeholders for my tribal game. I was wondering if you have any art based on tribes and stuff like that, or dinosaurs. I was looking but couldn't find any.

  • My game has completely broken. No idea why. The main menu works fine but upon entering the game objects start breaking and anything that is every tick stops working. It appears to be only after entering the game through the main menu (upon entering via the main menu the game loads the save file, I assume that is the cause but how to fix it?)

    dropbox.com/s/3rk3yzf2o8mh3xd/LifeExample.c3p

    Tagged:

  • Well I am trying to detect Shift Capslock and Ctrl.

  • So it is impossible? Also, I don't think the cursor affects it. Only if it is focused.

  • It really depends on the game though for the scale types. Also, most screens are 16:9

  • All mobiles have different resolutions so some will have black areas no matter what. Unless ofc you fit the game size to the screen size... however, 9:16 works best for portate so 16:9? I think the Samsung Galaxy S20 has a 1440 x 3200 (9:20) display so I guess it depends on what you are targetting. Work with your target and round down from that.