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

2015/9/5

Bug? Objects painted outside the world and not being removed

Super_Hippo Super_Hippo

2015/9/5

#
Instead of keep writing in comments of a scenario (see here: http://www.greenfoot.org/scenarios/14841), we continue in this thread. As written there, the problem is that objects seem to be painted outside the world and aren't removed anymore. For example this scenario SPIKXX let me see the blue squares outside the usual visible world. This problem also happens to me in many other scenarios. If you can't see it, here are three screenshots to see how it happens. https://gyazo.com/e7a99c0a775c0fe3737e3fd3b76654f0 https://gyazo.com/78467b91933580442788376bd6ccd628 https://gyazo.com/394abc85b82185f5dccdc43b2c1da3b8 I just updated the scenario to make sure the background image doesn't have any transparent areas. (It was just 'fill()' after creating the image, now I set it to black color '0,0,0'.) It didn't change anything. When resetting the scenario, the area outside the world stays as blue as it was. I will publish the source for the scenario in a minute if you want to take a look.
Super_Hippo Super_Hippo

2015/9/5

#
@danpost: How did you 'dock' the visible world area in the middle? Well, I hope, you understand what I mean. https://gyazo.com/72a8201b77ccc87e4cbaead4b69527de It works! I wonder what you changed! :) @davmac: Your version does the same as mine I guess. At least I see the same result with the objects outside the world.
danpost danpost

2015/9/5

#
I did not change anything. I only uploaded it from a system using USB greenfoot v. 2.3.0. It is probably an issue with either the newer version of greenfoot or bluej.
davmac davmac

2015/9/5

#
Yes, I think this might be an issue with the latest version. I'll file a bug on that. We can probably fix it server-side without you having to re-upload :)
Super_Hippo Super_Hippo

2015/9/5

#
Great, thank you :) I don't know if it has to do anything with it (probably not), but at least it is another thing with the displaying of a scenario. The problem occurs if I scroll (up or down) when being on a scenario page. Then the visible world moves too. So let's say I open the page (and accept that I use Java 7 although it is unsafe and that I don't want to upgrade...) and scroll down then. Then the scenario itself moves down, outside the visible area. That means that the only way for me to play a scenario is to first, let it refresh because it needs to activate java manually or something. Then accept and scroll down fast enough to the right position before it is build up... Images again because I can't really explain that: (Example on your test scenario - happens everywhere. Starting at right position and then scrolling down) https://gyazo.com/d2887da3af5dd7bae9652d1605fec890 https://gyazo.com/cba80cb7939af5462e4bfc23db70e32c https://gyazo.com/81d7f6331b3c63174bfb03ed8ae2da6b It could be that Internet Explorer causes that because when I had Windows 8.1, Google Chrome displayed it correctly if I remember correctly. Chrome doesn't work at all with plugins just like Edge right now though...
You need to login to post a reply.