R0J0hound's Recent Forum Activity

  • spongehammer

    Segments are basically lines with rounded ends, which are useful for level design.

    In the picture the black is the collision shape. A negative radius insets inside the sprite. When segments are put together the rounded ends eliminate gaps that you'd get with boxes.

  • FileChooser.fileUrlAt(0) is just a file name. You need the contents of the file which you can get with Ajax.

    https://www.scirra.com/manual/182/file-chooser

  • locohost

    According to the change log "pick by uid" works with a single look up since r127

    [quote:37ts1v7b]The condition 'Pick by UID' has been reimplemented to work with a single lookup, rather than iterating every instance. This should make it faster, but it also is now the one condition that is the exception to the rule about picking newly created objects in subevents, i.e. you can call a function on a newly created object, passing its UID, and successfully pick the instance, which did not previously work.

    https://www.scirra.com/construct2/releases/r127

  • -90 is correct, since -90 is up. The issue is when the bullet behavior has a speed of zero, then setting the angle of motion has no effect, it will always become 0 (right). The solution is to set the speed first, then the angle of motion.

    The reason behind this is the bullet behavior stores velocity in two variables: vx and vy, the first being for horizontal velocity and the other for vertical. When the speed is zero then:

    vx=0

    vy=0

    The angle of motion is set by first calculating the current speed with the Pythagorean theorem: speed=sqrt(vx^2+vy^2)

    next the new velocity is set in the angle you want:

    vx = speed*cos(angle)

    vy = speed*sin(angle)

    But since the speed is zero vx and vy will become zero.

  • To position objects the math in the shader is reversed, and it comes out kind of complicated.

    Change the m7x and m7y variables of the obj sprites to change their locations.

  • spongehammer

    It is, concave polygons need to converted to multiple convex polygons to work. That being said It should be possible to do this inside the behavior with no difference to the user. The problem is it's a more complicated feature to implement, but it is on my todo list.

  • You do not have permission to view this post

  • It would be very useful to be able to call the update function of the pin behavior from anywhere and as many times as needed. I've gone the event way before because I needed to do that. So +1 to this request.

    Also it is dead simple to add such an action to the behavior, but it's always better if the modification is official.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you sir. Still 4 more hours to go till 2015 here. So the last of 2014 for me.

  • Kyatric

    It's ready to go. It's pretty much complete with everything in working order. At this point Changes will mainly be bug fixes, and currently there are no bugs that I know of.

  • Kyatric

    Good sir,

    Would it be possible to add this "Chipmunk physics" behavior to the list?

    Thanks

  • Happy new year!

    Edit: in other news I seem to have just turned 0 years old.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 157 followers

Connect with R0J0hound