helena's Forum Posts

  • Indeed. Nice it has been covered.

  • Ashley it worked before when I had the files manually set up like this:

    and

    What do you think? Why would it work like this but not in the streamlined version?

    In this we got the filenames from the roll down list, but in the streamlined used another type, that is called URL instead. To me it looks same enough, but maybe different code behind?

  • AllanR Thank you for taking time for me.

    I followed your advice with the adding spritefont number counting down the tiles as they go, and the scale.

    I noticed that when it won't work it could be 6 to 20 tiles left and sometimes one of these tiles would be way off on X (but still within the 32 px increments) all had proper even 32 pixel positions.

    I then tried to figure out why I added one to the Maparray width, but I could not. I removed it so it matches the other arrays.

    Then it seems to be working properly. Have tested like 30-40 times but I might need to do some more.

    So you are probably right, some rogue data got into this extra array space and caused problems.

    Hopefully this is it.

  • Hello again.

    With help of this forum I streamlined the level loading process. Localhost worked great all the times.

    Then I decided to upload "evening's revisions" to website, and I got this error thrown out:

    DOMException [SecurityError: "The operation is insecure." I have narrowed it down to the file loader.

    Is it possible to use this streamlined method with some tweaks or do I have to go back to the old method I had, with 1 event line per file all chosen manually.

  • AllanR you are right, I forgot portions of related events. I am sorry for it. I have now made a new screenshot of basically the whole event sheet, removing just the very non relevant events.

    OddConfection I have now changed just to be sure.

  • Ok bad subject name, sorry about that.

    I have been trying hard with this one.

    Once in a while maybe 1 out of 20 times, the fade out would finish but not execute line 94 (and its childrens).

    I have tried many things. Added "on fadeout finished", changed the number of TileSprite.count to 3 and some other things.

    But the problem still persists. Line 96 won't be executed. As said, once in a while only. Mostly often it works well!

    95 and 96 aren't the problem because 94 won't even be touched, I have verified that by adding browser.log msg.

    I suspect it might be something else.

    What do you think?

  • Thumbs up to you!

  • And it would be nice if it wasn't cpu intense too as I am checking up to 600 sprites every 0.2 second

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Let's say we have these coordinates.. 0x32, 32x32 etc..

    How do we check that there's NO sprite there, that is, it is empty? (and then proceed with events from there)

    Pick Sprite overlapping (32, 32) will pick all sprites on that place. But if there's none, how can I get returned as such that there's no sprites there?

    I am sorry for asking daft questions. My search-mojo is not the best.

  • yes, it will work for C3 but not C2. But yeah always good to have many options for the printout which expands for many possibilites.

  • Yes, but it is good to know if it has been thought out so there's proper css applied for the printout so if you want for example dark background on the screen it won't get printed like that but clear and dark text to save ink. For example. Small but important things.

  • korbaach

    I have used your example with some modifications and it works! Thanks.

  • Yes, I know. I have requested that one 3 years ago but it was either neglected or said that it is hard to modify GUI of C2.

    So that's why I am doing this request again now for C3.

  • I am adding Pause effect to my game.

    I wanted to add Webgl effect, how do I apply to all layers, I have seven, with exception for the topmost one?

    Adding to the layout also affect the Pause text which defeats the purpose.

    Adding individually to the other 6 layers is tedious.

    Any suggestion to make this more streamlined?

  • I wonder if it is possible for Ashley to add event line number as system command, so it can return the event line to a variable?

    Idea is to make a better debug, for example Browser.Log -> "Event number: " & EventLine

    Or maybe it is all moot after the output to javascript losing the event lines?