• Post Reply Bookmark Topic Watch Topic
  • New Topic

String on Layer  RSS feed

Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have got a question to ask and hope that someone can give me an suggestion or some advice.... here is what i am trying to do....

I am working on a J2ME game and i have encounter some problem.... I am trying to draw a String beside a Moving Sprite or a Layer. So i did this

but the out come is that the String was not drawn at the place of the sprite

so i did a little check and see what is the problem and i found out that the X and Y then i got from the sprite was taking the Back ground layer's 0,0 as a refrence but for the drawString(); it is taking the view windows's top left corner as the 0,0 refrence point

so i would like to ask if any one of you guys got any suggestion to this problem or some advice on sloving this problem...

Thanks in advance

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!