cs2curious's Forum Posts

  • http://postimg.org/image/4tfj68lo5/

    I'm spawning "blue" blue is spawning a weapon, and weapon is creating joint to blue.

    When blue is ''falling'' i spawn a falling object to attach to so blue cannot get back in when out in falling area. ( this is a top down game, not using platform behavior)

    "Weapon" then stops following blues movement, ie the joint is broken.

    Blue is spawning both objects on different image points.

  • i dont get the problem, if you want groups just use a for{} statement, say for - number, and it will do that that many times.

  • Well, I know arrays in flash, it's much easier.

    Thanks I will try that example.

  • Any tuts on using arrays? I can see you can put data in them at x.y:value.

    but if i want to set a variable from a certain slot in the array how do I do that?

    i can see there is at, and X y, but I don't know what to type if I want to get data from a certain slot in the array, and maybe apply it to a variable.

  • EDIT: UPDATE:

    took off pin, that is not the problem. But I am spawning another object, could spawning the object at the same point break the joint?

  • No its spawning the object, and pinning, and the object I distance or revolute jointed to the sprite previously, then breaks off after I pin the new object.

  • I have a character, and I am spawning an object, and creating a joint to the character.

    But now when I pin the character to something, or pin something to the character the joint breaks off =/

    What gives?

    I am disabling all collisions so nothing interferes, but it still breaks the objects joint so it is no longer connected =/

  • for some reason on this certain line of code when I untoggle the code, I can't retoggle, and enable it, does this happen to anyone else?

  • Weird problems arise when I restart the layout, my sprites and objects all cluster and go flying to one side, obviously it is not restarting the layout properly.

  • If I have a weapon or item attached to a character/sprite and the sprite gets destroyed how do I destroy the item?

    Picking nearest seems to cause problems, and if hitting object or overlapping object wont work because it could be overlapping another sprites item who isn't destroyed.

    You see my conundrum?

    What method do you guys use?

  • How do I detect mass and velocity of object in a numerical value?

  • Just with limited revolution joints. How else would I do it?

  • And another thing, I can't add something to a family and take it out of a family with code? these things are permanent? what if I want something to switch factions or something. just stupid, STUPID, the way this is made >_<

  • K, now construct is just being stupid.

    I can't compare a variable to a variable in a family, when I type in condition object variable = to family variable, it says the variable doesn't exist, because I didn't type in for the family a specific variable.

    but the sprite in the family has the variable.

    NOW, when I go to type the same variable name in the family it says '' sprite in this family already has this variable'''

    WELL WHICH IS IT?! why can't I just compare a variable to a variable in the family? if a sprite is in the family and i compare a variable to the family why doesn't that just work? and if not why won't it let me type the variable in the family if it says it is already in use?

    GRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR

    Devs you DORKS, why did you over complicate this? How did you mess up comparing variables? This isn't that complicated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Asked this earlier, either got deleted, or I didn't click submit? am I that MR?

    How can I get my rag doll to shift back to his default position gradually, like a comfort zone? NOT snap back, and I can't use set rotation towards angle because his position will be different.

    That make any sense?