eli0s's Recent Forum Activity

  • Ashley , the "Shake" action, or anything that moves the scrollx,y position, will affect all layers in the same way (taking into account any parallax offset). On the other hand, moving layers individually would allow for example one layer( and all of its Sprites) to move in one direction and an other layer (again with all of its Sprites) to move in an other direction. This will create a very "earthquaky" shake, especially when parallax offset exist between foreground and background layers. And that's only one example. I think that having control over the layer's position (as we can do already with it's angle) can provide some cool opportunities, however, I don't think it's something essential or that it will elevate C2's (or C3's) workflow to a new level.

    I would much rather see a proper masking system, or a 2.5d camera/world positioning system, that will make a difference to me!

  • Ashley , the first think that came to my mind when I saw this post was earthquakes! Moving all Sprites on a layer together interdependently from Sprites that live on other layers can have great potential I think. Also, linking layer positions to sine behaviors could create very interesting movements. What Kyatric wrote is also true, the way parallax works now is weird, it doesn't allow for accurate control, everything "shifts" from to 0,0 coordinates and many times I find my self wishing for the offset to happen from the actual scrollx, scrolly positions (relative post here).

    It is a suggestion that has nothing more or nothing less that what I said, potential.

  • Anyone else getting this error in Chrome for Android when previewing?

    Javascript error!

    Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

    http://192.168.1.3.50000/

    preview_prelude.js, line 189 (col 21)

    (after that the standard prompt about a C2 bug or 3rd party plugin follows...)

    I get this when previewing even a blank project over LAN! I think it started happening a few days ago without any apparent reason. This happens on both r200 and r206 stable releases...

    -EDIT- For some reason the option for storing cookies in Android Chrome was disabled in my device. Enabling cookies solved the problem!

  • ryanrybot ,

    tomsstudio ,

    TheDom ,

    vtrix ,

    DUTOIT ,

    So, after thinking about what Ashley wrote, I made this test capx (right click and choose Save Link As) that proves him right

    It's very crude and ugly programming-wise but for the time being it does the job! Just check inside for the relative info!

    Thanks again for your time and effort!

    Elias

  • tomsstudio , thanks for this tip, however as you said, this won't be practical as the project goes on, and anyhow, changes might happen even after I finish the project and I want the users to know about the updated version.

    TheDom , thank you for your interest and for volunteering, meanwhile Ashley provided a solid explanation, I'll try adopting his suggestion.

    vtrix , I am glad I wasn't the only one baffled by this, thanks for notifing Ashley, now we have a solid suggestion!

    DUTOIT , Ashley posted a reasonable explanation on why my events fail to trigger the update notification. Thank you for your input!

    vtrix , I am not qualified to answer about how it does check for the update. I think it compares the appcache file and if there are changes the update happens on the background. Maybe your game doesn't look like it's being updating because it is big in size and by the time you give up reloading the page the files still haven't been downloaded/updated...?

    Ashley , thank you for jumping in, your input is invaluable, I' ll try modifying the way my project begins to allow for the browser to catch up...!

    Thank you all for your help!

  • ryanrybot , I see. This is surely functional. I might just take this approach for now. It's just weird that the intended (?) update method doesn't work. I wish it did, or even that I am doing something stupidly wrong in my events...

    Anyway thanks for helping!

  • ryanrybot , I didn't knew that, thanks for the tip! Is this a standard function in all browsers?

    Up until know I didn't mind about this, because every project I did was for personal reasons and I was sending the published links only when it was 100% finished.

    But now, this is happening in a very iterative manner, I make some things, I upload, I get the feedback and so on... It's a nightmare not knowing if the version you are seeing is the one you are suppose to!

    Have you made an auto update system of some sort? How do you handle updates with your users..?

    Thanks again for the tips!

  • Hi TheDom , thanks for answering. What I am trying to achieve is a way to inform the user: when a newer version is uploaded, how much it has being updated and when to reload the page in order to see the changes.

    I thought that the whole purpose of the tutorial on the link above is to build an update system that takes away the hustle of clearing the cache from the user.

    In fact, I absolutely can't have the users digging into browser settings and searching for cache every time I make a change, this is a nightmare to give instructions on how to do in all browsers and I want the procedure to be as automated and streamlined as it can be...

    My question is why the system that I am showing on my post above doesn't work, what I am doing wrong...?

  • Hello, based on what I read here, I've created a layout with the following events and set it as the first layout:

    1) Browser | Is downloading update ----> Set text to "Please wait, updating... " & loadingprogress * 100

    2) Browser | On update ready -----> Set text to "Please, reload the page..."

    3) Browser | Is NOT downloading update -----> System | Go to Layout 2

    I am constantly changing and uploading the project to my ftp (this is part of the creation progress / getting feedback from my clients), but the whole update system doesn't work. After a change has been made and I upload the project to the ftp, the same version as before is running after I hit reload. If I wait a bit and hit reload again, the new version runs but none of the previous events is shown, the second layout runs instantly without displaying any loadingprogress messages....

    Am I doing something wrong here...?

    Thanks in advance for any help!

    -Fixed- Ashley's explanation:

    ...this event:

    > 3) Browser | Is NOT downloading update -----> System | Go to Layout 2

    >

    ...likely switches layout before the browser has found out there's an update, and then the "is downloading update" condition becomes true while on Layout 2, which I'm guessing you're ignoring.

    And here is a crude demo I made (right click and choose Save Link As) that updates correctly...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You are welcome

  • A way to have more accurate selections/movement would be to Ctrl + click/select the objects you want at the Z order panel and then right click on any of the selected objects and choose "Wrap selection". Of course, if you have multiple instances of an object spread all around the layout, it would be tough to find just by its ID number.

    So, other than that, I am all for anything that could improve productivity and basic workflow issues, so +1 for something more streamlined!

  • Use the Browser object's Request Fullscreen action. This will work both with browsers and with NW.js

    See the following example: http://www.eli0s.com/Tests/FullScreen.capx (Right click and choose "Save Link As")

eli0s's avatar

eli0s

Member since 24 Apr, 2013

None one is following eli0s yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers

Progress

13/44
How to earn trophies