R0J0hound's Recent Forum Activity

  • Hey I worked on it a bit more but didn't post the results before I left the house.

    My equation was a tad off. Ex 0.5*sin(angle)^2 needs to be (0.5*sin(angle)^2.

    Other than that the sprite's angle needs to be corrected to eliminate the bounce.

    Set angle to angle(0,0,cos(ang),0.5*sin(ang))

    The only caveat is the Sprite won't be pointing at the mouse anymore. I was working on the math to just find the intersection between the ellipse and the line to the mouse but I didn't finish.

    If you want indavidual X y scaling of layers just use the paster object. It doesn't need webgl.

  • Hmm... You're right.

    If you just set the width to 200*sqrt(0.5*sin(Self.Angle)^2+cos(self.angle)^2) and leave the height alone it works.

    200*cos(self.angle) is the horizontal

    0.5*200*sin(self.angle) is half the vertical

    That makes a right triangle and the last side is what we want the width to be. We can then find it with the Pythagorean theorem:

    a^2+b^2=c^2

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have to use the paster object to do skew

  • An ellipse orbit could look like this:

    X= 100*cos(t)+centerx

    Y= 50*sin(t)+centery

    And actually scaling with angle would be similar

    Width=32*abs(cos(angle))+32

    Height=16*abs(sin(angle))+16

    Edit:

    Looking at your picture it may need to be drawn skewed as just setting the width/height may not cut it.

    You could use the paster object for that. 1st paste everything to the paster in a normal circle, then set the paster height to half.

  • The particle object is a good start.

    Changing it's texture to a cloudy shape would help with the misty look.

    It also looks to have motion blur so you may be able use a directional blur effect to achieve that.

    Another idea could to have a texture that looks like part of the stream of water. Then to give it some rotation use sprites with the bullet behavior instead of particles.

  • Ocam works for me on windows vista. There were others that worked when i tried previously, like obs.

  • totoyan

    The goal is always to first create the effect, and this serves are a good example. Sure you can modify it to reuse the same 100 objects or only running the events when you need to, but that wasn't relevant to the example.

  • Prominent

    Sorry, I haven't had a chance to look into it yet. It's probably one of many edge cases I haven't handled.

    Badmiracle

    When using the apply impulse action the first vector is the impulse and the the second is the offset from the center of mass. Leave the second one to 0,0 and it souldn't add rotation.

    X3M

    Those expressions only give values under the pre/post collide triggers or under the "for each collision pair" condition.

  • I hear good things about the "move to" behavior.

  • They can be anywhere, it doesn't affect performance at all. In other programming language the same applies, but generally the function is defined before it is used. In some languages it doesn't have to though, the compiler can find the function fine even if it's put below the place it's called.

  • The search terms to use are "color profile" or "color management" or "icc". It's something to have images display consistency across monitors, it's managed by windows with it's program "color management".

    Anyway searching the above term with "chrome" give loads of relevant pages. Here's two:

    http://www.dpreview.com/forums/thread/3738355

    http://www.marcelpatek.com/blog/2011/11 ... le-chrome/

    Anyways the color changes due to a color profile, I don't know if one is using it or not though.

  • I can't open the capx right now but maybe it's because you use int() instead of float() so the result is being rounded?