Sushin's Recent Forum Activity

  • I would accept a "no it's not possible." >_>

  • I actually almost have it working. Thanks for that tip.

    puu.sh/2aQ4J

    As you can see though, the 9-patch does not rotate, and I can't set rotation for it. Is there any work around?

  • How would I go about that exactly?

  • I just discovered 9 patches and fell in love after I started implementing them into my physics game as objects, but quickly realized they don't really even do things like rotate or have real hitboxes.

    Is there any possible way I can make a sprite or tiled background look the same way as a 9patch object?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I apologize for asking what I would imagine to be a simple question, but I spent a good 20 minutes searching for the answer.

    It seems that there is an official way to make functions, but in the tutorials I found it doesn't actually show me how specifically, and as far as I can actually tell by fiddling around with event sheets, there isn't an actual way to make functions officially in C2. Is such a simple time saving ability not implemented into C2 or am I just looking in the wrong places?

  • I see. Thank you guys for your help.

  • Oh. It's supposed to be mass*(velocityx+velocityy).

    What is "abs" exactly?

  • Hi guys. What I'm trying to do is basically calculate damage with velocity and mass (IE, throwing a ball at someone does damage based on speed and weight)

    However, I quickly realized that the physics X and Y velocities can be either positive or negative while moving at fast speeds depending on direction.

    Here's what I'm using:

    Enemies.Health - ((MovableObjects.Physics.Mass * MovableObjects.Physics.VelocityX +MovableObjects.Physics.VelocityY) * 0.05)

    Basically, I just want a way to have one "speed" variable that isn't dependent on X and Y.

Sushin's avatar

Sushin

Member since 28 Feb, 2013

None one is following Sushin yet!

Connect with Sushin