multiply

  1. 2

    Legacy GM How to Avoid Looping with Div and Multiply in Example

    I'm using a while loop because I need to keep adding a value to two variables until a condition is true, but this might be possible without looping using something like div and multiplication. That could greatly reduce time for processing several of these type of things in my code that are...
  2. T

    GML How to multiply with comma values?

    Hi, I need your help again, to get things started :) In my little test Project I wanted to multiply some values for Money. I got the numbers 1598 and 13.76 which I stored in strings. Now I did try to mulitply like this: res = real(string1) * real(string2); // maybe using 'real' here is the...
  3. R

    Shaders Looking for a Multiply Shader

    Hi, The artist i'm working with applied a cool effect on his photoshop mockup using a layer set with the blend mode "Multiply". As I already managed to create an Overlay blend mode shader, I'm looking forward to have a multiply one as well ; problem is, finding good documentation about it seems...
  4. B

    Building a Rotation Matrix

    So i re-wrote the multiplication code and jazzzar is right the order was off. After i did this i made x,y variables for the camera and x,y variables for the position. Create After i did this i decided to rotate with the camera by multiplying the camera position matrix - 'var_pos' * rotation...
Top