DiegoM's Forum Posts

  • First of, what you are trying to do is called "scraping".

    I don't think this is possible straight from C3, because no browser will allow a cross domain request if the server doesn't have the proper headers on the resource you are trying to fetch. Since you don't own the website you want to get the information from, you won't be able to set those headers.

    What you can do to get around this is to write a server side application which would not be bound to browser rules, make the request from that application and then have some endpoints on it which your client application can retrieve the information from. Since you will be in control of this server application, you will be able to set the 'Access-Control-Allow-Origin' on it.

    Of course the server application will not be made in C3. I will not go into detail on how to do any of this because it really isn't a C3 issue at this point.

  • Sorry about that, I saw the previous post and thought it was only the image. As others have said, there doesn't seem to be anything wrong with the project. So it has to be something specific to your system.

    Have you tried loading smaller images to see if that works properly? I still think it would be worth making sure you have the most up to date graphics drivers.

  • Can you share your project? It is impossible to help in these kind of cases otherwise.

    When a red rectangle is shown in the layout it means that for some reason C3 is not able to create the texture it needs for display.

    What is the device you are trying to run C3 on? If it is an older computer or a low end mobile device it might just not have enough memory to generate the texture. Maybe your display drivers are not up to date. It's hard to tell.

    Can you see any messages when you bring up the developers console by pressing F12?

  • marco33

    Follow the steps on the first post of this thread and make sure to download NW.js for Mac OS X from nwjs.io/downloads.

    All the other steps should be the same as in Windows.

  • Have you tried using the automatic backup feature? If you haven't, it can be found in Menu -> Settings.

    If it is not already turned on, turn it on. If internet stability is a problem, change the backup location from Cloud to either Local browser or Download copy. That way the saving process will not depend on an internet connection.

    Choosing Local browser will store the backups in your local browser memory, Download copy will download the backups to your system's download folder. Try them out and see which one works best for you.

    The default auto save time of 10 minutes can be changed if needed.

    As for the power, there is nothing to do about that from the software side. If the electricity is cut while making a backup, there is no way of knowing what the end result will be. Regular backups should cover for that though.

  • SwiftIllusion

    You can try changing the "chromium-args" property of package.json. Here you can find all the chromium flags you can use https://peter.sh/experiments/chromium-command-line-switches/.

  • Have you thought about just applying the blur effect when you want to do the transition?

    You show the image with the blur effect baked in, then when you want to make the transition into the sharp image, you remove the pre-blurred image and start showing an instance with the blur effect.

    Of course, if the mobile device you are aiming for is too much of potato, then it won't even be able to handle that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This looks like a bug, and not a very difficult one to fix. I'll look into it.

    For this kind of things the best is to open an issue in our issue tracker. https://github.com/Scirra/Construct-3-bugs/issues

    Follow the template to fill out a bug report and you should be good to go. In this case you have everything needed for a good report. A description, reproduction steps, what is happening and what you expect to happen. An example project is not needed to show the issue and there is no crash, so those parts of the template can be skipped.

  • psychoanima I did see this post about a month ago :P

    I implemented scaling animations in the next beta, so you should be able to try that out soon.

    I will implement the second suggestion as well as it sounds sensible, but I have a question. You say you changed the step to 0.04 seconds to achieve 25 fps animations, were you using Step Animation Mode as well?

    I ask because if you don't and the Animation mode is left at default, the step value is not applied at runtime. Or did you just set the step to help with the preview while editing?

  • I was about to suggest changing the origin myself, I think that is the best way to achieve that, anything else seems awkward.

  • I put together this simple example using the pin behaviour. You can drag the blue sprite to see that the green one follows it maintaining the relative positioning.

    https://www.dropbox.com/s/5wllu3t1zh6k5al/PinExample.c3p?dl=0

  • Expect to see something addressing this issue in the next beta.

  • I am not quite sure what is going on, but it is definitely a bug.

    I have a feeling the problem is that the timeline animation doesn't work well with the sprite animation constantly making changes to the width and height of the instance. It seems to work better if all the animation frames are of the same size, but even if you do that, it is still not perfect.

    In short, I don't think you are doing anything wrong, this needs to be fixed.

  • Do you have a test project showing the problem? Or the project you are working on if you don't mind sharing it.

  • If you plan on having multiple instances of the same timeline, you need to remember that the only way of doing so is by using the Set Instance action before playing a timeline.

    If you don't, the timeline will always affect the instance(s) that were used in the editor to create it.

    There is an example project in the start page, showing how to use the Set Instance action.