tnindie's Recent Forum Activity

  • From my little experience with phisics its realy hard to do entierly with phisics.

    so i sugest you use animation insted of physics or a mix of both

    for insted if you push "space bar" animate "attack-1"

    also have a look at the platform behivour tutorial the part of the animation

  • could you explain more for exemple use picture to explain what you want to achieve

  • LittleStain

    sprite set x - object.imagepointx(11)

    sprite set y - object.imagepointy(11)

    thank you LittleStain for your reply <img src="smileys/smiley1.gif" border="0" align="middle" />

    it does not solve my problem i wonder if you did see the picture or not

    let me explain more.

    i have

    Sprite1 with " origin,image point1"

    Sprite2 with " origin,image point11"

    i want to place Sprite2 from "image point 11" on "image point1" of Sprite1.

    Your solution result like this: Sprite2   "image point 11" on "origin" of Sprite1.       

    sorry but i can not post image to explain more

  • hello <img src="smileys/smiley2.gif" border="0" align="middle" />

    i want to postion a sprite on onther object image point.

    <img src="http://oi40.tinypic.com/505rua.jpg" border="0" />

    For exmple i want to postion image point11 on image point 1

  • hello mike

    thank you for the behaviours

    Could you please add a prismatic joint to your behaviours or help me or guide me to create a prismatic joint behavoiurs my own to use along with yours.

    plz reply as soon as possible <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hello i want to make a side way car game but i am struggling with the suspension i want the physics behaviours to feel like the second example at the link below

    <font color=red>emanueleferonato DOT com/2009/04/06/two-ways-to-make-box2d-cars/</font>

    i downlanded some example and behaviors in tutorial section but no luck until i find out that i need a prismatic joint so i tried to ("hack") the official physics behaviours by adding this code i just figured out:

              var B2PrismaticJointDef = function( bA , bB , anchorA , anchorB , axis) {//me
    [code]
                  ?this.type = B2Joint.e_revoluteJoint ;
                  ?this.localAnchorA = new B2Vec2() ;
                  ?this.localAnchorB = new B2Vec2() ;
                  ?this.localAxisA   = new B2Vec2();//me
                  ?this.userData = null ;
                  ?if( bA !== undefined ){this.bodyA = bA ;}
    
                  ?if( bB !== undefined ){this.bodyB = bB ;}
    
                  ?if( anchorA !== undefined){this.localAnchorA.SetV(anchorA) ;}
    
                  ?if( anchorB !== undefined){this.localAnchorB.SetV(anchorB) ;}
    
                 if( axis !== undefined ){this.localAxisA.SetV(axis) ;}//me
    
                  ?
                  ?//me
    
                  ?this.enableLimit=false;
    
                  ?this.enableMotor=false;
    
                  ?this.lowerTranslation=0.0;
    
                  ?this.maxMotorForce=0.0;
    
                  ?this.motorSpeed=0.0;
    
                  ?this.referenceAngle=0.0;
    
                  ?this.upperTranslation=0.0;
    
                  ?//me
              };
    
              B2RevoluteJointDef.prototype.Initialize = function (bA, bB, anchor,axis) {
    
                  ?this.bodyA = bA;
    
                  ?this.bodyB = bB;
    
                  ?this.localAnchorA = this.bodyA.GetLocalPoint(anchor);
    
                  ?this.localAnchorB = this.bodyB.GetLocalPoint(anchor);
    
                  ?this.referenceAngle = this.bodyB.GetAngle() -this.bodyA.GetAngle();
    
                  this.localAxisA = this.bodyA.GetLocalAxis(axis);
              };
    
         Box2D.Dynamics.Joints.b2PrismaticJointDef = b2PrismaticJointDef ;
    

    in runtime.js

    "still also need to add some code to the edit.js"

    <img src="smileys/smiley18.gif" border="0" align="middle" />

    WEL it didnt work <img src="smileys/smiley19.gif" border="0" align="middle" /> what am i doing wrong please help me evry one<img src="smileys/smiley9.gif" border="0" align="middle" />

    ps:excuse my english and thank you in advance

  • hi thanks Blacksmith for the reply

    any exemple please <img src="smileys/smiley1.gif" border="0" align="middle" />

  • hello every body i am a little bit confused i want to ask if i make a game

    for mobile devices in C2 and used phone gap or ludei or intelxdk the app

    wich will be created need internet to run.

    ex: i am in the bus and i want to play the game in my ipodtouch and there is no internet does it run?

    <img src="smileys/smiley5.gif" border="0" align="middle" />

tnindie's avatar

tnindie

Member since 23 Aug, 2013

None one is following tnindie yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies