This week's book giveaway is in the iOS forum.
We're giving away four copies of Classic Computer Science Problems in Swift and have David Kopec on-line!
See this thread for details.
Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to diaplay obstacles on dynamic background  RSS feed

 
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
Boost this thread!