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

Report as inappropriate.

danpost
danpost presents ...

2016/11/14

Scrolling Tutorial

A tutorial on scrolling worlds.

The Scroller class code can be found in the following discussion thread location:

http://www.greenfoot.org/topics/57567/0#post_111359

A demo of the Scroller class used can be found at this location:

https://www.greenfoot.org/scenarios/19020

8934 views / 1861 in the last 7 days

14 votes | 3 in the last 7 days

Tags: None

Your browser does not support the canvas tag.
Nosson1459Nosson1459

2017/3/31

@danpost you asked before and then answered before also so I figured if you're willing to answer then why not ask (again).
A new version of this scenario was uploaded on 2017-10-16 00:25:35 UTC
A new version of this scenario was uploaded on 2017-10-16 01:08:03 UTC
A new version of this scenario was uploaded on 2017-10-16 01:13:07 UTC
A new version of this scenario was uploaded on 2017-11-13 01:07:25 UTC
VenbhaVenbha

2017/12/8

Amazingly Superb
VenbhaVenbha

2017/12/8

You were telling how to do it as well as doing it right then!
Paul12345Paul12345

2018/1/28

I can't seem to figure out how to set the background of the whole world to an image and not just the first viewpoint and then stretch it (on the limited scrolling). Like how it was done in your old Scrolling SuperWorld.
danpostdanpost

2018/1/28

@Paul12345 Please start a discussion thread on the issue.
AnJoMortoAnJoMorto

2020/10/29

Is there a way to make some actors move quicker than the player to make a perspective effect? Like change the scrolling speed of some trees to make them move slower to make them feel closer?

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Fire Choppins AbdulrazaqAS Gbasire Genota Game/maniac papst data17 nolttr21 aristotelis Maus2525 Paul12345 Venbha tkiesel