Nthepanda's Recent Forum Activity

  • I think I understand your problem. My first suggestion is to instead of positioning the objects yourself, look at the values of the object in the properties bar and make sure the Y values of both of them are the same. This will not work if their image points are in different places or if they are different widths, but just do a little math to make sure they are precisely lined up pixel to pixel.

    To prevent this from happening in the future enable grid lines and grid snapping in the layout options.

  • I have run into similar issues with other complex movement behaviors and the simple answer is to just add the Custom Movement behavior and use the action Push Out Solid. Note: if the parameter "Opposite Angle" does not work, try "Nearest", and then try the action Push out Solid at Angle.

    One of those should work!

  • Oh my goodness this is what I have been saying construct 3 needs for so long!

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What event does this? I see events for "Request Room List" and "Request Game Instance List" but nothing of the sort "Request Peer List"

  • Sorry about the enter key syntax. I did not know it would wrap like that

    Like

    That

  • Hi!

    I was trying to make a mass multiplayer game, a game with no limits on player count.

    There is no object sync, it just sends a X and Y message to all players and then they spawn an object at that position. I have done this in a two player game before, and I

    was very succsesful. I used the tween behavior to make the motion appear smooth. But in

    that game, if you got a message, the only other player it could be from is the one you

    were in a room with becuase it was capped at 2 players. I figured in my new game, I can just have a object named OtherPlayer with a instance variable tracking who was in

    control of it. But I need it to constantly create and destroy these players when they

    leave and join. I thought, I will just have a array track the current players, and then

    I could use that. So I used the eye sore of a condition:

    Array.IndexOf(Multiplayer.PeerAliasAt(loopindex("PeerCheck"))) = -1

    Than

    Push Multiplayer.PeerAliasAt(loopindex("PeerCheck")) on the X axis

    But the Array.IndexOf() function differentiates between each peer that uses it.

    Please help!

  • Oooh! Thank you! So I would use the Parse action, but the manual said that I should request a project file with AJAX and then put that into the Parse action. How do you add a JSON file as a project file?

  • I spent a lot of time designing a array on a different website (Because I don't own Array Editor) and exported it as JSON. I don't know what is wrong because there SHOUD NOT be multiple types of JSON and it is still not working.

    Here is the exported JSON:

    "[ { "Mom": "Dad", "Store": "Market", "Coffee": "Powerup", "Shovel": "Cow", "Jumped over": "Went around", "Robber": "Bad Guy", "": "" }, { "Mom": "Grampa", "Store": "Truck", "Coffee": "Panda", "Shovel": "Wall", "Jumped over": "Licked", "Robber": "Hot Glue", "": "" }, { "Mom": "Springy", "Store": "Beach", "Coffee": "Pet", "Shovel": "Turtle", "Jumped over": "Forgot about", "Robber": "Cute Squirrel", "": "" }, { "Mom": "Jam Pam", "Store": "Spa", "Coffee": "Toilet", "Shovel": "Mountian", "Jumped over": "Gave a Donut to", "Robber": "Big Bug", "": "" }, { "Mom": "Da Boy", "Store": "Dunkin Donuts", "Coffee": "Money", "Shovel": "Big Boy", "Jumped over": "Smashed", "Robber": "Evil Chipmunk", "": "" }, { "Mom": "Mr.", "Store": "Wendys", "Coffee": "Happiness", "Shovel": "Car", "Jumped over": "Tattle Tailed on", "Robber": "Santa", "": "" }, { "Mom": "Mrs.", "Store": "Da Bank", "Coffee": "Bacon", "Shovel": "TV", "Jumped over": "Ate", "Robber": "Fortnight Boy ", "": "" }, { "Mom": "Boing", "Store": "Starbucks", "Coffee": "Milk", "Shovel": "Traffic Jam", "Jumped over": "Threw", "Robber": "Police", "": "" }, { "Mom": "Bob", "Store": "Factory", "Coffee": "Friend", "Shovel": "Cliff", "Jumped over": "Bounced over", "Robber": "Ghost", "": "" } ]"

    (Just remembered the weird content! This is for a AI generator that will generate funny stories.)

    Of course, If you are here to tell me that I just have to remove all the (")s I already spent a bunch more time on that and it uploaded fine...

    Until I test it and try to print coordinate 1,1 and it prints 0...

    Please help me.

Nthepanda's avatar

Nthepanda

Member since 19 Jun, 2022

Twitter
Nthepanda has 1 followers

Trophy Case

  • 2-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

4/44
How to earn trophies