Need help :( Mac preview different than GS Viewer preview

Hi everyone!

I created a level select scene, and it is set up so that you must first complete the previous level before unlocking the next one. Pretty simple and straightforward.

When previewing on the Mac, everything works as it is programmed - all levels except the first one are locked. You finish this first level, the next one unlocks - and so on. However, when using GS Viewer to test on my iPad, ALL the levels are shown as unlocked from the start.

After I put so much effort in this game, I am getting pretty desperate. Nothing seems to make the level select scene behave the same way on my iPad GS Viewer as it does on the Mac preview.

I would appreciate any advice that you might have... :(

Comments

  • TheGabfatherTheGabfather Member Posts: 633

    The Viewer isn't perfect, and it's just an emulation.

    There are some bugs that show up in the Viewer when they shouldn't (e.g. auto-rotate), while a quick Google search shows that there are also some bugs in Preview that won't show up in Viewer.

    When you notice things like what you experienced, it's still best to test it via ad hoc to see if it still happens there. Anything that happens in ad hoc testing, WILL most probably happen in the actual game downloaded from the Appstore.

  • BBEnkBBEnk Member Posts: 1,764

    Just a thought here running game in gamesalad on your mac doesn't save anything but the viewer might. So if you tested with all levels unlocked it may be reading that saved file from before and unlocking your levels, or maybe even if you had a adhoc with unlocked level maybe it's reading that saved info.
    I've noticed with my Ad-Hoc test I have to delete the old game so it takes out old saved info such as levels unlocked,ETC.

  • PaxtonPaxton Member Posts: 89

    @TheGabfather‌ thanks for the tip, I did not know about adhoc testing - I will research the topic and give it a go. This is my very first app.

    @BBEnk‌ you have a souns theory there, after you complete each level there is a save attribute feature with a certain key. Then, that key is loaded with the initial splash screen (my very first scene). But the thing is, if on my iPad I never played the levels to hit that save attribute in each level, how come the load attribute in the first scene unlocks everything from the very start?

    When I get my hands on my Mac again I will tinker based on your idea. I'll post my findings here, in case someone else has this issue (I doubt it's only me).

    In the meantime, any other thoughts are appreciated. It's my first app, you definitely are better at this than I am.

  • PaxtonPaxton Member Posts: 89

    I managed to solve the problem by using @matarua‌'s suggestion from another thread: deleting all of my previous game versions from the GS Viewer. After that, I simply injected the game into GS Viewer again, this time without any historic traces of it on my iPad. It basically solved the problem in under a minute. I really hope that this will help others as well.

    Now, back to researching how ad-hoc testing works! :)

    Thanks guys, I learned something from all of your comments. I will definitely keep the info in mind for the next stages of my GS project.

  • mataruamatarua Auckland, New ZealandMember Posts: 854

    @Paxton great to hear you got it solved, been there myself.

    Tables are like Excel spreadsheets that you can write and store data in and extract and write data from.

    They make a lot of things very easy.

    Take some time to go through some of these videos...

    https://www.youtube.com/results?search_query=gamesalad tables&sm=3

    That should help a lot, and there's stuff on publishing on YouTube too.

    Cheers, M@

Sign In or Register to comment.