Updating an old App

Hi there,

I wrote an app many years ago with Corona SDK.  The client now wants some small updates and many methods that I used are out of date.  It appears that the way I did sprites and the use of storyboard is no longer supported.

Is there a quick fix for this problem?

What is the replacement for the storyboard system?

[lua]

require( “sprite” )

– START MAIN SCENE - 3 MENU CHOICES
local storyboard = require “storyboard”
storyboard.gotoScene( “scripts.scene_main.home_scene” )

[/lua]

Both of the “require” statements above cause errors.

Thanks!

-Mark

Hi Mark. We open sourced both the sprite library and storyboard. Visit these two URLs

https://github.com/coronalabs/framework-storyboard-legacy

https://github.com/coronalabs/framework-sprite-legacy

Download the sprite.lua and storyboard.lua and drop them in your folder alongside your main.lua and you will be back in business.

You may still have some adjustments to make. Reference Points got replaced by Anchor Points. Colors went from 0…255 to 0…1. All objects by default are positioned from their center, where older builds somethings were positioned by their top left.

Rob

What a relief!  Thank you!!

Hi Mark. We open sourced both the sprite library and storyboard. Visit these two URLs

https://github.com/coronalabs/framework-storyboard-legacy

https://github.com/coronalabs/framework-sprite-legacy

Download the sprite.lua and storyboard.lua and drop them in your folder alongside your main.lua and you will be back in business.

You may still have some adjustments to make. Reference Points got replaced by Anchor Points. Colors went from 0…255 to 0…1. All objects by default are positioned from their center, where older builds somethings were positioned by their top left.

Rob

What a relief!  Thank you!!