Scrolling Image Sliders

Blitz3D Forums/Blitz3D Programming/Scrolling Image Sliders

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

you should do something like:

the screen width is 600
the image width is say 850

diffrence=850-600
ratio# = diffrence# / 600.0

scroll_x# is the location of the slider

drawblock image, -(scroll_x# * ratio#), 0