I’ve dug around a bit through the example codes, but I’m having trouble understanding how the scrolling works in Corona. I’ve made a simple static 2d platform game engine to help teach myself a little at a time, but it’s really just dull without scrolling, so could someone give me a quick example of the simplest and most effective method? [import]uid: 131400 topic_id: 23521 reply_id: 323521[/import]
Have you checked out http://www.learningcorona.com/ particularly the section Other Ansca Lessons? [import]uid: 103970 topic_id: 23521 reply_id: 94393[/import]
I’ve looked over a lot of Learning Corona already, but the most information that I’ve found related to scrolling involves the continuous parallax scrolling/giving the illusion of actual movement. I assume you’re referring to the “Create Scrolling List Views with Text & Graphics” portion of Other Ansca Tutorials? I’m not really seeing how that would be helpful in screen movement in a 2d scroller, but as I said, I’m pretty new so if there’s something there I’m not seeing, please help me find it!
Thanks for the response! [import]uid: 131400 topic_id: 23521 reply_id: 94488[/import]
So a good start made if you have checked out those sites
Another very useful site is www.raywenderlich.com and in particular for your needs
http://www.raywenderlich.com/9050/how-to-make-a-game-like-jetpack-joyride-using-levelhelper-spritehelper-and-corona-sdk-part-1
http://www.raywenderlich.com/9050/how-to-make-a-game-like-jetpack-joyride-using-levelhelper-spritehelper-and-corona-sdk-part-2
http://www.raywenderlich.com/9050/how-to-make-a-game-like-jetpack-joyride-using-levelhelper-spritehelper-and-corona-sdk-part-3
http://www.raywenderlich.com/9050/how-to-make-a-game-like-jetpack-joyride-using-levelhelper-spritehelper-and-corona-sdk-part-4
and
http://www.raywenderlich.com/4885/how-to-make-a-game-like-doodle-jump-with-corona-tutorial-part-1
http://www.raywenderlich.com/4885/how-to-make-a-game-like-doodle-jump-with-corona-tutorial-part-2
And the tool Level Helper (http://www.levelhelper.org/) should give you a good grounding [import]uid: 103970 topic_id: 23521 reply_id: 94492[/import]
Thanks for the hasty response! I’ve looked into Level Helper, however I am working from Windows and it doesn’t seem like a supported platform :(… Any alternatives? I’ve heard that Lime still has some pretty noticeable performance issues at the moment, so I didn’t really want to commit to that just yet… I’ll definitely check out the links that you’ve posted, though. [import]uid: 131400 topic_id: 23521 reply_id: 94495[/import]
Not sure there is to be honest.
A rather extreme work around is to maybe rent a Mac for your development if you find the tools are richer.
A good solution is one promoted by Ansca at http://www.macincloud.com/ to switch to a cost effective cloud environment. [import]uid: 103970 topic_id: 23521 reply_id: 94507[/import]
Hey Dustin.
Which aspect of scrolling platformers are you struggling with?
If it’s the scrolling part, try adding your character and all interactable objects to the same “group,” then when:
hero.x < _W / 3
you move the group to the right at the same speed that the player is moving to the left. Do the opposite on the other side of the screen to simulate him moving to the right.
This ensures that the hero can never walk outside the bounds of the screen, and the “camera” will always react appropriately to his movement speed.
does that help?
Dan [import]uid: 67933 topic_id: 23521 reply_id: 95386[/import]