Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to diaplay obstacles on dynamic background

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

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.

Thanks,
Revathi.V
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic