Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to diaplay obstacles on dynamic background  RSS feed

revathi venkataramana
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We are working on game project. As of now we have created a scrolling background using tiled layer and the main sprite is static and does walikng animation at the same place .

Now we want add obstacle and collision detection.

I just want to know should we use tiles itself as obstacles or should we use sprites as obstacles.

please provide some code examples and please do revt back as soon as possible.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!