TiredSundew5639's Forum Posts

  • I tried to make an example according to your description.

    It is simple and has only two buttons, one to add Bugs and the second to enable and disable the attack.

    All events are based on triggers, which optimizes resources.

    I hope this example will help you to find a solution.

    https://kibaga.org/c3-example/file_uploads/index.php?file_name=../Bugs-Attack-OnOff-Sample.c3p

    It works great now, thank you! I really appreciate the amount of time you put in to not just explain it, but also create some coding showing the idea! Have a great day!

  • The design itself logically looks odd.

    Listen to how it sounds.

    You check the animation frame of one bombardier 60 times per second and if it is three then all bombardiers spawn an object.

    You have a dependency on the animation speed and the number of frames. Yes and when there are many bombardiers the check will go to the first one. Sounds creepy.

    Why don't you tell me what you want and I'll create a more optimal algorithm?

    The reason that it fires on the third frame of the animation is because the beetles have a bit of a "wind up" before spraying.

    I want to have it so that, after the beetle's "wind up', they start spraying by having one instance of the spray on each beetle.

    The function of the beetles is supposed to be reminiscent of the "gaster blasters" in Undertale. The spray, unlike the gaster blasters, can move a bit up and down and it is cone shaped instead of a straight line.

    Also I am confused, what are you referring to as "creepy", the fact the sprays all go to one beetle, the concept of the beetles themselves, or something else?

  • While the question seems pretty easy to answer with a "trigger once while true" block, for some reason it is not working for me.

    For context, I have two sprites labeled "BombardierBeetle_Sprayer" and I have it so that they SHOULD spawn one spray cone particle. For some reason, however, one of them seems to work and spawn only one of the spray particle instances, but the other is spawning thirteen of them!

    Here is the code that I have

    Here is what happens when I run the code

    As you can see, the top beetle is spawning A LOT of particle sprayers (which lags out my game quite a bit) and the lower one seems to be fine.

  • Basically I want to recreate a bombardier beetle's explosion effect just like it is shown in this video at 3:29 youtube.com/watch

    In simpler terms, I want a "spray" that can spread out (something I already made) and I want a "smoke" that slowly gets brighter.

    The problem I am having is getting that "smoke" effect since the spray is simple enough. For the smoke, I have tried getting a continuously firing particle that has the fog exponential (so it stops at the bounding box) and swirl effect, but it doesn't get brighter and it doesn't look like smoke.

    Here is an image of the current effect (the one on the left is the one I need fixed and both look better in motion)

    These are the current settings I have on the "smoke"

    Tagged:

  • I am trying to create an effect that makes the layout look like the thermal vision from predator, and the main problem I am having is figuring out an easy way to change the colors of the layout into ones of thermal colors (red, orange, yellow, etc.)

    Tagged:

  • I wanted to achieve something similar to this also. The closest I got to this was making all objects do the additive blend mode.

    And then over the whole screen, I added a dark blue film with about 50-100 alpha (for transparency).

    Ok I tried that and it just might work to some degree, though it will involve a lot of experimenting and I felt like I was getting close with setting the vibrance of the filter (blue sprite) to 200%, having some sort of transparent red or yellow sprites with the additive blending behind the blue and in front of the other objects, and having the layout effect have 200% vibrance as well.

  • Basically I want to have an effect similar to the heat vision from Predator. I have tried many effects from the layout itself and on objects that could potentially be enlarged to encompass the layout, but nothing works. (if it helps, the background color I am using is black)

    Tagged:

  • Well, looking at it now, it looks like a mess, but works

    It looks tidier than my coding, don't worry about it! Great work!

  • Well i finally worked this out with tween, disable controls, overlaps, etc... and it works. Now i have an Ecco the Dolphin mechanic that kind of fun. If any one wants to see how i did it, i will post a picture of the logic

    Where will you post it? I am curious to know how you did it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am sorry that it didn't work, but I am glad that I helped you learn something, keep it up!

  • Have you tried to use the physics behavior and added it so that when out of the water, the dolphin has a force exerted on it in a specific direction? I am not the best at coding but I think that could work if you have the right conditions in there since I coded something similar when a trap jaw ant closes its jaws, it applies a force and sends it flying until it comes back to the ground and continues walking. I think they are both similar since they both are propelled into the air and then fall back down, so it could work. The code block I used to apply the force is labeled "apply force at angle", which allows you to choose which way they go, how fast, and from what image point. Hope this helps!

  • My problem is that I want to shrink a hollow box that is made of 4 sprites to a certain size with the tween behavior, and the shrinking part is perfectly fine except for the fact that the box doesn't connect to each other when shrinking and I don't know how to fix it.

    I have tried things like changing the tween to change the height to certain image points, making some walls a child to another, and making a distant physics joint, but nothing works.

    Also for the images, ignore everything except for the walls, which are the bright white rectangles (the faded ones show the original size).

    the code

    what it is doing (ignore the giant burrow of sand)

    what I want

    Thank you in advance!

    Tagged:

  • Oh right - if it helps, you might have to turn off "Show profiles for this display only" on the bottom of the Color tab. It should give you a long list of profiles to choose from.

    Ok I did it and it works for the most part (colors with brush tool are still somewhat off), Thank you for the help!

  • Hey TiredSundew5639 — I was the one who'd posted that bug report. If it helps, I found a way around it (but still hoping the bug gets fixed in OSX):

    I think it may relate to the colour profile; here's what I did to get things working:

    • In Chrome: visit chrome://flags/#force-color-profile and changed the options to "sRGB"

    • In OSX display preferences: change the colour profile on all monitors to "sRGB IEC61966-2.1"

    • Restart the laptop

    I don't know what you mean by OSX display preferences since I looked and I can't see anything that says sRGB IEC61966-2.1, but I appreciate the help anyway.

  • What operating system are you using?

    Recently there was an issue in our tracker that sounds very similar to what you are describing, it was only affecting OSX.

    You can see the report here

    If you are using OSX, you can try what is mentioned in the issue to see if it works for you. Unfortunately if that is the case, there isn't much we can do as it would be an OS level problem affecting C3.

    I believe that my school mac (the one I am using and where the bug occured), is a macOS Big Spur, so the problem is now also in OS I guess.