Help Needed- Screen issue.
PBEmpire
Member Posts: 676
Hey guys, a problem here.
I am working on updating my game- Test you Fingers HD. I am making a visual based tapping mode -- In a form of a bar
Here is my attribute-
If touch is pressed,
Change attribute score to score + 1, change attribute height(Height is the height of bar) to height+(650/game.target score)
So what is means is that the bar will fill up when touch is pressed. But the problem is that the the 650^ is the height i am working on the screen. I have checked RI so it will adjust for the retina ipad BUT on the Ipad 3+ the bar will at most fill halfway as the res is twice-- the 650 an attributte, not a actor. (Actors will double in size but not the attribute)
When i add a code IF device.size.width= 2048, change attribute height to height+(1300/game.target score)
IF device.size.width= 768, change attribute height to height+(650/game.target score) but for some reason it does not work on the creator, it does nothing.
I am working on updating my game- Test you Fingers HD. I am making a visual based tapping mode -- In a form of a bar
Here is my attribute-
If touch is pressed,
Change attribute score to score + 1, change attribute height(Height is the height of bar) to height+(650/game.target score)
So what is means is that the bar will fill up when touch is pressed. But the problem is that the the 650^ is the height i am working on the screen. I have checked RI so it will adjust for the retina ipad BUT on the Ipad 3+ the bar will at most fill halfway as the res is twice-- the 650 an attributte, not a actor. (Actors will double in size but not the attribute)
When i add a code IF device.size.width= 2048, change attribute height to height+(1300/game.target score)
IF device.size.width= 768, change attribute height to height+(650/game.target score) but for some reason it does not work on the creator, it does nothing.
Comments
It was supposed to be scene.size.x rather than devices.screen.size.x
Can close this now.