demo for image autoscroll after drag

hi there,

i have a image group that i just drag by x coordinats. I would like that when i release my touch, the
image keeps scrolling depending on my velocity and a specific friction, like the TableView, till velocity is nearly 0 or a defined max/min x value.

I looked in the TableView and tried to take it as example, i just don’t get it :slight_smile:

so should anyone would have a simple example how i could realize that would be great.

I don’t expect anyone of you does make this effort, but would be great /:@

chris

[import]uid: 4795 topic_id: 15205 reply_id: 315205[/import]

Hey chris,

Have you looked at the scrollView sample code, in the CoronaSDK folder? (It’s in" Interface".)

Peach :slight_smile: [import]uid: 52491 topic_id: 15205 reply_id: 56258[/import]

wohhh, great thanks for letting me know about that :slight_smile:

with some luck i may just have to change all Y values to X values for my horizontal scroll :slight_smile:

[import]uid: 4795 topic_id: 15205 reply_id: 56266[/import]

I’m sure you’ll do fine :slight_smile:

When I first started out, my first game needed a scrolling background, from bottom to top. I use the jungle scene sample code (left to right) to learn how to do it.

Good times! [import]uid: 52491 topic_id: 15205 reply_id: 56361[/import]

yes… me to for parallax scrolling i used the jungle source and got it fine.

but now for a horizontal scroller with a velocity effect, i tried the scrollview sample, but did not came so lucky now (just by changing the y with x values. looks it needs more time to figure out.

if someone (you) may have some demo for horizontal scrolling that use the velocity effect… would be great.

anyhow i would have to fine-tune later, as I do not read the whole image at once.
Its output data from my calendar i paint as chart in a view group and till now i always load it pieces by pieces while scrolling (without that cool after scroll after) through it.

will see :0

cheers
chris

btw. any news for that:

  • native email support (sending email in the background … not openurl(mailto)?
  • speeding up the newText API (as it incredible slow)!?
  • speeding up the SqLite create new row API (same like above… too slow:)!? [import]uid: 4795 topic_id: 15205 reply_id: 56399[/import]

:smiley: Hola buen dia necesito hacer un scrollview incrustandole informacion de de un campo de mi base de datos sqlite

:smiley: Hola buen dia necesito hacer un scrollview incrustandole informacion de de un campo de mi base de datos sqlite