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

2012/4/18

for loop

yoshush yoshush

2012/4/18

#
hi i want to make walls to block my snake (in the game) that will cover the edges of the world. i need help how to do this. if any cody has a better idea i will love to hear. yoshush
danpost danpost

2012/4/18

#
That would really depend on what you want your wall to look like. Flat color? pattern? if pattern, using an image file or creating your own programatically? if using an image file, can it be scaled to size, or does it have to be drawn on a new image repeatedly? or can it be a transparent wall?
IsVarious IsVarious

2012/4/18

#
Your question is a bit confusing, is it that you're wanting some code which checks to see if the snake is hitting a certain object, or are you asking how to create objects/images which you can use as a wall to block the snake?
You need to login to post a reply.