Dayvid86's Forum Posts

  • Hi,

    I have 138 here, and it doesn't work if my object is above the canvas (and the canvas below), the canvas must be above the object for it to work !

  • No one can help me and tell me if there is no way to simply copy an image from one canvas to another canvas?

    Because reading the pixel-by-pixel image of canvas 1 and then copying the pixels onto the second is a very time-consuming step!

    Maybe the possibility to add a specific function

    to do it in another version of C3?

  • Hi Skdf, I'm French

    I didn't know this game, it looks very fun, but it's not in French:(

    I'd like to help you, but I don't know how to do what you ask.

    Would you like to do a similar game again?

  • Also, isn't there a faster way to do that ?

  • Thx :)

  • Good,

    After many attempts, I finally succeeded not without difficulty.

    Can you tell me why it only works if my

    source canvas is above my sprite?

    -----------------------------------------------------------------

    Bien,

    Après de nombreux essais, j'ai fini par réussir non sans mal.

    Pouvez-vous me dire pourquoi ça ne fonctionne que si mon

    canevas source est au dessus de mon sprite ?

    drive.google.com/open

  • Hello,

    How to copy the image in one Canvas to another Canvas please ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you, do you have an example please ?

  • Doesn't anyone know? :(

  • Moi aussi je m'amuse bien.

  • Hi, how to do it (Especially this one.):

    Get the color of the pixel at the mouse position.

    And this if you know:

    Get the value of Red (between 0 and 255) in a number (color), ex: Red (2456584) = 8

    Get the value of Green (between 0 and 255) in a number (color), ex: Green (2456584) = 37

    Get the value of Blue (between 0 and 255) in a number (color), ex: Blue (2456584) = 124

    Get the value of Alpha (between 0 and 255) in a number (color), ex: Alpha ( 2456584) = 0

    Convert an RGB or RGB color into a number, for example RGB (123, 45, 159) = 10431867, RGBA (123, 45, 159, 200) = 18446744072780459387

    Convert an entire hexadecimal value, for example, Hex (1234567890) = "499602D2".

    Convert a hexadecimal number into a number, e.g.: Val ("$ 10FFFFFFFFFFFFFFFF") = "73014444031".

    Conversion of an unsigned integer in a string, for example StrU (-929092229) = 18446744072780459387

    Convert a string into a number, for example Val ("102410241024102410241024102410241024") = "1024102410241024 '.

    Convert a character string in binary format into a number, for example Val ("% 1000") =" 8'.

    Convert a number into a single number, for example Bin (32) = "100000"

    Translated with deepl.com/Translator

  • Nacra, yes, I suspected it and I understood it, but it's a bug anyway!

    Thank you to you!

  • Salut Lernox, pour le moment je me contente de comprendre comment fonctionne C3 en faisant quelque petit projet pour le tester, GD ne répondais pas à mes attente tous comme la plupart des logiciel d'ailleurs !

    Je débute donc c'est encore nouveau pour moi, mais j'adore, C3 à des fonctionnalités très poussées !

  • I didn't understand a word of it!

  • I have identified the problem, it is because of the origin of the point, if the number of pixels in width or height are not divisible by 2 and the point is in the center, then there is a problem of rounding, so the image is badly displayed!

    It's a bug!