AnD4D's Recent Forum Activity

  • Terribly sorry, I don't want to bump this, but can anyone please drop me a post to say whether it's possible at all?I know I could do this if I wasn't using the physics behaviour, but until I can turn behaviours on and off, there isn't much I can do about that.

    With impulse I was able to get the closest to what I'm aiming at, but it isn't working. I would have thought torque would be the way to go, but that isn't giving me what I want. Because I have the physics behaviour always on, when I position the objects in the correct location it treats it as movement, and spins the objects all over the place. That's why I tried to add in the "look at mouse" command.

    Please guys, even if it's an "It can't be done" reply, I'll be happy to move onto another method. It's just as far as I can tell, I have all the pieces, but the puzzle just wont come together.

  • I would have 3 variables (2 numbers that make up the question, and one for the answer). I would then have text boxes that display those variables, and have an event that performs the math problem. Var 3 = Var 1*Var 2.

    Would you like me to quickly put it together in Construct 2, or do you think I made some sense? Lol!

  • Hi All,

    made a bit of progress (The error appears to be it not recognising the objects origin point, so I replaced it with an image point and that worked. The problem I'm having now is that I'm trying to get the objects to always face a certain direction. See below:

    http://dl.dropbox.com/u/50465867/ConnectChar.capx

    I want the joints to connect correctly, but I want the object to follow the mouse cursor (In this instance, the arm). The only way I can get close to what I want is with the impulse event set to 100, but even then it's very wobbly. The rotate to position event just breaks the object apart. I can probably do what I want without physics, but I'd like the object to have rag doll on click.

    I'm hoping to get a simple "look at" command sorted out.

    Any ideas?

  • Hi all,

    trying to connect a character together with revolute joints, but I can't seem to get it working. I have put the image points at the locations I want to connect, and I'm telling the objects to move to the correct position, and then connect the objects to the points.

    Click here to CAPX

    Doesn't matter which order I do this in, the objects just seem to move around by either a central location, or get tied up.

    I seem to recall seeing a new option that allows you to disable physic collisions.

    I'm very tired atm, so sorry if it's difficult to understand what I'm talking about.

    Thanks in advance!

  • Do we have per pixel collision yet? That would be *drool*...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure how that would work... some of the items I need to control will be 'chained', attached or linked in some way to other objects. I would have to have an event setting the animation frame at start, wouldn't I?

    Suppose it could work... but again I'd have a lot of events which I'm trying to cut down on.

  • I see... families also doesn't work with physics.

    http://dl.dropbox.com/u/50465867/GravTest.capx

    I wanted to set it up so if an object touches another one, it would swap control to that one... but instead of the 'move forward' that is currently set up, it would use forces with physics.

    Am I going to have to wait a bit longer for the additional feature?

  • Thanks for replying smitchell!

    I'm talking about potentially hundreds of different objects. Is it possible to set it up this way? Will I have to set up events for every single item?

    If sprite1.boolean1 = true - activate control

    If sprite2.boolean1 = true - activate control

    etc,etc,etc

    Can families have variables? The option is there, but it's always inaccessible.

  • Thanks Yann, but that doesn't seem to work with families. If I have lots of different items all in the same family, I want to have the code:

    If family collide with family, toggle 'controlled'

    but it doesn't look like it works just yet. I would have thought I'd see all of the variables that appear within the sprites in the family.

  • Also, another quick question... how does families instance variables work? I can't seem to set any...

  • Hi guys!

    Just wondering if there's a way for an item to change families during runtime.

    Say for example I want a circle to move around the screen and bump into another circle... the player would then lose control of the first, and start controlling the second. I could do this with 1 or two, but say I want to be able to do this with hundreds of circles. I would have a code that reads:

    If family.control touches family.noControl then change family.control to family.noControl and change family.noControl to family.control.

    Hmm... confused myself there. In any case. Anybody got an idea on whether this is possible, and if so, care to share how?

    I can figure out how to have the objects take control of one another like a zombie mode (touch gives player control over additional objects until you're controlling all 100), but I do not know how to have it so you only control 1 at a time.

  • Wish we had this feature... but I don't think we do yet.

    I'd like it if we could have physics objects with a certain var only effect others with the same type...

AnD4D's avatar

AnD4D

Member since 4 Nov, 2011

Twitter
AnD4D has 3 followers

Connect with AnD4D

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies