dop2000's Forum Posts

  • So it happens only when switching to death animation by this event?

    You didn't expand it on the screenshot, so maybe there is something wrong inside of it. Or somewhere else in your code...

    Rename Fade behavior on the boss sprite to a unique name like "FadeDeath" and search for this name in all event sheets.

    If nothing helps, as a workaround you can add an event that will disable Fade behavior on frame 0 of death animation.

  • Layout size needs to be bigger than window size, or you need to enable "Unbounded scrolling" in layout properties. Then use ScrollTo behavior, Shake action.

  • I have no idea. You are sending the whole array in JSON format. In this case you need to process this JSON string in the google script. I don't know how to do it.

  • You can use "Wait for previous actions to complete" before picking objects.

    Nicolas Wak No, "Wait for previous actions" works only with asynchronous actions, which are marked with a clock icon. I don't think it will help with picking newly created objects.

  • Have you seen this template? I believe it does exactly what you want.

    https://editor.construct.net/#open=animated-spritefont-effects
    
  • There were some logical mistakes in your code.. As I understand, the circle sprite with Solid=enabled was supposed to indicate an occupied cell, but you never re-enabled Solid, so the end of the game was only detected when a second circle was spawned at the same cell..

    Anyway, please see my version:

    dropbox.com/s/rdzug7useh2e6j1/finishedpoke2.c3p

    Note, that I removed Solid behavior and temporary disable collisions when a new circle is created instead. Also, I changed collision polygon of the circle.

  • When you start "death" animation, do you start it from the beginning or from current frame? It may be possible that when the "alive" animation is on frame>15 and you switch to "death" animation from the current frame, that's when it triggers the Fade, and then "death" animation restarts from the beginning.

    Add another "Browser Log" to the event where you start Fade, it may help to understand the issue.

  • You do not have permission to view this post

  • Your picking event is wrong. You need something like this:

    System For each Head
    	Hand compare instance variable Family=Head.Family
    		Hand set position .....
    
  • I would try disabling big chunks of code and try to find the exact event that's causing this error. I vaguely remember seeing this error before (edit: found it), I think it had something to do with layers, z-sorting..

  • I don't know. It may be possible with some addon.

    Or maybe upload or send the file to some webserver, and give user the download link. (or open this link with "Browser go to url", which will invoke file download, but from the browser, not from the app)

  • assigning the Level-x-Events and including the Game-Events

    This one.

    You don't want level2-specific events in your level1, which will happen if you include all level-x-events into the Game-Events sheet.

  • I have put some actions on "end of layout" (without any loops). I have tried to destroy some objects before changing layout and I have even put a wait 0 sec to ensure the freeze doent happen.

    You don't need to delete objects (unless they are set as Global), and you definitely should not use Wait in "On end of layout" event.

    Does it always happen with the same two layouts? Try adding "Browser log" at the end of layout1 and at the start of layout2, this will tell you when the problem happens exactly.

    Also try disabling "On end of layout" and "On start of layout" events, see if the problem goes away. If it does, there must be something in these events.

    Check if you have any global objects that don't need to be global, fix them..

    If nothing helps, please share your project file.

  • Every day I see more and more spam messages on this forum. Right now the first several pages of the "C3 General Discussion" subforum are completely flooded with spam posts.

    Has the sign-in captcha been removed, or have bots learned how to fool it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The gamma-correct gradient may be mathematically correct, but it looks wrong compared to gradients produced by other tools (like Photoshop, Corel Draw, Gimp etc.) The grey area in the middle is too large. It would be nice to have a option to choose gradient method.

    Also, what is the "sprite gradient" everybody is talking about in this thread?