![]() Test your game using Instruments to see the memory, cpu, frame rate, leaks, battery usage, and a lot more.IPhone development without the code could help the non-savvy get in on the iPhone app actionĪpple iPhone games are a big market. If you can, unlock actors to constrain to the actor directly. Make an initial scene that looks like your splash screen to load attributes and log in to Game Centerģ0. Don’t update all Game Center Achievements/Leaderboards at once unless there is no movement in the scene at that time.Ģ9. Don’t save more than 3 attributes at once.Ģ8. Delete all unused rules, groups, behaviors, actors, attributes, images, and sounds.Ģ7. Use music at your own risk because it will decrease performance.Ģ6. You do not have to recycle actors that would be destroyed in the first place, like bullets.Ģ5. Portrait gameplay: If attribute game.MainCharacterPositionY > + (/2)+(/2), then destroy or move.Ģ4. Landscape gameplay: If attribute game.MainCharacterPositionX > + (/2)+(/2), then destroy or move. If you have a game that goes on forever like Jetpack Joyride, Temple Run, or Jay & Silent Bob in Too Fat to Fly, make sure you either move or destroy actors that pass you by using these rules: If an actor is not being used again in the same scene, destroy it.Ģ3. Make your own pause instead of using the behavior. Limit constrains and if you do need to use it, make sure that they are on the top of your code.Ģ1. Try not to use so many global attributes and use tables wherever possible.Ģ0. Don’t use the “Display Text” behavior wherever possible.ġ8. Make sure your image creator is set to 8-bits/channel.ġ7. Don’t use the color changer within GameSalad unless necessary.ġ6. Save all images as PNG-8 unless they have any transparent or translucent object in them.ġ4. If an image file is large or is a background, have the actor that uses the image use the suggestion in number 7 instead of having the actor start initially with the image.ġ3. Change any image that is about 10 pixels more than 8, 16, 32, 64, 128, 256, 512, or 1028 to whichever of these numbers are closest.ġ0. Images should be the same size as the actor using them and double the size if you are using Resolution Independence.ĩ. Instead of using the “Change Image” behavior, use “Change Attribute” and change the self.Image to the desired image’s name.Ĩ. ![]() If the actor is not going to be seen, change their “Visible” attribute to false.ħ. Turn every attribute under the physics tab in the actor editor to 0 on actors who do not need it.Ħ. Use the “Rotate” behavior instead of animations.ĥ. Use the “Interpolate” behavior instead of the “Move”, “Move to”, and “Change Size” behaviors whenever possible.Ĥ. ![]() ![]() Uncheck “Movable” for every actor that doesn’t have the “Accelerate”, “Change Velocity”, “Collide”, “Move”, “Move to”, or any of the rotate behaviors.ģ. Uncheck “Preload Art” on as many actors as you can.Ģ. Collected over time by searching through the Gamesalad forums, coming up with some themselves, and exploring GameSalad help websites. Even with the new LUA-Free engine coming soon, we would all still like our games to be fast now.ĪcceleratedGames has made a great list of 31 useful optimization tips to use in your indie games. One thing that we all worry about when producing games with Gamesalad is performance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |