Howdy, Stranger!

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

Sign In Register

Something is incredibly wrong

Okay, so there are 9 GUI objects that control the ships movement.

When someone takes their finger off the object, it sends a message telling the ship to turn that direction back to 0.

However, the four corner panels send a message "Stop Both" to the ship, this way it doesn't continue to move diagonally when another panel is pressed.

So this the behaviors for the 3rd panel (Up/Right)
The other corner panels have pretty much the same thing except it tells the ship to go in 2 different directions. {"behavior":{"nodes":[{"x":630,"y":256,"name":"Message","targetClassId":2496852,"inputCount":1,"targetEntityId":0,"sendToLastContacted":false,"behaviorType":"logic.components.Message","outputCount":0,"sendToEntity":false,"msg":"Up","group":"","id":"1ad503e32566aa42"},{"behaviorType":"logic.logic.Switch","outputCount":1,"id":"1ad879b368a53142","y":160,"_startVal":0,"x":450,"name":"Switch","group":"","inputCount":3},{"x":630,"y":352,"name":"Message","targetClassId":2496852,"inputCount":1,"targetEntityId":0,"sendToLastContacted":false,"behaviorType":"logic.components.Message","outputCount":0,"sendToEntity":false,"msg":"Right","group":"","id":"1ad503e4ae53c54a"},{"behaviorType":"logic.triggers.Always","outputCount":1,"id":"1ad503e0fa71cf4e","y":160,"x":180,"name":"Always","group":"","inputCount":0},{"x":360,"y":384,"name":"Message","targetClassId":2496852,"inputCount":1,"targetEntityId":0,"sendToLastContacted":false,"behaviorType":"logic.components.Message","outputCount":0,"sendToEntity":false,"msg":"Stop Both","group":"","id":"1ad503e2393e064d"},{"behaviorType":"logic.triggers.MouseClick","outputCount":4,"id":"1ad503e1e442f345","y":256,"x":180,"name":"MouseClick","group":"","global":false,"inputCount":0}],"links":[{"input_id":"1ad503e32566aa42i0","output_id":"1ad879b368a53142o0"},{"input_id":"1ad879b368a53142i0","output_id":"1ad503e1e442f345o1"},{"input_id":"1ad879b368a53142i0","output_id":"1ad503e1e442f345o3"},{"input_id":"1ad879b368a53142i1","output_id":"1ad503e1e442f345o0"},{"input_id":"1ad879b368a53142i1","output_id":"1ad503e1e442f345o2"},{"input_id":"1ad879b368a53142i2","output_id":"1ad503e0fa71cf4eo0"},{"input_id":"1ad503e4ae53c54ai0","output_id":"1ad879b368a53142o0"},{"input_id":"1ad503e4ae53c54ai0","output_id":"1ad879b368a53142o0"},{"input_id":"1ad879b368a53142i2","output_id":"1ad503e0fa71cf4eo0"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o3"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o3"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o1"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o1"},{"input_id":"1ad879b368a53142i1","output_id":"1ad503e1e442f345o0"},{"input_id":"1ad879b368a53142i0","output_id":"1ad503e1e442f345o1"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o1"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o1"},{"input_id":"1ad879b368a53142i1","output_id":"1ad503e1e442f345o2"},{"input_id":"1ad879b368a53142i0","output_id":"1ad503e1e442f345o3"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o3"},{"input_id":"1ad503e2393e064di0","output_id":"1ad503e1e442f345o3"}],"v":"2"}}


  • Update: now it's only the first panel acting up. But I tried sending it to a relay and then the relay send it to the ship, but then that screwed all of them up. Fortunately I wasn't logged in
    My web Site, "the console" =

  • My web Site, "the console" =

  • Hey, I'll check this out - I've been working on the level delete function
  • @grazer thx
    My web Site, "the console" =

  • @grazer I've been working on the level delete function?! I'm waiting for 6 days to fix FF0000 bug and you was working on level deletion? Oh c'mon I WANT TO FINISH THAT GAME. When you are looking at this bug, cant you look at FF0000 bug too?
  • @olcayolcayolcay2 that won't help you
    My web Site, "the console" =

  • @olcayolcayolcay2 Flowlab doesn't revolve around you and there are lots of requests that have been pending... you have to wait, I've waited way longer for the collision bug :expressionless:
  • @Luminous700 - Sorry, I don't recall which collision bug you mean. I just checked through the bug category and nothing jumps out at me. The last bug you reported was the animation problem, but I thought that is fixed for now.

    What was the problem with collisions again?
  • @jngthree - which game is this problem showing up in? Can you post a link?
  • @grazer SB2ME, lemme get a link
    My web Site, "the console" =

  • @grazer you already fixed it, but it's been pending for more than 3 months before you did


    Also just found a bug, playing music will not stop when changing levels...
    My web Site, "the console" =

  • @Luminous700 sorry, but I'm gonna sell my computer. I dont have time
  • edited July 2017

    Apperently (unless the object loads something that that object has and only that object) Something that has saved a number once will not save something else again.

    Take a look at the ships cores, then look at what it registers after 2 games
    My web Site, "the console" =

  • @jngthree - did you post this comment in the correct thread? I didn't see any mention of saving when you described the messages issue.
  • @grazer ugh.. the forum is glitching or something... just pretend I posted it in the correct one
    My web Site, "the console" =

  • i dont got it
  • i wont to make an fighting game
  • if you can send me an vedeo how to do it
  • @grazer I'm seriously getting tired of the messaging and saving not working correctly, I'm ready to throw in the towel
    My web Site, "the console" =

  • edited July 2017
    Hey @jngthree - I checked out the game, and the messaging seems to be acting ok as far as I can tell. Just looking at the logic, it seems like it might be susceptible to timing issues with the stop and go messages getting processed during the same frame. I played it a few times (on the web) and it was moving as expected, is the web version giving you problems as well, or only mobile builds?

    Here is a suggestion - maybe you could try just sending the rotations direction from the ui buttons like this:

    Is there any reason why that approach wouldn't work here?
  • That isn't a bad idea, but I still want the ship to stop when the finger is released
    My web Site, "the console" =

  • Both builds
    My web Site, "the console" =

  • edited July 2017
    @grazer I did that rig you made! And it works!!

    Now, is there a way to where over/out
    Thing work for when someone drags their finger off one panel and onto another?

    Another thing: firing.

    Last time I was able to send messages to the gun object (the one that attaches to the player) but now it won't work.

    I'm basically taking a similar approach to movement though.

    So far I only have logic for the Right panel
    My web Site, "the console" =

  • edited July 2017
    @grazer I changed the setup, but it's not the logic. The mailbox isn't receiving it

    That or mouseclick UP isn't working right. I can't seem to get it
    My web Site, "the console" =

  • Can you describe exactly how I can reproduce the behavior you're seeing? What should I try to do, and what is the incorrect behavior I should be looking for?
  • @grazer there was a oopsie made on my part.

    But as far as the attachment problem:

    Object 1 attaches object 2
    Object 3 sends a message to the type object 2
    Object 2 does not receive message
    My web Site, "the console" =

  • edited July 2017
    @grazer an example of the saving not working: autofire never saves, so if you turn it on it doesn't save. Meaning it turns off when you change to a different level.

    Heck, it doesn't even record your score
    My web Site, "the console" =

  • Hey @jngthree - I made a couple of updates to the example here:

    It's not too much more complicated, but it works with dragging onto/off of the buttons as well now. I'll take another look at the saving and attachment messages this weekend to try and figure out what's going on there.
  • edited July 2017
    @grazer I thought over and out didn't work for mobile?

    Btw when I did the updated rig all it did was change the stop and change the ships direction.
    My web Site, "the console" =

Sign In or Register to comment.

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

Contact us

Get In Touch