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

danpost's Comments

Back to danpost's profile

Right now, the scenario just stops when solved. So yes, but not very user friendly in that regard.
There are a number of solutions (I can, at the moment, say there are a minimum of 6; but, there are probably more like a dozen or so); and I am not counting rotations/mirrors/etc.
danpostdanpost

2014/3/7

How about without using an image at all. Do you have an email address, Pointifix?
danpostdanpost

2014/3/6

It would be easier just to include the user image in the images folder of the scenario and get the colors off of it.
@Pointifix, my Pong Pinball scenario, at http://www.greenfoot.org/scenarios/7455, has collision detection between circles and rectangles you might be interested in looking at.
@Pointifix, the demo was more for the movement of the snake, not for the collision detection; so, I do not think I will worry about it. Unless, you have a need for better and need some help?
@Pointifix, in world 3, the snake segments are rotated which, for one, widens the width and height of the images. Also, the snake is moved 5 pixels at a time and it stops if it cannot move the whole five pixels. Together, I believe it covers the 15 pixels you mentioned.
@lordhershey, at faster scenario speeds, the graphics do not keep up this the act cycles. I mean, the screen is not refreshed each and every cycle. So an fps counter would not be accurate as far as the display was concerned. I could just re-upload to unlock the scenario and allow the user to adjust the speed slider on it.