Couple of quick questions..

rhysdaramborhysdarambo Member, PRO Posts: 33

Hi.

1) Say if I have a big solid colour actor i.e a blue 1000 x 1000 actor, is is better to make that on photoshop and save it as a .png or is it easier to just use the GameSalad actor function and change the size and height to the above?

2) Lets say I make a green 500x500px actor in GameSalad for iPad. I have resolution independence enabled to scale up to the retina so it should display at 1000x1000px on the retina. Now, do I just leave it as 500x500px and will it scale up automatically? Because I know with imported images you must multiply the resolution by 2 and it all works nicely. Alternatively I could just make the actor on photoshop at 1000x1000px then import it in to GameSalad. But I'm just curious to how inbuilt GameSalad actor work?

Really need answers ASAP guys (n gals).
Thanks!

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    That's not how RI works. Actors will be the size you make them in GS. RI takes oversized images and scales them down to half the size. RI is double the pixels in the same space. So on a RI device the screen has double the pixels in the same space as a non retina device. This is why images need to be twice the size it has nothing to do with the overall size on screen.

  • rhysdaramborhysdarambo Member, PRO Posts: 33

    Hi Guru.
    Kind of hard to get my head around lol.
    So say I make an actor in GameSalad for the iPad and want it to take up the maximum width of the screen i.e 768px. Now will this take up the full width of the retina screen? Assuming I have it centered on the non retina iPad i.e x pos = 384px. It really messes with me :neutral_face:

    Thanks Guru!

  • rhysdaramborhysdarambo Member, PRO Posts: 33

    Could someone also please answer question #1??

    1) Say if I have a big solid colour actor i.e a blue 1000 x 1000 actor, is is better to make that on photoshop and save it as a .png or is it easier to just use the GameSalad actor function and change the size and height to the above?

  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    edited April 2014

    Question 1:
    If it is just going to be a solid colour, it would be better to just do it with an actor inside GameSalad. As the game won't need to load the image file. (Worth noting though that a single colour image file would actually be very small anyway, but still… coloured actor would be best)

    Question 2:
    Just to reiterate what the GameSalad Guru said…
    If making a resolution independent game.
    Make all your images at retina resolution. Which is double the size of the actors in your scene. So an actor in gamesalad with dimensions of 50px x 50px would need an image of 100px by 100px. (GameSalad takes care of the behind the scenes stuff and will present a scaled down image for those on non retina devices, and a full size image to those on retina devices… )

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited April 2014

    Think of it as a jar. In a regular jar you can put 100 jelly beans in a retina jar, which is the same size jar as the non retina jar you can squeeze 200 jelly beans in there. In other words, images on a screen are produced by groups of individual pixels (a pixel is a tiny square) on a regular screen there are say 200 pixels in a 5x5 area. On a retina device in that same 5x5 area there are 400 pixels. More pixels mean higher detail. All you need to understand about RI is that the images you import need to be 2x the actual size you want on screen. Everything else is as is. RI only relates to images.

  • rhysdaramborhysdarambo Member, PRO Posts: 33

    Thanks Guys and Guru :)

Sign In or Register to comment.