AndreasR's Forum Posts

  • I must say I'm very frustrated by LocalStorage, I have tried switching my project over to it from WebStorage and really having trouble. I retrieved a lot of data from WebStorage from within functions, and this just doesn't seem to be supported now, as every retrieve needs a separate trigger which I can't put inside my functions. The GetKeyAt expression only allows you to grab a key by number rather than name, which is no use to me.

    Is there really no way to just retrieve a key by name from within a function and then use that value? As an example, I just want to run a function, retrieve the height and width of an array from 2 LocalStorage keys and then run loops using those 2 values. This was very easy with WebStorage, but now it seems like I'll have to do something extremely complicated just to accomplish the same thing. Unless I'm missing something?

    Hi,

    the problem about LocalStorage is, that you have to fetch the key first in order to get the information behind that key. This makes it more complicate than using Webstorage.

    I managed it the way that I load the LocalStorage on the start of the layout into an array. Then during the game I'll enter the updated variables first into the array and then the array to the LocalStorage.

    If a further function needs a specific value, I will fetch it from the array, not from the LocalStorage.

    Maybe this helps you for your project.

    Regards

    Andreas

  • i have variable in sheet one

    but sheet 2 is not getting sheet 1's update value

    Please provide always a capx example, otherwise it's nearly impossible to say what your issue is.

    Regards

  • The ads only work in the final apk version, not in preview.

    Regards

  • Ebenfalls Servus,

    I guess you will address more people with english tutorials than with one in german. If you keep it simple every German with a little english knowledge will understand you

  • Nice! Congrats!

    My stuff is selling well too!

    megatronx

    Thank you! Nice to hear that it works out for you, too Wish you great success!

    It's always good to see a success. Congratulations

    glerikud

    Thank you!

    ---

    Like mentioned above now my complete portfolio available on scirra is on sale (50% off)

    https://www.scirra.com/store/sellers/andreas-r-14

  • AndreasR

    Hi Good Friend!

    Congratulate your 1000th sales on scirra store.

    You seem to succeed in the scirra store.

    Nice!

    Wish continuous luck to you!

    Sang Ki Kwon

    cranberrygame

    Thank you so much!

    Congratulations and thanks for your kind words! Glad the store is doing well for you

    Tom

    Thank you You're welcome!

  • Wow, congrats, man!

    That's an impressive mark and success to you and your team.

    Thank you so much

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thank you!

    Recently I have reached our 1.000-th sale on Scirra!

    I want to use this to thank all our customers for supporting us! This would have not been possible without your help! We really appreciate every single purchase. Moreover I want to thank scirra giving us the opportunity to upload my assets and templates to their store.

    But words aren't enough, so I will start a 50%-Off sale for all my items available in the scirra store on the upcoming staturday (03. Oct 2015, 00:00 AM).

    Here I want to thank a few persons.

    Ashley

    Thank you for your awesome game-maker Tool Construct 2. Game developing has never been easier than with Construct 2. Thank you!

    Tom

    Thank you for the opportunity to let us sell our templates and asset in the scirra store (also applies to Ashley of course). Also I want to thank you for your kind support. You always had an open ear for my suggestions and issues! Keep up the great work, both of you!

    cranberrygame

    My old friend, what should I say. You are the person providing the most useful plugins for us. I just want to thank you for all your hard work and service you have provided us since we met. You are an awesome person! Stay the way you are! I wish you only the best for your further projects.

    At the Scirra Community:

    I never have worked with a nicer or better community than the one from scirra. Every user I’ve met was kindly and cooperative. Thank you for that! Stay awesome guys!

    Get involved!

    You can read more in my blog post (& and win some free redeem codes of course).

    So head over to https://shatter-box.com/?p=14340 and share your opinion/feedback.

    THANK YOU ALL!

  • I opened a poll where all people can vote for their Game UI.

    Vote now: https://goo.gl/UgQYXd

    The UI with the most votes will be set to 70% off in the scirra store (for 10 days).

    Stages

    The more voters the more discount!

    • > 50 voters: Whenever the poll has reached more than 50 votes the seccond item will be set 20% off, too.
    • > 100 voters: Whenever the poll has reached more than 50 votes the seccond item will be set 40% off, too.
    • > 200 voters: Whenever the poll has reached more than 50 votes the seccond item will be set 40% & the thrird to 20% off, too.
    • > 500 voters: All other UI’s will be set to 50% off, too!
    • > 1000 voters: All Game UI’s will be set 70% off, too.

    Free give aways

    Moreover I will give away 5 free copies (one per email address). The 5 Winners will be randomly chosen on 31. Oct. 2015 and notifed here and per email.

    Just leave a comment on the vote page above with the Asset you wish (choose from here: https://www.scirra.com/store/sellers/andreas-r-14).

    No Limits, you can choose whatever you want from my items.

    Good luck to you all! Feel free to share your thoughts here or on the vote page!

  • Modern Game UI #4 — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-graphics/modern-game-ui-4-1334

    <h3>Description</h3><div class="deshr"></div><p>Get a feature-rich Game UI made with Adobe Photoshop CS6. Check 'Features' to see what you get.</p><h3>Demo</h3><div class="deshr"></div><p>You find screen shots of all included stuff on our demo page (link listed below under 'Demo')</p><h3>Features</h3><div class="deshr"></div>

    • Separated .png files (SD & HD quality)
    • Diffrent styled buttons (color & form)
    • All .psd files to edit text & color
    • Support and Updates for free
    • All fonts are free and included

    <h3>Pre-Sale questions?</h3><div class="deshr"></div><p>Use the comment area please.</p>

    Use this topic to leave comments, ask questions and talk about Modern Game UI #4

  • Version 1.1 is on upload. Buyers will get notifed via mail when the update has been approved.

    Changelog can be found in the download folder or above in the first post.

  • Hello,

    you just can add your ads code there (if you are using AdSense, just copy the code and insert it there). This field supports HTML.

    If you want to create mobile games you must use AdMob or other mobile ad networks.

    How to insert them depends on the compiler (Cordova, Canvas+ and so on).

    CocoonIO: https://shatter-box.com/knowledgebase/c ... document-7

    Cordova (Intel XDK): https://shatter-box.com/knowledgebase/a ... creen-ads/

    Regards

    Andreas

  • rexrainbow does a very nice time/date plugin - or you could just manipulate the returned string (left$?)

    Already have thought about the manipulation, but the date format differs from each device isn't it?

    So it would be the best to only fetch date & time

    can you attach a link to the mentioned plugin?

    Thanks!

  • Lordshiva1948

    The function results the time like "Sat Sep 26 2015 11:23:42 GMT+0200 (Mitteleuropäische Sommerzeit)"

    Is there a way to get only "Sep 26 2015 11:23:42" or only the date "Sep 26 2015"?

    I'm not familiar with JavaScript :/

  • AndreasR Easy like this

    https://www.dropbox.com/s/vdg5w036m00lu ... .capx?dl=0

    Exactly what I needed <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Thank you!