Trying to develop a game with android for cracking glasses in different dimensions
Posted
by
user46514
on Game Development
See other posts from Game Development
or by user46514
Published on 2014-05-29T18:22:24Z
Indexed on
2014/05/29
22:04 UTC
Read the original article
Hit count: 353
android
|game-design
I am trying to develop a game in android where I will have to punch a hole to get through the glass but not shatter the glass completely. The glass will show up in different forms of polygons and when a hole is created by a projectile, the rest of the polygon will still remain intact.Only a polygonal opening will get created at the point of impact with the projectile. I am new at game design in android but I was thinking that I would create a random polygon shape to show in the path and then at the point where the projectile hits it, I could create a glass polygon to create a splinter effect. The rest of the part of the glass that is randomly created at the point of impact, I could further splinter it into polygons flying at different angle. since I also need to capture the bits of glasses flying off and falling down with gravity. Is my solution the best efficient one at performance of threads or is there a better solution for this glass breaking effect.
Thanks Dhiren
© Game Development or respective owner