Small Update – SoundScape1.3

Just a quick update managed to put a build of my game onto my android tablet to test buttons, display size, general working status on another device with a lot of success! I had an issue with the script declaring that most of my scripts were undefined and weren’t recognised by the java parser for the android tools. I fixed this by finding a solution online that indicated I needed to insert var at the beginning so going from
script = GetComponent(Artefact2SoundOn);  to
               var script = GetComponent(Artefact2SoundOn);
This is so the java parser which has apparently become more stringent since earlier builds can recognise unitys script function as a type now to cut a long story short.
I also had to code the buttons for the player movement which I got a some info on from various places around the net the best source being at which was an answer a member of the community gave about emulating keyboard keys using GUI buttons. The actual solution came as telling the GUI buttons to emulate axis inputs. So the code basically said take Horizontal and Vertical as variables, Store these return values in the variables. Then if the GUI buttons are pressed and created basically Do axis corresponding to whichever set so move the player along an axis. I had to change the order for the W key (Walk forward) as the code was executing axis 1 before the animation which was playing the animation every frame so I called the other object with the walk animation for the collider first and moved the to before the script was checking for input/existence each frame and voila working contorls!
Blurry shot of menu working on dev build
Working Dev Build Menu
So stuff to do today, Finish off level 6, Write an AI code – I MUST DO THIS! Start an asset spreadsheet of sounds needed per level. This must be completed by today/tomorrow latest as I need to get onto the sound design very soon.
Stuff to do in the immediate future: Change UI layout to be more user friendly, Add GUI skins, Add voice description of menus, Enlarge buttons in menu,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s