Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Smooth scrolling / panning

  • #20, by ke4 12 years ago Zitieren
    You can create a new cursor, which is same looking but doesn't have active image and change to this cursor on hover.
  • #21, by AkcayKaraazmak 12 years ago Zitieren
    But then how can I use the main cursor in scene?
  • #22, by ke4 12 years ago Zitieren
    You just change the cursor back to the main if your mouse left the area, and put this object to the bottom, under the other objects. But, then the panning wont work if you hover some object which is on the edge of the screen.
  • #23, by AkcayKaraazmak 12 years ago Zitieren
    Hmmm I gonna check it mate, but I think it should work how you said.
  • #24, by SDMono 12 years ago Zitieren
    @Akçay Karaazmak: You are welcome... happy it helped. smile

    There has to be another solution for the mouse scroll option. I will try a few things during the day. If I find something I let you know.
  • #25, by SDMono 12 years ago Zitieren
    Ok no luck so far. I have no idea if it's possible to kill the tween ones it's done scrolling. I believe because it keeps on working even after it's done scolling it's messing with the mouse scroll. confuse
  • #26, by afrlme 12 years ago Zitieren
    startObjectTween should unregister after the delay value has ended. I haven't gotten round to checking out the .ved you uploaded yet, so I have no idea what it is you are doing...

    I don't think need to create a scene object to do mouse scrolling. With lua I believe you could just get current scroll position & then check the current mouse position against 4 values based on game resolution value.

    I can more or less think of how it could be scripted but I'm a bit busy at the minute... wink
  • #27, by SDMono 12 years ago Zitieren
    Ok, Lee... please check it out if you have a min. because I am not able to get behind it and it's driving me insane!!! hehehe