Zendrael's Forum Posts

  • Hello!

    Just exported my game to iOS and it is working ok, also ok on the web BUT when I export to Android, the app on the emulator and on any phone stops at the loading screen... And, sometimes, stays on a black screen but the game is working in the background (I can interact, listen, but nothing is shown)...

    Any ideas of what is happening?

    Thank you!

  • No... That's the same as "transpose" feature in Excel:

    https://chandoo.org/wp/2013/02/01/trans ... l-formula/

    For clockwise rotation try this:

    For x=0 to Array1.Width-1

    ...For y=0 to Array1.Height-1 -> Array2 set at

    ............X:loopindex("y")

    ............Y:((Array1.width-1)-loopindex("x")

    ............value:Array1.At(loopindex("x"), loopindex("y"))

    (This is just off the top of my head, not sure if it's correct)

    Thank you! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

  • Rotation should be easy enough:

    Array2 set size to (Array.Height, Array.Width)

    For x=0 to Array.Width-1

    ...For y=0 to Array.Height-1 -> Array2 set at X:loopindex("y"), Y:loopindex("x"), value:Array1.At(loopindex("x"), loopindex("y"))

    Thanks!

    Can I use it to rotate clockwise or counter-clockwise? (I need to do both).

  • Hello!

    Is there some way to do array math operations like rotating, summing, subtract etc... ?

    I need to rotate an Array (yes, the values in the matrix) and sometimes sum this array in another array.

    Any info/tutorial on this?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everyone!

    I'm Zendrael, web game developer and just registered waiting the Construct 3 to be on public beta!