Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image unroller
#1
A simple little image unroller that does an image reveal like a scroll being unrolled. Someone posted an example in a facebook group in their dialect of basic asking if other forms of basic could handle it. So I whipped this up. 

Code: (Select All)
' Picture unroller
img& = _LoadImage("hexmap0001.jpg", 32) 'your image here
w = _Width(img&)
h = _Height(img&)
sc& = _NewImage(w, h, 32)
Screen sc&
Cls: s = 3
For yc = 0 To h Step s:
    _Limit 30
    _PutImage (0, 0), img&, sc&, (0, 0)-(w, yc)
    _PutImage (0, yc - 6)-(w, yc + 6), img&, sc&, (0, yc)-(w, yc + 3)
Next yc
Reply
#2
The image I used. Looks cooler with a map of some sort.

[Image: Hexmap0001.jpg]
Reply
#3
Nice !
Would be also interesting with a continuous horizontal move ???
Why not yes ?
Reply
#4
Kinda like a tapestry unrolling?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  NEW IMAGE CONVERTOR FOR THE COMMANDER X16 Platform ahenry3068 0 238 11-30-2025, 02:08 PM
Last Post: ahenry3068
Photo symmetric craziness out of one image hsiangch_ong 1 299 11-07-2025, 09:35 PM
Last Post: bplus
  A little demo for camera and zoomer on image TempodiBasic 4 1,007 03-16-2025, 12:01 PM
Last Post: TempodiBasic
  pan around a large image for video creation hsiangch_ong 0 505 01-09-2025, 01:32 AM
Last Post: hsiangch_ong
  ImagePop - puts image on screen with a little popup effect Dav 2 1,020 05-29-2024, 03:45 PM
Last Post: Dav

Forum Jump:


Users browsing this thread: