try this
x_plane = cos(angle)
y_plane = cos(angle)
while y_pos < SCREEN_BOTTOM
inc x_pos, x_vel
inc y_pos, y_vel
x_vel = x_vel + x_plane * G *(sin(angle)) - F * cos(angle))
y_vel = y_vel + y_plane * G *(sin(angle)) - F * cos(angle))
endwhile
angle is kinda tricky to explain
imagine a line from the centre of your object on the slope straight down
perpendicular with the botttom of the screen well "angle" is the angle between that and
a line perpendicular with the objects velocity vector.
G is gravity best set this to 1
F is frictional value this value you have to decide for yourself
life is just too short to acutally try and calculate this for every object you create
against every other object you create, start with trying a low value like 0.1
x_vel and y_vel are speed
hope this helps