Attention - It is possible now to make iPhone 5 games
AcceleratedGames
Member Posts: 201
Hello GameSalad Community,
I have terrific news.
After testing, and testing, and testing with the GS viewer and the iOS Simulator, I have made a discovery. There is a way to make our games work with the iPhone 5's new screen size.
Here's how in 5 (what a coincidence) steps:
1. Find your GameSalad project in the finder.
2. Right click and select "Show Packaged Contents".
3. Find the file "object.xml" and open it.
4. Find and change {id="displaySize">320420} to {id="displaySize">568320} or if your game is portrait change it to {id="displaySize">320568}
5. Change all screen and camera sizes to 568x320 or 320x568.
This makes our games work with both the iPhone 5 and other iPhones without ANY real work on GameSalad's side.
But, there is a catch.
Actually 2.
1) I don't know if this works for windows.
2) GameSalad will have to let use upload a 4in and 3.5in load screens in order for this to work.
The great thing is, catch #2 can be quickly fixed now that we have web publishing.
Also, for best practices, here is something @TheMoonWalls suggested we do:
Rule if attribute (Devices/Screen/Size/Width or Height (depends on your game orientation)) is 480 (old iPhone):
Here put rules to change scene size, actor's positions, graphics, etc.
And second rule:
Rule if attribute (Devices/Screen/Size/Width or Height (depends on your game orientation)) is 568 (iPhone 5):
Here put rules to change scene size, actor's positions, graphics, etc.
I have terrific news.
After testing, and testing, and testing with the GS viewer and the iOS Simulator, I have made a discovery. There is a way to make our games work with the iPhone 5's new screen size.
Here's how in 5 (what a coincidence) steps:
1. Find your GameSalad project in the finder.
2. Right click and select "Show Packaged Contents".
3. Find the file "object.xml" and open it.
4. Find and change {id="displaySize">320420} to {id="displaySize">568320} or if your game is portrait change it to {id="displaySize">320568}
5. Change all screen and camera sizes to 568x320 or 320x568.
This makes our games work with both the iPhone 5 and other iPhones without ANY real work on GameSalad's side.
But, there is a catch.
Actually 2.
1) I don't know if this works for windows.
2) GameSalad will have to let use upload a 4in and 3.5in load screens in order for this to work.
The great thing is, catch #2 can be quickly fixed now that we have web publishing.
Also, for best practices, here is something @TheMoonWalls suggested we do:
Rule if attribute (Devices/Screen/Size/Width or Height (depends on your game orientation)) is 480 (old iPhone):
Here put rules to change scene size, actor's positions, graphics, etc.
And second rule:
Rule if attribute (Devices/Screen/Size/Width or Height (depends on your game orientation)) is 568 (iPhone 5):
Here put rules to change scene size, actor's positions, graphics, etc.
Comments
Again just an FYI. its certainly not an official message from GameSalad regarding this. just wanted to make sure you understand what you could be getting into.
Cheers
If that's the case, then @UtopianGames would have left a long time ago because that's all DBA does, edit GameSalad. Also, there have been many cases where people suggest editting the xml files in their game.
Why do you decide to speek now?
And I'm pretty sure DBA has a special arraignment with GameSalad regarding there tools.
Why are you mocking him? He's just tring to help everyone.
@AcceleratedGames is certainly trying to help and his idea will I am sure be looked at and that is good - well done to @AcceleratedGames for that. He may well have enabled a workaround until a revised version of GS is released...and as @tenrdrmer suggests GS needs to approve these workarounds before we can use them.
...there now everyone can cool off
I also found that we could use this method to make universal apps.
P.S.
@AGsBuddy and I are not the same person.
I'm very interested in make universal apps. How we can do it?
Thanks for the help!!!
But, GameSalad would have to let us publish the game with the correct size loading screen sizes.
Being disrespectful of your paying customers and playing the favorites game is not a good way to run a business, and I recommend GS be more selective in who they grant mod status.
Regardless, kudos to @acceleratedgames for an excellent find! This will certainly tide us over, at least for testing purposes, until we get official GS support for the iPhone 5 / new-gen iTouch screen resolutions.
I think I have to clear some things up.
First, AGsBuddy and I are not the same person, we are partners in making games.
Second, we share the same computor when using GameSalad and making are game assets just to keep things organized.
Third, I was not aware editing XML files is against the rules.
Thanks @CreeperWare for your support and trust in me.
I can understand that technically, modifying xml files may (or likely is) against the ToS for GameSalad.
But I think that sometimes we need to look at the big picture.
We are talking about editing some value, in a file, for some software designed to make games for smartphones.
All this, for the purpose of helping enthusiasts and budding programmers / entrepreneurs to get the most out of their hobby / scrape out a living.
We are NOT talking about a threat to national security here lol.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Also, @FryingBaconStudios, you are right. We should not blame GameSalad for no sales, it's our fault. My game has received 40 daily purchases, which is proof that this software can do great things. We should probably have a section on the forums dedicated to game design and game theory.