Kyatric's Forum Posts

  • You do not have permission to view this post

  • It's likely that in a few hours the example will be posted, Yann is pretty active on the forum.

  • You do not have permission to view this post

  • Extract from the how do I FAQ

    Visual Novel/Dialogues example - LINK

    It's not exactly a dialog system as you intend it, since it just stores and display some text lines, not really allowing for the user's input.

    Yann made an example opening a txt file and displaying lines out of it.

    I'm sure he'll be glad to post it around.

    For the loading time, I'm not sure hundreds of text lines will be an issue, not even sure a thousand would be.

    In Space Jinx I implemented a hundred lines in actions and nothing is noticeable on the startup.

    The longest thing to load/download at first is still the art of the game, not it's "binary" datas.

    The dialog system you want to put in place can be tricky though. I guess for each sentence, you would have the string itself, X possible answers, a reference to the sentence the current string is an answer/following for.

    I'd still stick for the array (even possibly 3D).

    Or, once Yann has posted his file, the filling of an array from an external txt files.

    You might also want to check the csv plugin, that might be of some help as far as serializing goes.

    You might also consider the hash table plugin that provides ways to import/export keys and values if I'm correct.

  • And why not simply a random(0,car.AnimationFrameCount) ?

    Example capx

  • You do not have permission to view this post

  • You do not have permission to view this post

  • That probably would.

  • In the manual article:

    he WebStorage object allows data to be stored in two places: Local storage and Session storage.

    Local storage is permanent (until the user clears their cache). If the user comes back the next day, local storage still has the saved data.

    Session storage only lasts with the current browser session. If the user comes back the next day, session storage is empty again.

  • As I said, I don't own a phone that allow me to test this further.

    Experiment from this cap using the manual.

    The idea is to check the current tilt (on right to left and front to back axis) and simulate the sprite control according to the axis.

    To be sure, on start of layout check thet device orientation is supported.

    If it is you should be able to tweak in the touch object's expressions enough to figure it out.

  • You do not have permission to view this post

  • Lady Ashley will be delighted and no problemo <img src="smileys/smiley2.gif" border="0" align="middle">

  • Commented example.

    I don't have a phone, so I wasn't able to test it, but it should work.

    Also the manual entry about the touch object should be of help here.

  • Geo: There is the Call javascript custom plugin that allows to call external js.

    Nathanial: I think wrappers should handle webstorage as basicly it is an embedded browser.

    Check this topic. The last pages turns around the wrapping subject. You might get some useful informations there.

  • Thanks Geo for the pointing out.

    I totaly didn't see the star at first and had no idea this was what needed to be done to "upvote" the bug report.

    I edited the first post of the other topic to add this notice.

    Thanks.