dop2000's Forum Posts

  • You need "Invoke download of string"

    Also, you can't use "Add to" with text variables, it only works with numbers. You need to use concatenation operator & :

    Set DetailedReport to DetailedReport & .....

  • I agree, Drawing Canvas doesn't produce uniform gradients..

    You can always draw it yourself, line by line (Using DrawingCanvas Draw Line action). It will look like this:

  • Try this:

    Clear canvas with rgba(100, 100, 100, 100)

    Fill vertical gradient with rgba(0, 0, 0, 0) to rgba(0, 0, 0, 100)

  • Michelangelo_Lite Do you have any links proving this?

    Sprites with lots of animations can certainly use more memory, but I believe it's the number and size of images that matter, not the number of animations.

  • Noah. If you need animated tiles, there are not many options.

    You can use multiple tiles in TileMap as animation frames and change them with events:

    construct.net/en/tutorials/animated-tilemap-871

    But if there are lots of different images with lots of animation frames, it would be easier to use sprites.

  • It's a single action - "Browser invoke download of string", string is your text variable, MIME type "text/text".

    What error do you get? Please post your code.

  • Excel natively opens CSV files, they even have Excel icon when MS Office is installed.

    Exporting to CSV is easy, you simply build a string (put all values with commas and line breaks into text variable) and do "Browser invoke string download".

    .

    Not sure if sending to Google Spreadsheet will work in your case. It's supposed to send data to one table, I don't think you can't create a separate sheet for each user.

  • The easiest way is to export it in plain text format as comma-separated values. CSV files can be opened with Excel, Google Spreadsheets and some other software.

  • .....

  • Where did you find the link, what's the file name? Could you post a portion of the file with the URL string? If it's somewhere in JS code, you may be able to change the target.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • rokstars322 You need to apply two gradients one after another.

    Yeah, I wasn't sure why pasting object didn't work immediately, so I simply added 0.1 wait. Your version is cleaner :)

  • Because I have nothing else to do this nice spring Sunday evening, here is my version:

    dropbox.com/s/pe01tn06ac08cxk/PickerHSV.c3p

    .

    rokstars322 I see you are in this post, please re-download my file, I've updated it.

  • It's not easy to make such nice and smooth trail effect with standard features in C2. You would probably need to draw it on Canvas or use some other addon/effect.

    You can make a simple trail effect by pinning Particles object to your sprite. Set particles speed to 0 and other properties as you like.

    Try searching this forum, there are lots of posts about this.

  • Noah. As I understand, this color wheel only shows colors with 100% luminocity, you also need some slider control for luminocity/brightness.

    .

    Here is how to make HSV color picker:

    Clicking on the bottom sprite gives you Hue number (from 0 to 360), you need to measure the relative distance from the left of the sprite.

    Clicking on the top sprite gives you both Saturation and Value numbers (from 0 to 100).

    In the above example I got H=157, S=86, V=70

    After converting to RGB: R=25, G=179, B=120

    .

    There are two tricky things:

    1. After clicking the Hue sprite you need to read clicked pixel color and update the SV sprite with the same color. SV box actually consists of 3 sprites on top of each other. Solid white sprite at the bottom, with "Set color" effect. And two gradients on top of it, you can make them in Photoshop or Gimp - one horizontal gradient from transparent to white, and a vertical gradient from transparent to black.

    2. Converting HSV to RGB requires some math. You can find it in google.

    Or you can simply read RGB color of the clicked pixel the same way as in NOAH's example with Drawing Canvas.