Qushy's Recent Forum Activity

  • Hello, I'm trying to mirror an object in any way possible and it doesn't seem to work. I have tried the mirrored actions and also multiplying the width * -1. Nothing seems to work. Is there a way to set the rotation of an object?

    Tagged:

  • You should be able to alter a few parts of the returned ImageData and then load it back in to the canvas with loadImagePixelData().

    Oh yeah I'm already doing that, but I want to keep a puzzle piece in each Canvas (I have 16 pieces). So I need to know exactly when a row of the image ends in the buffer if that's possible, thanx! :D

  • Hello, I'm using getImagePixelData to modify the pixels of a Drawing Canvas. I would like to modify some pixels in some rows and columns but not all. Is there a way to do that somehow?

  • Hello, I'm loading images dynamically in a game and I would like the new origin to be on the center of the image. Is it possible to do that somehow?

  • Is there a solution to that? I have another project where I'm trying to load images from within the project and I'm getting the same error and we have no images on the server.

  • Hello,I'm having a really weird issue. I play my game and then I restart and go to the first layout with a button. After that I try to load the Game Layout again and I get the following error:

    imageInfo.js:1 Uncaught (in promise) Error: already loaded texture

    What am I supposed to do to avoid that?

    Tagged:

  • What did you put in the URL? If the file is included in the project, the URL should be simply "filename.jpg"

    Yeah that was the problem, I'm putting "filename.png" and it gives me the error I posted, you can find the URL that it's searching at in my first post. I'm getting the images straight from the server now tho, thank you very much! :D

  • Put this before your URL:

    https://cors-anywhere.herokuapp.com/

    Example:

    https://cors-anywhere.herokuapp.com/https://i5.walmartimages.ca/images/Enlarge/094/514/6000200094514.jpg

    Will this work for any URL cause for the pics in the project I get a 404 error.

    Thank you so much for the reply! :D

  • Hello, I'm trying to load an image that is in the project and I'm getting the following error in the console

    	Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://editor.construct.net/r204-2/preview/112_necklace.png. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
    

    If you see, it's the construct preview URL, the file "112_necklace.png" exists normally in the Files/Content folder. Am I missing something here?

  • Hello, I'm trying to the image point of the origin from a sprite and the result is always 200, 150. No matter where I put the origin.

    This is my code:

    imagePointsX = puzzle.x + piece.getImagePointX(i); imagePointsY = puzzle.y + piece.getImagePointY(i);

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I was wondering if I can set the animation frame of a sprite through code and if so how?

  • What the first action ("Go to URL") is for? You need to remove it. The rest looks ok to me.

    Thanx, the problem is that the queries return NaN. Can I define the browser URL so I can get the required data?

Qushy's avatar

Qushy

Member since 2 Jul, 2020

None one is following Qushy yet!

Trophy Case

  • 4-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies