@ibrahimnrhd, in most cases, you do not have to modify the Scroller class. The one in this scenario was actually slightly modified to so that a programmer can add some non-scrolling area to the right, to the bottom, or both. This was mainly so you could add stats or any graphic user interface objects to a program.
@MatrixWorld : Yes, slow while scrolling. That is because this scrolling engine scrolls the "universal" image, which, because of its size, means a lot of cpu activity. My Scroller class (found by way of my "Scrolling Tutorial" scenario, can be used to scroll only actors, which would pretty much solve that issue. Search "Scrolling Tutorial" to locate.
@stylus, if your game is running with the menu up, then you probably have your menu in the same world as your game. Note that the world FabriG has provided code for is for the menu alone and has nothing to do with the playing of the game itself. The "enter" or "space" key with option zero will proceed to another world (BackgroundLvls) which probably still a world where game-play is not yet arrived at. A specific level world would be arrived at from there where the level is played out.
@Kizetsu, start a discussion thread on your issue. Provide your attempted codes (complete classes) and an error trace from that particular code. Help can then be provided.
2023/12/7
Scrolling Tutorial
2023/10/15
Dark Maze Demo
2023/7/25
Horiz/Vert/Univ Scroller
2023/7/25
Horiz/Vert/Univ Scroller
2023/7/20
Fernand the Kinght
2023/5/19
Jump and Run Demo w/Moving Platform
2023/5/14
Scrolling Tutorial
2023/5/14
Scroller Class Demos
2023/4/29
The Maze Factory