Today I spent quite a while starting my project; It may not sound like much but I made a script which dynamically creates a background, applies a texture and maps it so that it is uniformly applied (whatever the width may be); I currently have it working on the main menu, just as a test - but the idea is it will mainly be used to set the length of levels.
Also, what with planning ahead, I read up on Player preferences in a few of the books I got; I will need them for a lot of things, but the more pressing use will be for storing and retrieving information on what levels are available/done/complete. It turns out player preferences are very similar to storing information in as3, the only difference is that in as3 you can store anything; opposed to the text and numbers allowed in Unity.
Fortunately, after a little rooting around I found a script which allows loads of extra types of data being able to be saved in unity, it basically converts it from whatever it is into strings and back again; I was planning on writing something similar myself, but It is a lot less time consuming now I have found this, I can just get on to compiling stuff.
all said and done, Coding in unity and trying to figure out how everything interacts is currently insanely hard for me - Just a culture shock I imagine.
No comments:
Post a Comment