i tried most of the bitmap fonts and non of them can help in this .
most of them work fine when you just use them to print text using “text” but when i use them in printing time or score they just didnot work
for example
scoreText = display.newText(sceneGroup,score,screenLeft+20,screenTop+20, native.systemFontBold, 30) scoreText:setTextColor(1, 0, 0) TapToKill = function ( event ) -- here we have to add the tap function if event.target.sequence == "whatever" then event.target:setSequence("falldown") event.target:play() audio.play (Soundclicks) transition.to ( event.target, {time=500,x=centerX,y=centerY,alpha=0,tag = "animationBlock"} ) score = score + 1 scoreText.text = score event.target:removeSelf() elseif event.target.sequence == "falldown" then event.target:removeEventListener ( "tap" , TapToKill ) end return true end
this work fine to display score once i tap on the subject
but when i try to use for ex: Font-Manager-revamped-version , the score stuck to 0 only
mostly i face these issue with dynamic changing variable that need to be printed in the screen like time or score , if i use
scoreText = display.newBitmapText(tostring(score),screenLeft+20,screenTop+20,"retrofont",50)
it just didnot work always show 0