AndreasR's Forum Posts

  • Thanks for the answer,

    I cannot turn off WebGL, 'cause this can make the game slower and susceptible to unwanted crashes.

    Just try it for testing. So you see if it's WebGL or not

  • Thanks for the freebies,

    You're welcome RenatoB

  • Modular Game Template — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-fr ... plate-1287

  • I have the same issue, but only on CocoonJS and CocoonIO.

    If you disable WebGL it works

    https://forums.cocoon.io/t/construct-2-list-of-bugs/383

    Scroll down till bug 3.

  • Description

    I recently have uploaded my new game Triangle at the Google Play Store. The game play is fairly easy.

    2x Speed With this button you can double the speed aslong you are touching the button.

    Change Direction With this button you can toggle the direction of the movement.

    Shields Shows you the available shields (shields are loaded automatically, no action needed).

    Your job is to navigate the ship through the gap of the rotating object.

    I'm glad about all feedback

    Download

    Android: https://play.google.com/apps/testing/com.triangle.shatter

    Screen Shots

    About the game

    The game was build with Construct 2 r212.2 and compiled with Cocoon.IO.

    Used third-party Plugins are:

    • Cocoon GooglePlayGame
    • Cocoon Ads
    • Phonegap Google Analytics
    • LiteTween
  • Hi AndreasR how's the multiplayer request thingy coming along? Any progress there mate?

    Hi,

    yes I already have started. It's not that easy so it will take awhile. Moreover I have to prioritize my paid custom jobs. But whenever I have time I will work on that

  • Hello in my game i have diferents scenarys i set in local storage , and during the game its all ok

    but when i exit the game and i start it

    the localstorage didnt saved

    how have i start start the game with it?

    You can check my tutorial here <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    https://www.scirra.com/tutorials/1461/h ... age-plugin

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AndreasR

    Thank you.

    I must say that WebStorage is far better in this particular task.

    This was all i needed to write for this to work:

    WebStorage local key "x" <= 9 | WebStorage set local key "x" to "0"&WebStorage.LocalValue("x") and that was it, i turned my number "9" to "09".

    With LocalStorage for the same task one must use external variables, write functions and write dozen lines of code (not to mention errors that popup in both these examples).

    Thas in my book total rubbish... but if Ashley thinks that this is better who am i to argue?

    Anyway thank you for all your help.

    You're welcome

    LocalStorage isn't much more complicated then WebStorage. It's just diffrent

    Let me know if you have further questions, I'm glad to help!

    Regards

    Andreas

  • AndreasR

    small problem in this logic... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    this example sucessfuly changes variable but it wont change/correct localstorages value it self (wich is what i need). <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    when i set that global variable from 15 to 9 and set

    LS <= 9 | LS set item "example_key" to "0" & str(LocalStorage.ItemValue)

    every time i run it adds "0" in front of current value so i end up with value like: 000009

    if i add clear storage on start of layout then its allways just "9".....

    buhuhuhuhu... i miss my WebStorage... it was so simple and easy... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    PS: regarding that JS error... i run Latest stabile release 212.2

    I'm not quite sure what you want to achieve. If you save the key like "09" it must be a string. But then you cannot compare it with less or equal 9. You must converte it back to an integer first in order to do that.

    I updated the example, please check it.

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

  • AndreasR

    Thank you very much!!!

    now i see the logic of it.

    by the way... i have error in FF when i run your example

    Javascript error!

    UnknownError

    http://192.168.5.2:50002/LocalStorage_plugin.js, line 33 (col 0)

    This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.

    can you check please?

    It works fine on my end. I tested it with Firefox and it works.

    But I have the same issue on my MacBook running Windows 10. I'm not sure why this happens only there. I will update C2 and will let you know then.

    Regards

    Andreas

  • AndreasR

    can you help me out please!?

    i was used to webstorage (wich was fine by mine opinion) and now its gone and im stuch with this LocalStorage that i just dont get... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    I have numerical value stored under key "X"

    and i want to compare it and see if that value is equal or under "9" and than ad zero infront of it so that value looks like "09"

    Websorage had "compare key value" and that worked excellent for me... but no im stuck with this crapy LocalStorage and dont know how to proceed... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    HELP!!!!

    Hello irina

    I worked out an example for you <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

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

    This should work for you.

    Regards

    Andreas

  • If there are any essential features you want built-in, please suggest them. But as I outlined it is very difficult (including for both legal, technical and support reasons) to ship third party code with C2 itself.

    It would be awesome to insert the latest CocoonJS files into C2.

    So we don't have to update the plugin files after each installation of an update <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://github.com/ludei/Construct-2-plugin

    Regards

    Andreas

  • Fancy Menu Effects — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/fancy-menu-effects-1279

    <h3>Description</h3><div class="deshr"></div><p>Include fancy menu effects to your game! Check out the demo to see the menu buttons in anction.</p><h3>LiteTween</h3><div class="deshr"></div><p>This template uses the free plugin LiteTween. This plugin is included in the package aswell as a link to the author (to get always the latest version).</p><h3>Support</h3><div class="deshr"></div><p>Support & bug fixes are covered and included. You find more information about support in the package.</p><h3>Suggestions</h3><div class="deshr"></div><p>Any suggestion? Feel free to leave a comment!</p>

    Use this topic to leave comments, ask questions and talk about Fancy Menu Effects

  • My variable is NaN which I heard is "Not a Number" but I followed all the instructions:

    Screenshot of the events:

    prntscr (dot) (com) / 8d23zg

    Screenshot of score:

    prntscr (dot) (com) / 8d24lo

    What is my problem?

    Edit: So apparently I am not able to post links... So that's why the links look like that.

    Hello,

    can you provide a capx example or a screen shot of your code?

    Regards

    Andreas

  • cranberrygame

    Sorry to hear that my friend! You made an awesome job for all of us! We really appriciate your contribution with your plugins!