irina's Recent Forum Activity

  • did you seen this title?

    http://store.steampowered.com/app/107200

    it somehow looks like carbon copy... <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • R0J0hound

    Thanks!

    R0J0 saves the day once again!!!

  • R0J0hound

    Yes, that was mine first bet... than i realised that it dont work as one would expect so i reported a bug...

    https://www.scirra.com/forum/layer-scale-is-broken_t153679

    (i am using not just scale of layer but also a canvas snapshot in combination with its own resizing...)

  • Hi

    my project is like crossword puzzle where i pin individual letters to large image that is empty crossword puzzle.

    i have problem when i want to scale that large image... all my letters lose their pin spots...

    how can i scale all my sprites like layout scaling does?

    any solutions to this problem?

  • so it works as expected with:

    Fullscreen in browser to Off

    Fullscreen in browser to Crop

    ...scale in , scale out, letterbox scale and letterbox integer scale show reported odd behaviour.

  • Colludium

    thanx! ...so is this still a bug or just mine wrongdoing?

  • Just discovered this problem on my project...

    iw tryed with layer scale but it seems that layer scale is broken... :8

    i just reported that bug.... https://www.scirra.com/forum/layer-scale-is-broken_t153679

    anyone got solution how to properly scale pined object aswell and preserve its relative position?

    help!!!

  • Try Construct 3

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

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

    layer scale does not scale layer as one would expect

    Attach a Capx

    https://dl.dropboxusercontent.com/u/169390986/PUB/layer%20scale%20error.capx

    Description of Capx

    2 objects, each on its own layer... when layer 0 get scaled both objects move and change positions

    Steps to Reproduce Bug

      use mouse wheel or arrows up/down to scale layer 0

    Observed Result

    when layer 0 gets scale input, objects on both layers change

    and i see that both layers viewports change also...

    Expected Result

    i expect that scaling goes only for layer that gets scaled

    Affected Browsers

    • Chrome: (NOT tested)
    • FireFox: (YES)
    • Internet Explorer: (YES)
    • NW.js: (YES)

    Operating System and Service Pack

    win 7 pro 64 up to date

    Construct 2 Version ID

    latest stabile 212.2

  • 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.

  • AndreasR

    small problem in this logic...

    this example sucessfuly changes variable but it wont change/correct localstorages value it self (wich is what i need).

    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...

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

  • 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?

  • 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...

    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...

    HELP!!!!

irina's avatar

irina

Member since 26 Apr, 2013

None one is following irina yet!

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Email Verified

Progress

14/44
How to earn trophies