JKID's Forum Posts

  • lunarray

    Hi sorry I think I was over complicating things.

    What I am wondering is if it's possible to achieve an accordion effect by tweening just the bottom edge.

    jQuery example.

    jqueryui.com/accordion

    Thanks,

    JKID.

  • Spriter is one of the best pieces of software I think I have ever seen !

    Brilliant !

    JKID.

    EDIT: Spriter Pro Early Adopter Licence (1 purchased) YAY !

    Everyone should have a copy of this !!!

    Great work guy's looking forward to v1. <img src="smileys/smiley4.gif" border="0" align="middle" />

  • lunarray

    Is this possible ?

    Clamp: left,right,top,bottom

    To be able to tween just the desired edges of a sprite.

    JKID.

  • lunarray

    Yes ! <img src="smileys/smiley1.gif" border="0" align="middle" />

    That's a much nicer way of doing it.

    Thank you for this it's just right now I think.

    I will report back if I find anything else but as from this test everything is working as expected here.

    Also have you abandoned the value parameter, I was wondering how that might be used ?.

    JKID.

  • lunarray

    Hi,

    Opacity working as expected now but reverse from current on width parameter is not returning to current on quick mouse in out.

    JKID.

  • lunarray

    Great, working as expected now.

    There is a slight bug however, not sure if it's browser related but if you quickly hover in out of sprite the opacity value sometimes will only reverse to 50% of the initial value, it's like the initial value is getting reset at mouse out . It seems to be stable for everything else like height/width etc.

    I will have a bit more time to test things in the next few evenings so will report back if I find anything else. Thank's again for this.

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

    On another note I was wondering how easy it is to port existing javascript to a plugin. I have been looking at this for reflections.

    cow.neondragon.net/stuff/reflection

  • lunarray

    I have tried out the opacity fix.

    Not sure if I am doing something wrong, I have target set to 20 and am using current value of 100. I think the tween is possibly working backwards in the case of opacity.

    JKID.

  • Thanks newt

    36 would be enough for 360 changing the frame every 10 I guess although in the case of a pot it would go from -145 to 145 degrees.

    It would be 29 frames I think.

    How would one go about setting this up ?

    I suppose you could increment the frames on a percent basis ?

    I am wondering if this might be a good behavior preset.

    JKID.

  • newt

    Yes your are right, however using Knobman allows for lighting effects etc so that's the reason I would like to get this working rather than rotating a single object.

    I suppose it would be possible to link rotation min/max to animation frames to achieve this ?

    That must be what your implying no ?

    Thanks for your help newt.

    JKID.

  • lunarray

    Opacity seems to be broken here.

    Also strange behavior when using two litetween on the same sprite.

    Other than that reverse from current is working great

    JKID. <img src="smileys/smiley1.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
  • Hi all,

    Is it possible to have a draggable rotary control ?

    I have been using this to generate sprite sheet for animation.

    g200kg.com/en/software/knobman.html

    This would be great for all kinds of healthbars/controls etc.

    I am wondering if I can link the mouse x +/- to the animation frames and alter a parameter such as opacity.

    It would presumably have to work with on clicked and drag up/down.

    Any help would be greatly appreciated.

    JKID.

  • lunarray

    So far works perfectly, I will continue testing this evening and report back.

    Thank you.

    JKID. :)

  • lunarray

    Yes that's the ticket thanks.

    Is it possible for the tween to reverse at the exact point the mouse leaves, it seems to jump/glitch if the mouse out is too soon.

    Cheers,

    JKID.

    Edit.

    I have managed to get this working using force reverse, however would it be possible to have a 'force reverse to initial' so that the reverse goes to the first value i.e the start. The problem is that when the mouse leaves the tween goes beyond the first value.

    Thanks,

    JKID.

  • So your saying if I map a sprite to x,y on a mouse it will behave differently ? surely the default mouse over should be the same ? at work will check later thanks for the reply btw. I really only wanted a mouse off to reverse a tween.

    JKID

  • Hi,

    I am trying to use EaseTween with 'mouse cursor is over object' to create a tween where the sprite scales up when mouse is over and scales down when the mouse is not over object.

    Can someone post a capx with an example, I have been trying various ways but can't seem to figure it out.

    Im not sure if this can be done with one tween using reverse or maybe requires two tweens.

    Thanks very much.

    JKID.