Hello! Can someone please explain to me how to include a scroll function into my code? It ends up I need more room to include everything I want so I need to find a way to do that. Thanks! [import]uid: 35535 topic_id: 31873 reply_id: 331873[/import]
See the Scrollview widget:
http://docs.coronalabs.com/api/library/widget/newScrollView.html
Basically you create the scrollview and then insert your display objects (graphics, text, etc.) into that as if it were a display group.
Give it a shot – while it’s in the “widget” category which most people equate with business-type apps, I can’t see any reason why you couldn’t use it for a game.
Jay [import]uid: 9440 topic_id: 31873 reply_id: 127169[/import]
This was a last minute detail I wanted to add so I didn’t really plan for this so I already have a lot of the coding completed. Is there a way to quickly have everything I have to be scroll enabled or do I just have to insert my display objects one by one? [import]uid: 35535 topic_id: 31873 reply_id: 127261[/import]
See the Scrollview widget:
http://docs.coronalabs.com/api/library/widget/newScrollView.html
Basically you create the scrollview and then insert your display objects (graphics, text, etc.) into that as if it were a display group.
Give it a shot – while it’s in the “widget” category which most people equate with business-type apps, I can’t see any reason why you couldn’t use it for a game.
Jay [import]uid: 9440 topic_id: 31873 reply_id: 127169[/import]
This was a last minute detail I wanted to add so I didn’t really plan for this so I already have a lot of the coding completed. Is there a way to quickly have everything I have to be scroll enabled or do I just have to insert my display objects one by one? [import]uid: 35535 topic_id: 31873 reply_id: 127261[/import]