Let's say I would like to create a sprite which will contain
only 1 bitmap but I want this image to move (looping) down & up all the time.
The way it seems that it can be done right now (and correct me if I am wrong) is to create a sprite which will contain many (if I want very smooth scrolling) frames
FRAME {
DELAY = 0
KEYFRAME=FALSE
IMAGE = "scenes\example\example.bmp"
HOTSPOT {x, y}
3D_ONLY=TRUE
EDITOR_SELECTED=TRUE
APPLY_EVENT="scrolling"
}
and every frame should have different coordinates (Hotspot).
That method is rather slow.
What I am thinking is something like:
FRAME {
DELAY = 0
KEYFRAME=FALSE
IMAGE = "scenes\example\example.bmp"
HOTSPOT_01 {x1, y1}
HOTSPOT_02 {x2, y2}
HOTSPOT_03 {x3, y3}
....etc.....
HOTSPOT_FRAMESPERSEC = 15 (defines frames/sec for the animation)
HOTSPOT_SCROLLING = TRUE (enables or dissables all hotspots except 01)
HOTSPOT_01_TO_02 = 4 (from 01 to 02 takes 4 seconds)
HOTSPOT_02_TO_03 = 5
.....etc....
3D_ONLY=TRUE
EDITOR_SELECTED=TRUE
APPLY_EVENT="scrolling"
}
This will be very usefull for scrolling clouds (for example), even to create complicated falling letters & numbers like in matrix!