This would be my first guess at creating a scroll menu system in pygame. Create a menu rect, with a scrollbar rect,where the the scrollbar rect literally moves up an down the menu based on size of menu inserts. Is that the basic setup of a scroll menu? Other than that, i am not sure of other options.

This is the code i have so far, but i havent implemented anything regarding the scrollbar yet, just the background menu rect.

so i think i might of came up with a template. Where the top and height of self.menu_scroll_bar where currently is hardcoded, but depending on its varrying size, would implement such a scroll bar. Or at least i think it would.

now i am thinking, should i draw the menu down below the screen hieght, and represent the scroll bar with the screen in its position relevent to current position, or instead to move the scrollbar, and draw the next phase of the screen in porportion to the scrollbar's position.

well i went with the second one, and implemented somewhat of the feature. However i didnt utilize the Rect's center feature, which i guess would make it more realistic. I dont know why i never first think of it.

but now i am stuck at testing the scroll bar and improvising it as i need shapes to take up space in the menu and go below the screen, to be able to "use" the scroll bar in the manner intended. So now my focus shifted to somehow creating centered images in the menu that is somehow attached to the scroll bar. Where images are 2 images width, and on down the menu for as many images there are.

oh wow, nice. Im gonna have to dissect that, to find more about it. But yeah, i think once i figure this setup up well, i might be able to trranslate it to images for that alchemy scroll menu of completed elements.

I was switching form house to house yesterday, so i was using the forum as a codepad and text of what i was thinking, sort of thing, so i wouldnt forget.

Going to try to make it so you can optionally specify images to use as a skin. I just hate to have class __init__ functions that take ridiculous numbers of arguments. I think it could probably be made to work as an image menu pretty easily; at least in theory. Anyway... still needs a lot of work and a bit of documentation, it is very ugly at the moment.

I havent even had much time to look at the previous example before you posted this one, lol. I plan on it though, going in depth in pygame, for my next hurdle to get over in python. I have been putting it off for a year, learning the basics of programming in general, python basics, math skills. I think its finally time to jump in fully to 2d game programming. Which was my ultimate goal in originally starting programming in the first place. But i got distracted so much with all the things you can do with python, lol.