• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with writting variables onto a Android application screen

 
Carson Ros
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a full functioning Tetris remake I am making in Jre7 through Eclipse (not a clone, but a game with a similar engine) and I have run into a issue with displaying a score on the screen. In main.xml (where the main game is played) it is basically blank because I drew the gameplay part of the game in the main class so the xml is blank and I can not get score to be displayed in there (it wasn't working at the start which is why I did everything in the main class). My question is how would I write a variable onto the screen from the main class? Thank you in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic