I'm Very Disappointed in Game Salad's Previewer
LuMa Games
USAMember Posts: 129
Today I did my second Ad Hoc test for my iphone game. The first test went well, but this time I added SFX and half of them dont even work. Not to mention my screen will randomly flash white and the "screen shake" function I added doesnt work the slightest bit. In the previewer everything works great. Any thoughts?
Comments
Have you tried copying the table, deleting the original and then renaming the copy back to the original title ?
I dont understand what you mean, I dont use tables
Admittedly it was just a guess.
Oh well, I'll mess with it later tonight. I can't wait for Graphene to come out.
My thoughts... from your description you are trying to achieve some basic tasks which for sure works fine in GS... the title you have given this forum thread suggest that the fault lies in the tool when it does not. You should be looking deeper at your logic/rules/programming instead.
The only reason I disagree with you is because everything works how it's supposed to in the previewer
To create a counterbalance of thoughts:
If he says that everything works well in GS Preview, but stops working in Ad-hoc, then that sounds like an issue not related to the logic, since otherwise it wouldn't work in GS Preview.
the previewer is notorious for being more forgiving than the viewer or adhoc builds. The previewer will allow bad rules to fire were the device will go crazy.
We see it most often when scenes don't load, it's usually traced back to a rule that is missing an attribute.
Your gonna have to do some real debugging. Take things out one at a time and see what happens.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Graphene is not the Holly Grail. What you have can work. I agree with @jonmulcahy. You have an error somewhere.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I really hope that is the case, and nothing is wrong with GS
I have found that 99% of programming faults are my code and not a GS bug. If I am at my wits end and no one in the forums can help me solve it I submit a support ticket and if it is not a bug I usually get a clue back from them. The only problem with this solution is it can take awhile.
As others have said Creator is far more forgiving. Your computer is generally way more powerful than the best device and will run bad processor heavy logic where a device can't. As said start the fun of taking things out one at a time and ad hoc test until you find it. It may also be in several places.
I don't know what you level of GS programming skill is but if you are a novice click on The_Gamesalad_Guru "Video Tutorials" link in his signature above and watch the series on Logic. It will help you understand logic better and debug you project.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
I have a couple months of experiance, so not too much. I think one of the most important things GS should strive for is having a completely accurate previewer. Because debugging just takes SO much longer when I have to ad hoc any time I want to test if I fixed the bug(s).
Not sure how they would do that, the performance of an iPhone 3 is vastly different to an iPhone 6 and it would be slow to develop in. Anyway it is not an issue when the code is structured correctly.
Most of us including me jumped straight in and when we hit a road block then did some study. Sounds like your at that stage. Watch the logic series and then go back and check your code. You will probably be able to sort out the issues yourself and cut out a lot of the testing.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Alright, time to get to work
Here's an update: I messed around with the layering and fixed the white flashes. Logically, what I did shouldn't of made any difference but I thought I'd give it a try and it ended up working. I also changed which actor was giving off the sound effect and that fixed one of the sounds, i'm still working on the rest. And as far as the screen shake, I have no idea what i'm going to do about that
Sometimes things get corrupted. If a sound doesn't work delete the behavior and replace it with a new one. Layers and order in actors make a difference as code fires from top to bottom in actors and bottom to top in layers.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS