Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • 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.
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!