How do I accomplish an unlimited play area for Iphone/Ipad. I am a newbie to GS and Making Games

I am looking to make a gravity type game using accelerate and gravity. but as soon as it gets going to my liking the the actor disappears. I have already gone into scene and made that 10000 Width x 10000 Height but it bogs down everything. Do i have to make my images tiny or is their a way to make an unlimited play area. I will be scrolling in all directions.

Best Answer

  • SolarPepperStudiosSolarPepperStudios Posts: 754
    edited March 2013 Accepted Answer
    Make the scene 1/2 that size. The reason (at least for mobile games) is that GameSalad doubles the screen size. For example the iPhone 5 screen size is 1136 x 640 but GameSalad puts it at 568 x 320.

    EDIT: After re-reading your post I realize what you are wanting to do now. And the answer is, in reality, you can't. Computers (especially iDevices) can not deal with infinity. Sorry. (It freaks out the computer and causes kernel panics and bad things!) :-S I made a game that makes it look like it is infinite when it really isn't. Its called Meteor Man. Check out the lite version to see what I'm talking about. :D

Answers

  • ChakkuChakku Member Posts: 1,513
    I think wrap x and wrap y is what you're lookin for. Those are under scene attributes.

    Hope this helps :)
    Chakku
  • nep2008nep2008 Member Posts: 16
    Thanks Chakku. I didn't work like I had hoped it would. I constrained the camera to my player actor. and I can move all over the scene and the camera will follow which is what I want. I currently have my game scene set to w10k H 3k. I have a background image set to an actor. for the same screen size 10k X 3K. By doing that it seems to bog everything down. Is there a way that I can constrain the background image and animate it to simulate movement while constrained to the camera view without interupting my collisions with the actor and not changing the scene size? Sorry for all the info. I am a complete newbie in all of this. By the way I am using Windows version I don't know if there is a difference.

    Thanks,

    Nep2008
Sign In or Register to comment.