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

Comments for Raycasting Demo

Return to Raycasting Demo

A new version of this scenario was uploaded on Sat Dec 06 23:12:49 UTC 2014
A new version of this scenario was uploaded on Sat Dec 06 23:15:21 UTC 2014
wabuildermanwabuilderman

2014/12/7

umm.. I think your problem is that if a raycast comes out empty, your not coloring the pixel white again.
jimbowebjimboweb

2014/12/8

Oh, that's weird, it runs correctly on my own Greenfoot, but doesn't work here. The refresh isn't working right on the java app for some reason. Thanks for letting me know, wabuilderman.
A new version of this scenario was uploaded on Mon Dec 08 03:00:34 UTC 2014
jimbowebjimboweb

2014/12/8

If you download it, it will work. I guess it doesn't work as a web app for some reason, not sure why.
jimbowebjimboweb

2014/12/8

Okay, seems to refresh alright in my Mac, but not in my Windows machine. Maybe it has to do with Java being up to date? Is it working correctly for anyone else? Anyone have an idea what's going on? wabuilderman, what java/os are you running?
jimbowebjimboweb

2014/12/8

I honestly can't tell if it works as a Java app in my mac, because they've basically made it impossible to run java in mac nowadays and I can't even figure out how to do it.
A new version of this scenario was uploaded on Mon Dec 08 11:58:03 UTC 2014
jimbowebjimboweb

2014/12/8

I think I fixed it. Let me know if it works.
lordhersheylordhershey

2014/12/8

seems to be just fine to me.
A new version of this scenario was uploaded on Mon Dec 08 14:04:00 UTC 2014 Sorry, forgot to publish the source code
A new version of this scenario was uploaded on Mon Dec 08 14:06:42 UTC 2014 Sorry, forgot to publish the source code. Also commented out the showText() of FPS for backwards compatibility to older versions of Greenfoot. So if you have showText() and want to see the fps uncomment that.
jimbowebjimboweb

2014/12/8

Thanks, lordhershey!
wabuildermanwabuilderman

2014/12/8

yep, it works. Good job jimboweb!
jimbowebjimboweb

2014/12/8

Thanks for the help
A new version of this scenario was uploaded on Mon Dec 08 19:12:26 UTC 2014
A new version of this scenario was uploaded on Mon Dec 08 19:13:07 UTC 2014