Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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)?
 
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!