R0J0hound's Forum Posts

  • [quote:1w9nedc4]...and i will find if paster is available for construct 3.

    It isn't, I'll probably not be getting around to doing it myself. Also the c3 sdk doesn't support plugins that draw last I checked.

  • the Mnk

    I'm not really making examples as of late, but two ways come to mind:

    1.

    you could make a second paster and set that to the size you want, then position that over the part of the tilemap you want, paste the tilemap, then paste that paster to the other one.

    2.

    another idea is to utilize the draw quad actions. You define the four corners, and the uv's of them of the texture of some object. More math to figure out beforehand is needed for this, and it would only work if you can grab the tilemap's texture, I don't think you can though.

    Hopefully that can give some idea's. I haven't verified any of it so I may be off here and there.

  • It's just a flaw that non integer positions cause it to freeze. I really shouldn't make plugins since I have no intention to edit the plugin to fix it.

    The pixels at the edges that aren't filling are actually slightly different colors due to antialiasing and filtering. A threshold flood fill that is able to fill similar colors would work better. It's not terribly useful for me to mention it as the plugin doesn't have that feature and I won't be implimenting it.

  • Oh, right. I looked at your example and you need to make the x,y values of the flood fill integers:

    int(Mouse.X-Canvas.X)

  • The flood fill action doesn't work with transparent pixels. Rect fill it to a color first before drawing. I think that should work.

  • You can use one of the angle compare conditions of the system or sprite object. They handle how angles can wrap around. You could also use the anglediff() expression or if you want the signed angle difference between angles you'd just subtract the angles and normalize the result between -180 to 180.

    like this:

    diff = a-b

    while ( diff<-180) diff +=360

    while (diff>180) diff-=360

    or this:

    angle(0,0,cos(a-b),sin(a-b))

    • Post link icon

    Sounds odd. Why not get a refund and put all 99 into your PayPal? Sounds to me like you're planning on selling it multiple times.

  • The zeropad() expression is helpful here. Example:

    var=5.1

    text = int(var) &"."&zeropad(round((var%1)*100), 2)

    Could have issues with a number like 1.995 though. Another option is some plugin ( the forum has a listing in the plugin section that can be looked through) or using some javascript through the browser object's browser.execjs() expression. Example:

    set text to browser.execjs("parseFloat(Math.round("& var &" * 100) / 100).toFixed(2);")

  • justifun

    It only wiggles a tiny bit for me. Did you set the rest length to 0?

  • Bobbyneal100

    fixed links

  • justifun

    Use a spring joint instead of a pivot

  • fixed link

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • LaroTaio

    fixed link

  • Well I actually agree the way the behavior works is in want of a revamp. It should be made to not have this issue, and it is possible.