Anthracite's Forum Posts

  • Hi everyone, struggling with this one a little bit for some reason. I think it's to do with the negative values for Bullet.AngleOfMotion but here's what my code looks like

    However our little headless butcher does not seem to cooperate with these angle settings.

    Is there a better and more refined way to do this?

  • dop2000, you are a legend!

    Changed it to the System : Boolean check and it works like a charm!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi dop2000, thank you ever so much for responding.

    Just to clarify, this function is using the new built in function system of C3 (alongside parameters), I do have the original functions object that is used elsewhere in the project (as this is quite an old one now)

    Do I need to convert all functions to the new system?

  • Hi there, thank you in advance for taking a look at this for me. I'm hoping it's me being utterly stupid and not something that C3 can't do.

    Here's a function we're trying to use.

    We call this function via this action

    -> Functions (built-in): Call Put_Item_Into_Pockets (Item_to_Pocket: "Item Name", Animate_Pickup: 1)

    However, the Animate_Pickup parameter seems to be ignored and the conditional actions are never run. Am I doing function parameters wrong?

    Would appreciate some insight. Thank you so much!

  • Hi there everyone, thank you so much for taking a look at this post. I'm finally getting my head around delta time and need somebodies expert guidance to help me understand.

    So, I'm looking to move an object 1 pixel to the right every tick - easy when using the every tick command. However, running this on a fast hz monitor makes the object way too fast.

    So how can I re-phrase this using DT? I'd like to a michael scott gif of explain like I'm five, but you get the gist ;)

    Thank you so much!

  • The one mentioned in the bug report - yes I keep seeing the 404 in the console.

  • Yes, having the same issue but difficult to create a build to showcase it. Does yours happen consistently? If so, it might be worth submitting a bug report with your build.

    I believe it's to do with the worker shutting down when it's no longer loading files (audio or JSON files usually)

  • Hi there, sorry to ressurect a dead thread but this issue has reared it's head again for our project today. I followed the bug report and tried the demo file and can confirm it is still in there using the latest version released a few days ago.

  • Hi all, using the most up to date version of C3 Stable (r234.2) and it seems the ol' worker issue with Ajax is back (albeit way less frequently than before). The problem happens sporadically and without any real precedent.

    From reading previous forum posts and bug reports it seems that the worker handling the file loading via Ajax goes to sleep and therefore doesn't pick up any files when they are called. This could be audio files or JSON files.

    Here's an image of the console ...

    Unfortunately it's very difficult to re-create this consistently, as restarting the project, it seems to work fine and then it just decides not to load files anymore and that's it - no further JSON or Audio files will be loaded regardless until the project is re-started.

    Do I need to do anything here to improve this? As this was working without issue a few stables releases ago. Would very much appreciate any input.

    Tagged:

  • Thank you so much for replying oosyrag, appreciate it.

    This sounds perfect, however (as far as I know) we can't tween a background color on a layer?

  • So I have the following code running non-stop during a cut-scene

    -> System: Set layer "Lighting" background color to rgb(lerp(51,3,0.1), lerp(14,8,0.1), lerp(9,21,0.1))

    -> System: Set layer "Lighting" opacity to lerp(80,98,0.1)

    However, the colors aren't correct and it seems like the opacity stops at 81.8 for some bizarre reason. The event itself looks like this ...

    I think I'm probably doing this very wrong, so could any wizards please show me the light? Thank you so much!

  • Hi there dop2000, thanks so much for checking this one.

    I understand the concept of the loader layout, however because the JSON files aren't on the layout we're loading (they're files that get called), is there a method of forcing them into memory too?

  • Hi there, so I think we've discovered a little bug in Construct 3's Ajax object when loading JSON files to run dialogue.

    Because the AJAX is asynchronous and the Players actions arent, there are times when a player interacting with an item / character to trigger loading a JSON file fails completely.

    Is there a method to load JSON files into memory from the start of a layout? So we can ensure that everything can be accessed quick-sharp :)

  • Hi there, this might be super simple and just a setting that I'm missing somewhere.

    When an object is pathfinding, and goes to change it's direction (or finds a new path) they always seem to make a circular movement to re-orientate themselves to their new target. Is there something to make this switch in target, instant?

    As in, so the object doesn't "turn around" as it begins its new path?

    Thank you

    Tagged:

  • Hi there everyone, I'm hoping someone far better than me can offer a hand here. This is the runtime I have for my enemies (who use the Tile Movement behaviour). Basically what I'm trying to achieve is the enemy using the tile movement behaviour to walk towards the player X number of times.

    Each enemy (family) has a variable called Number_Tiles which in this enemies instance is set to 2. So therefore every time the End of the Turn is called it should run the movement function twice for that enemy.

    However, this seems to only allow the enemy to move once (even when their movement count is 2, when they should move twice).

    Many many thanks!