Inconsistency between GameSalad Preview and Publishing on GameSalad.
In my project, I play music and it works in GameSalad Preview.
Also when icons are above a certain y value (outside of screen), it Change attributes x and y so it's starts back at bottom of screen and move slowly toward the top again which also works in GameSalad Preview.
But when i published on GameSalad website, the icons just move toward the top and then don't start back at bottom again, i even tried putting the rule (if y > 1200) check inside a timer that executes every 0.1 seconds which also continues to work on GameSalad Preview on local PC. but doesn't work on publishing to GameSalad website.
Does anyone know why? or what I have to do to get it to work like on my local GameSalad Preview (when you click the play button)? Thanks in advance.
Comments
Preview is not meant to be an exact example of how a game will perform. One it's running on a computer, more ram and bigger processor. The viewer app is also not a perfect example as it is an emulator. The only way to monitor true running is to do an adhoc build. This is all common to game development.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I've not released anything for a while but i always tried to make the games run smoothly on the older supported devices probably more of a personal challenge than a necessity but my reasoning was if it runs fine on older devices you should be ok with newer ones
How do I do an adhoc build? Also I wanted to attach my project for people to see if they can help but don't know here to upload my project files to.
You publish it out and do a straight install. this is what is know as an adhoc.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
If anyone wants to help me figure out why it runs differently when published to gamesalad site.
and here's how it runs on gamesalad website.
arcade.gamesalad.com/games/131914
The play music in my "speech" actor isn't working on gamesalad publishing.
The timer that checks to see if position y in my "icon" actor isn't working either.
Oh well the site is another whole issue. That's HTML 5 which can be laggy depending on your connection and the arcade isn't the greatest.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@The_Gamesalad_Guru.
I am planning to buy the GameSalad Pro for a year subscription so i can publish to android.
Do you think android will be functioning closer to what i see in Gamesalad... I am worried that it'll bug out like the arcade.
You need to publish on a device to see but device performance is no comparison to arcade. device is way better.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I hope it's the arcade that has all the unwanted funkiness... I tried to publish to arcade before with a prototype and the clouds are all stuck on the left quarter of the screen. Then i uploaded again and it fills the screen like it's supposed to. So I was wondering if it's a glitch in my uploading, for this project i uploaded like 5 times already but the unwanted funkiness won't go away.
@tintran I bought the pro subscription just to publish and test it on a device and it works great, its not glitchy and it works just like the gamesalad preview , my game is really heavy too and it has many constrains and many actors in the scene , it worked well on a samsung galaxy tab 3 and samsung galaxy s4 and s5 , in the arcade it was laggy and glitchy so if your worried about that , and you want to test it out yourself without the pro subscription you can always use the android viewer , the outcome is the same as a published apk game for android.
EDIT : The only problem i faced was with the sound coming in like 0.5 second late .. like when i pick up a coin in android devices the sound is a bit slow to start, but it is not that noticeable.
I got the android viewer apk installed on bluestack...now how do i get my project into that? oh i think i have to start gamesalad on my computer just trying to follow the instructions now.
I got the android viewer apk installed on both bluestack and my uncle's google nexus phone as well all connected to the same wireless router. and have GS Creator opened on my computer but i don't see an android button and it says "Connected to wifi GameSalad Creator not found" on my viewer. I tried restarting the viewer, and GS Creator nothing it keeps saying
"Connected to wifi
GameSalad Creator not found"
any ideas? EDIT: found it
okay i had to go into GS Creator->Tools->Install Viewer support.
But I have a question on my GS Preview I set it as Iphone 5 Portrait. but when I view it on android, it shows it as landscape mode which chopped off the top and bottom of my Iphone5portrait view and it showed things that are outside of the camera view for example i would see the walls that i created outside of camera and parts of the clouds outside of camera would show too...
so how do i make it so that it would show in portrait mode and not show out of camera items in the android viewer?
Oh and the music is still not playing in the android viewer for some reason.
found something that might help with my landscape/portrait orientation in the comments of this post:
forums.gamesalad.com/discussion/86323/working-on-android-device-free
Edit: Yep, that was it for the orientation (2nd comment) so simple yet i was expecting by choosing Iphone 5 portrait it would select that for me.
Now I just gotta figure out how to get music going.
Couldn't figure out why music wouldn't play on android viewer.
But it does play sounds (.ogg files)
So I used Audacity to convert the .mp3 file to .wav,
and when i added it to GS Creator, it converted it to .ogg file so that I could play it as sound using Play Sound and set to "loop" and "run to completion".