This site requires JavaScript, please enable it in your browser!
Greenfoot back

danpost's Comments

Back to danpost's profile

@JooshK, just use a zero value for the vertical offset when calling the 'scroll(int, int)' method. For example: scroll(1, 0);
@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 : See my previous comment. Wanted to mention to read the description of the searched scenario for related scenarios and codes.
@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.
@maxminky, it is possible the your actor has excess transparency as well.
@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.
@Kizetsu, all codes are provided in the tutorial (link in description).
@CLASH_ROYALE, always solvable !!! But, beatable ?? That's a different question.