Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to diaplay obstacles on dynamic background

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.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!