Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can someone please help me explain this?(from the book Beginning android 4 games development)

 
Aman Grover
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the code for textureAtlas.java :



In this code , what does the numbers inside
method mean?
They say it is the 2D position and the texture coordinates , but I didn't understand how they calculated it for each of the 3 objects(cannon , cannonball , targets)?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic