GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How should i create my texture size for my non square actors? long actors etc

greenturtlegreenturtle Posts: 22Member
edited June 2013 in Working with GS (Mac)
Hi Guys,

I have a noob question, I know I have to import my texture always as 64x64, 512x512

But lets say my actor size is 100x500 it's a wood pile. And collision shape is a size of it.

It doesn't work very well if i have alpha channel, transparency in my texture file. to make the ratio or proportion right.

Below are all my 3 questions:
1)Should I stretch the texture to something in 512x512, then i put my actor size as 100x500?
As in it will appear ( stretch in term of texture file) but it will appear fine on the game scene. since the actor is adjusted to ratio.


2) Are there other methods to do it?


3) could i import texture size like 64x128, or 128x512? I read somewhere gamesalad will auto read the image if it's number like 128,512 etc but what if length & width isn't the same?
For Optimizing sake, is it better to have same length and width size like 512x512 or 128x512?

Thanks in advance!

Below is the video I found while researching it, for those for wish to find out the same thing, it may help them:

Comments

  • StormyStudioStormyStudio United KingdomPosts: 3,987Member
    Option 3 is the best way to do it...

    I must admit to not always sticking to the rule...but it does improve performance and memory usage significantly. But if you can test your game on the oldest device your going to sell it on and it plays ok, I figure its absolutely fine to play with numbers when it makes sense for your game design....
  • greenturtlegreenturtle Posts: 22Member
    edited June 2013

    Option 3 is the best way to do it...

    I must admit to not always sticking to the rule...but it does improve performance and memory usage significantly. But if you can test your game on the oldest device your going to sell it on and it plays ok, I figure its absolutely fine to play with numbers when it makes sense for your game design....

    @StormyStudio.com , thanks! actually i was asking 3 questions, not 3 possible methods! :D

    I have edited my questions to make clearer! my bad for not write in a clearer earlier on =)
  • greenturtlegreenturtle Posts: 22Member
    @StormyStudio.com


    so you saying it's better for me to render as 128x512 etc rather than 512X512 (stretching my texture)???


    Forgive me my english is bad so I won't understand if things are spell directly.
    Thanks!
This discussion has been closed.