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

Comments for Piano tiles

Return to Piano tiles

A new version of this scenario was uploaded on 2016-11-25 17:33:00 UTC
A new version of this scenario was uploaded on 2016-11-25 17:34:03 UTC
A new version of this scenario was uploaded on 2016-11-25 17:34:39 UTC
A new version of this scenario was uploaded on 2016-11-25 18:07:02 UTC
A new version of this scenario was uploaded on 2016-11-25 18:08:51 UTC
RidicolasRidicolas

2016/11/25

can someone please tell me how to make the backround little?
A new version of this scenario was uploaded on 2016-11-25 18:12:18 UTC
A new version of this scenario was uploaded on 2016-11-25 18:13:37 UTC
danpostdanpost

2016/11/25

The size of the world window is determined by the 'super' call in your world constructor. This one should be something like this: super(120, 400, 1);
RidicolasRidicolas

2016/11/25

thanks, here's the code I already have : super(120, 400, 1);
RidicolasRidicolas

2016/11/25

idk why it doesn't like that :(
Nosson1459Nosson1459

2016/11/25

You have to make it the right size, danpost doesn't necessarily know the size needed. You're using a little bit of the world, so make the world the same size as the amount of space your using now.
RidicolasRidicolas

2016/11/25

I already had it 120 400 and it looked fine when I was programing it!
A new version of this scenario was uploaded on 2016-11-25 20:12:29 UTC
A new version of this scenario was uploaded on 2016-11-25 20:13:38 UTC
RidicolasRidicolas

2016/11/25

I made so you can see my code.
A new version of this scenario was uploaded on 2016-11-26 01:06:58 UTC Added song
danpostdanpost

2016/11/26

Try updating it again -- this time lock the scenario (check the 'Lock scenario' checkbox). Maybe that will fix the size of the world (possibly a bug when scenario is not locked).
A new version of this scenario was uploaded on 2016-11-26 19:19:25 UTC
RidicolasRidicolas

2016/11/26

there thanks for the idea! but Green Foot still doesn't want to :(
danpostdanpost

2016/11/26

My guess, now, is that it is a problem with the version of greenfoot you are using. You may want to shoot an email to support@greenfoot.org.