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

2013/6/25

Hey guys me again anyone know how i can make objects that deteriate when clicked and then after a while completely break

rhyslacy123 rhyslacy123

2013/6/25

#
what i mean is like in minecraft when you hit a block it begin to break i would like something like that as i am hoping to make a wall that the character has to smash
davmac davmac

2013/6/26

#
Just add a counter (an 'int' variable) to count how many times the block has been hit. When it reaches a certain value, remove the block from the world.
rhyslacy123 rhyslacy123

2013/7/9

#
thanks man helped alot
You need to login to post a reply.