this is the best i have managed so far but i hate the way it works, it's not as smooth as i'd like and one i get the cursor to the end of the 3 slots you have to HOLD right or left just to make it move to the next icon
Here is the code, and i'm hoping the other media is attached as a rar file... that is IF anyone wants to look at it
load bitmap "C:\Users\Desktop\New folder\red.png",1
get image 1,0,0,88,88 : delete bitmap 1
load bitmap "C:\Users\Desktop\New folder\Orange.png",2
get image 2,0,0,88,88 : delete bitmap 2
load bitmap "C:\Users\Desktop\New folder\Yellow.png",3
get image 3,0,0,88,88 : delete bitmap 3
load bitmap "C:\Users\Desktop\New folder\Green.png",4
get image 4,0,0,88,88 : delete bitmap 4
load bitmap "C:\Users\Desktop\New folder\Blue.png",5
get image 5,0,0,88,88 : delete bitmap 5
load bitmap "C:\Users\Desktop\New folder\Purple.png",6
get image 6,0,0,88,88 : delete bitmap 6
load bitmap "C:\Users\Desktop\New folder\White.png",7
get image 7,0,0,88,88 : delete bitmap 7
load bitmap "C:\Users\Desktop\New folder\Black.png",8
get image 8,0,0,88,88 : delete bitmap 8
load bitmap "C:\Users\Desktop\New folder\inv2.bmp",9
get image 9,0,0,828,94 : delete bitmap 9
sprite 9,-39,117,9
set sprite priority 9,2
set image colorkey 255,0,255
load bitmap "C:\Users\Desktop\New folder\Select.png",10
get image 10,0,0,88,88 : delete bitmap 10
Global rx=240
global rxs=240
Global ItemOffset=0
Sprites()
do
if rightkey()=1 and ButtonTimer=0 then rx=rx+91 : ButtonTimer=200
if leftkey()=1 and ButtonTimer=0 then rx=rx-91 : ButtonTimer=200
If ButtonTimer > 0 then dec ButtonTimer
if rx=>422 then rx=422
if rx=>422 and (rightkey()=1 and ButtonTimer=0) then rxs=rxs-91 : ButtonTimer=200
if rxs=<-215 then rxs=-215
if rx=<240 then rx=240
if rx=<240 and (leftkey()=1 and ButtonTimer=0) then rxs=rxs+91 : ButtonTimer=200
if rxs=>240 then rxs=240
Sprites()
sprite 10,rx,120,10 : set sprite priority 10,3
set cursor 0,0
print "sprite x";rx
print "RXS ";rxs
print "Timer";ButtonTimer
loop
function Sprites()
sprite 1,rxs,120,1
sprite 2,rxs+91,120,2
sprite 3,rxs+182,120,3
sprite 4,rxs+273,120,4
sprite 5,rxs+364,120,5
sprite 6,rxs+455,120,6
sprite 7,rxs+546,120,7
sprite 8,rxs+637,120,8
endfunction
i know my coding is a mess but i am getting more and more annoyed and thus far this is the ONLY way i have managed to get roughlt what i am after
*Edit**
Ok thats perfect, that is exactly what i was after thank you, now my poor scalp may still have hair attached.
Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD
I can see from your smile, you're not here for the sunset.