Watch This Now!

Help!, Different Size Image But Same Result.

1 posts
Thanks Meter: 0
By ganero, Junior Member on 20th August 2014, 01:03 AM
Post Reply Subscribe to Thread Email Thread
I am editing whole my question as it might not so clear for others to help.

I am modifying super jumper game (Mario Zacher's Beginning Android Game) , i've come to stuck on this issue:

if you look at my attachment image, you could see that my character image rendered in same size with the spring image.

i'm using texture atlas 1024x1024 px,

          spring = new TextureRegion(items, 980, 90, 32, 40);
          charJump = new Animation(0.2f,
           new TextureRegion(items,charX+32, charY, 64,160),
           new TextureRegion(items, charX+150, charY, 64, 160)); //char anim.

I am using photoshop and put all the texture region required in my Atlas.
For each character image frame has the size of 64x150
while the spring image only has the size of 30x40

the world class camera width and height = 11f x 14f
the world renderer class camera width and height also = 11f x 14f

Please give me some clue, what important knowledge i am missing here ? thank you.

Attached Images
File Type: jpeg image (3).jpeg - [Click for QR Code] (40.1 KB, 11 views)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes