Zendrael's Recent Forum Activity

  • Editor scripts aren't loaded in the runtime, and adding it to the file list doesn't by itself load it anywhere.

    See specifying dependencies - you probably want to use an inline-script dependency.

    Hi Ashley,

    It worked if using the C3 Runtime, but how can I also do this for games that use the legacy C2 Runtime (on Construct 3)?

    Thanks

  • Hello!

    I'm trying to create a plugin which will call actions from a JS file (inside the addon package). How can I manage to load this file without rewriting all of its JS inside the instance.js?

    I added it to the "editor-scripts" and "file-list" of the addon.json but when I call a function of the file inside an action in the actions.js it drops an error that the function (of the file) is undefined.

    What am I doing wrong?

    Thanks

  • Just worked by choosing to not preload sounds.

    Topic can be closed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • Hello everyone!

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

Zendrael's avatar

Zendrael

Member since 27 Mar, 2017

Twitter
Zendrael has 1 followers

Trophy Case

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

Progress

9/44
How to earn trophies