Fix My Storyboard App Help Needed

Hello,

I have had an ongoing problem for over a month and now at this point I am willing to pay someone to fix this for me. I have written a very simple game of a character throwing a horse show to a stack of cans to knock down. All of this works like I want. But at the end I show a button to replay. When I click this the reloadScene did not work. It turns out i had not used the functions of the storyboard template and the code is in the wrong place. I just need someone to place the code in a template like it should so the storyboard.reloadScene() will work. It should start the entire scene over again with the score reset. There is only one play per time. This is just a mini-game for an app of mine. I also want to display another button by the Play Again button that should go to another scene in the app.

Some things to note. The rest of my app is in portrait mode so I had to change the direction of the gravity and also save all images at a 90 degree change so it looks like it is in landscape but it is coded in portrait mode. Also, I have compiled and tested on my Android Galaxy SII so I have not yet done it for Apple. I just signed up for an account with MacInCloud dot com so I can compile for apple devices.

Files are attached.

Let me know what you would charge for this. I have been messaging in the forum for a month and still cannot get it right myself.

Thanks,

Warren

Warren,

Which build of Corona are you using? As I still get this result when I run it on a recent daily build:

http://www.youtube.com/watch?v=HKnSRJvUKsI&feature=youtu.be

Nick

If the Reload is not working. Try sending Very quickly to another empty Scene ( then unload the previous scene and then navigate back to it )

you can try both storyboard.purgeScene() and storyboard.removeScene()

Not pretty but it should work, I am using it that way in one of my apps, Before Reload was created. If that does not work let me know I’ll download that sample you have in this post and give it a peak

this evening.

Larry

Hi Nick,

Wow, that doesn’t happen to me! I just updated to the latest of 2013.1082 and it runs the same as before. I have a couple images I grabbed while it was scrolling over. Like I said, I never ran this on a mac yet, only windows version.

game1.png

game2.png

doubleslashdesign, I tried something like that but I can’t even go to a new scene the way I have it coded. I then put everything in the create function and it then reloaded but everything was in the wrong place. So I just gave up and hoping to just pay someone to fix this for me and then i can use it as an example for other stuff I do to learn from.

Thanks!

I’ve fixed your code  a little and I got it :) 

Send me a private message if you’re interested.

 http://youtu.be/2k4pOS0oY2s

I got it working on the simulator, it only works if I view it in iPhone 5 mode, otherwise things are screwed up - some work might be needed to make this work on all devices.

I see @kiena has touched up the code already, on first glance you’re not adding display objects etc in to the scenes .view so Storyboard won’t automatically clean them up.

Also the code to load the cans could be shortened from 300+ lines to about 15 with some loops and tables.

Hi Nick,

I know the code is not good at all as far as how I loaded the cans. I was learning while I did that and knew I could do it much shorter.

Not sure why on the iPhone 5 mode only. For me it works on all devices. That’s why I signed up for the macincould service so I can try it on a mac next since it will need to be compiled for apple devices also. I set it to be run in 320x480 size like they suggested.

Sorry, don’t know anything about the scenes.view.

I am still looking for someone to pay to fix my app so I can either reload the scene or go to another scene when the button is clicked at the end. I also need it running  for an iPhone 4 and 5. I have a MacInCloud account to test on when it is done. I use the windows version myself. Let me know if anyone can help.

Thanks

Warren

I thought Kiena had fixed it already? Happy to help but I’m busy until Saturday, when I’ll be on a 9-hour flight and have plenty of time to look at it!

Warren,

Which build of Corona are you using? As I still get this result when I run it on a recent daily build:

http://www.youtube.com/watch?v=HKnSRJvUKsI&feature=youtu.be

Nick

If the Reload is not working. Try sending Very quickly to another empty Scene ( then unload the previous scene and then navigate back to it )

you can try both storyboard.purgeScene() and storyboard.removeScene()

Not pretty but it should work, I am using it that way in one of my apps, Before Reload was created. If that does not work let me know I’ll download that sample you have in this post and give it a peak

this evening.

Larry

Hi Nick,

Wow, that doesn’t happen to me! I just updated to the latest of 2013.1082 and it runs the same as before. I have a couple images I grabbed while it was scrolling over. Like I said, I never ran this on a mac yet, only windows version.

game1.png

game2.png

doubleslashdesign, I tried something like that but I can’t even go to a new scene the way I have it coded. I then put everything in the create function and it then reloaded but everything was in the wrong place. So I just gave up and hoping to just pay someone to fix this for me and then i can use it as an example for other stuff I do to learn from.

Thanks!

I’ve fixed your code  a little and I got it :) 

Send me a private message if you’re interested.

 http://youtu.be/2k4pOS0oY2s

I got it working on the simulator, it only works if I view it in iPhone 5 mode, otherwise things are screwed up - some work might be needed to make this work on all devices.

I see @kiena has touched up the code already, on first glance you’re not adding display objects etc in to the scenes .view so Storyboard won’t automatically clean them up.

Also the code to load the cans could be shortened from 300+ lines to about 15 with some loops and tables.

Hi Nick,

I know the code is not good at all as far as how I loaded the cans. I was learning while I did that and knew I could do it much shorter.

Not sure why on the iPhone 5 mode only. For me it works on all devices. That’s why I signed up for the macincould service so I can try it on a mac next since it will need to be compiled for apple devices also. I set it to be run in 320x480 size like they suggested.

Sorry, don’t know anything about the scenes.view.

Hi Nick,

Sorry for the late reply. I get a reply once in a while from Kiena but looks like I need to find someone else to help me. No I did not add everything to the .view which I do not know much about. I will try looking this up. I think I just need to add all items to the view once I understand it. And I need to place everything in the right place of the storyboard functions.

As far as it not showing up right for all device, I started the storyboard as a 320x480 size device assuming it would resize them all correctly. I do not have a Mac but on my windows version is shows right on all selected device. I have an account with MacInCloud.com which i have yet to even log into so I will see what it looks like on that simulator once I get this issue fixed. I’ll post in the other forum about how to use the .view of the storyboard and go from there. If you want to mess with it I’ll be glad to pay you only if you want.

Thanks!

Warren

Please see the other thread where I hope I explained the problem.

I am still looking for someone to pay to fix my app so I can either reload the scene or go to another scene when the button is clicked at the end. I also need it running  for an iPhone 4 and 5. I have a MacInCloud account to test on when it is done. I use the windows version myself. Let me know if anyone can help.

Thanks

Warren