different screen size in 3gs and 4g, self.positionX still good?

POMPOM Member Posts: 2,599
edited November -1 in Working with GS (Mac)
hey i was wondering, should i make my next game for iphone 4?
i still dont know how the graphic will work? i heard there were issues with that,
so have they fixed it yet?

and about the X Y values, if i make a game for iphone 4 , can i use a rule that say:
when self.positionX > 480

and when 3gs users will use it , that rule will become self.positionX > 240 ?!
(sorry for my english, i hope you understand the question)

Comments

  • AfterBurnettAfterBurnett Member Posts: 3,474
    I'm wondering the same thing. From my tests so far it all seems to work... just resizes the images.
  • jstrahanjstrahan Member Posts: 498
    same here im wrkn on an ipad game now about 75% done it a puzzle game with balls taking a long time cause there's about 100 rules and 6 constrains per ball so each time i have to edit the ball actor it takes about 10 minutes to change to the actor editor and collapse all the rules just had to get that out
    any way im also making an iphone version all the gpx have been converted to the 960x640 screen size but do i use a 960x640 or 480x320 coordinate for all the movements
    it looked like 480x320 to me but dont have an iphone 4 yet to test
  • jstrahanjstrahan Member Posts: 498
    @polygame also when i get a little closer to finishing i want to get with you on a video and ur opinion of game
    @QS would also like ur input u were helpful on exp jet even though its not doing good in sales i wish that apple required people to leave comments if the star rating u give is 3 or less that way we would know what to do to improve the game
  • AfterBurnettAfterBurnett Member Posts: 3,474
    No worries :)
  • POMPOM Member Posts: 2,599
    so can anyone confirm this one?
    if you use a rule that says when self.positionX > 480 (iphone 4 half screen)
    is the 3gs will get it as if it were 240? (3gs half screen)
  • firemaplegamesfiremaplegames Member Posts: 3,211
    @p-o-m: No, that is incorrect. Design all your Rules for 480x320 still.

    So:

    when self.Position > 240

    will work correctly on iPhone4 and 3GS.
    (240 will be automatically changed to 480 on iPhone4)
  • POMPOM Member Posts: 2,599
    @firemaplegames
    so even when i make my game for the iphone 4 my scene is still 320X480 ?!
    not 640X960 ?
  • chosenonestudioschosenonestudios Member Posts: 1,714
    :/
  • firemaplegamesfiremaplegames Member Posts: 3,211
    @p-o-m: That's how I understand it. But hopefully somebody else can clarify.
  • KhakionionKhakionion Member Posts: 48
    quoth p-o-m:
    so even when i make my game for the iphone 4 my scene is still 320X480 ?!
    not 640X960 ?

    If you'll notice in recent versions of GS Creator, the iPhone platform does not specify a resolution anymore, because it is irrelevant. 320x480 is the dimension of the *game world*. When your GS game plays on a Retina Display, that 320x480 world is rendered into a 640x960 screen. XY coordinates do not specify individual pixels. See the thread linked below for more info:

    http://gamesalad.com/forums/topic.php?id=8753
Sign In or Register to comment.