frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Filter is broken!!!!

@grazer @JR 01
https://flowlab.io/game/view/1107855

Whenever I do a random and then into a filter it will output both filters!

go to the game level and the power up object and where it has a random for the changing position.

Comments

  • All your filters do that because your using more then 1 of the same objects (clones).
    You can see all the outputs of all the clones, only 1 of those outputs goes to the object your looking at.
  • So how do i fix it
  • There should be nothing wrong with it if this is the case, it's just how flowlab is.
    The object seems to work fine in game.
  • @JR 01 it won't work like its supposed to though
  • edited April 19
    @Johnny boy how is it suppose to work?
    The objects position change looks like it works fine.
  • @JR 01 its supposed to be on random for the different power ups
    and supposed to be on random between -2 and 2

    But none of it works!!!
  • @Johnny boy
    It is outputting between -2 and 2...
    can you be a little more specific?
  • If it is what I think i is, it's just how flowlab works.
    If you have 2 cloned objects (or copies), you will see everything both objects are doing.
    If you deleted all the clones and you just have 1, you'll only see the output from that object.

    Another way to test this is having 2 (off) switch's and setting one output to on and one switch and setting the other output to on in the other switch. If you have an object using one output and the clone is using the other output, you'll see the filter output both but only one switch will turn on.
  • There is another problem looking into this though.
    Because the game never restarts, the power-ups keep changing position and can go off-screen.
    Make sure the position of the power-ups are reset to the original location when you die.
  • @JR 01 do you know a way to fix it ?
  • Use the extractor to set a number, us "in" on the number to the X and Y of position when you die.
  • I’m talking about the cloned object thing
    @JR 01
  • You can't fix that, that's what its suppose to do
  • @JR 01 yeah but it won’t work
  • It seems to work fine...
    how is it not working?
  • edited April 20
    The power ups go off when it’s supposes to be a different power up @JR 01

    Edit: nevermind I fixed it but the random is not that random it chooses the same power up half the time!
  • I thought you said it was the random of -2 and 2...
    anyway, that problem seems more to be the messages instead of the random.
    All the power-ups are sending a number to the player at the same time which may not be what the power-up for the first one.

    You need to make a way to either send the number only of the power-up coming up
    or make a new way to keep each power-ups number.
  • I’ll try @JR 01 to make different way, if you have a idea please tell me.
    Thanks,
  • You could send this y to the player and filter them to the player y.

    Each power-up would need a number the be set to go into the in on the switches and an always into the number.

    Use the player y to turn on and off switches after with the filters. This could change the power-up even if you didn't collect the power-up.
  • @JR 01 can you send a picture?
  • I found a better solution,
    In the player, you know how the pass on the filters turn the switch on?
    Use the fail on the filter to turn the switch off.
    This way you wont have multiple power-ups going off.

    If your asking if there is a way to make the random more random, I suggest using a bigger number (preferred to be even of the multiple of 3).
    Such as 9, us a filter less than 4 for one, use 2 filters with greater than 3 and the other is less than 6, and use greater than 6 for the last filter. This way the number is random between 1 - 9 with 1 - 3 to the first power-up, 4 - 6 to the second, and 7 - 9 for the last power-up.
    More numbers = More random numbers generated

  • edited April 21
    Thank You again! @JR 01
    I might need more help soon :)
    Check the credits in my game you might be in it :)
  • edited April 21
    @JR 01 Bomb won't work now!
    if you play and get the lazar it doesn't work wfi
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch