Magistross's Forum Posts

  • You could make your own trigger that fires every time the player changes tile. You need to code how each tile ID react when entered and exited. Here's an example.

    https://dl.dropboxusercontent.com/u/700 ... eTile.capx

  • Hi there fremachuca!

    Interesting, I thought I thoroughly tested this command, seems I was wrong! I will troubleshoot when I get time and come up with a fix and explanation as soon as I can. Stay tuned!

    edit: Seems like it was an error of implementation instead of an error in the template. I did not receive more feedback from fremachuca so for the time being I'll assume no fix is necessary.

  • You should use ViewPortLeft/Right/Bottom/Top and specify for which layer you want the coordinates. ViewPortRight(0) gives you the y coordinates of the visible right edge of layer 0. If layer 0 is not your UI layer, it will not work correctly. Also, since you are using a System Condition and not actual "Frames" conditions, I recommend you add "For each Frames" and put all 4 events under it, otherwise, unwanted behavior will most likely occur.

  • It's working! Good job learning some new tricks.

  • Yes you could, although it quickly becomes inefficient as the tilemap size increases.

  • Yes, although to achieve that you need to put the movement behavior on the family itself, not its member.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Two arrays" is indeed the right way to do it. You also need to have variables to compare the best lap time vs the current lap time when you pass the finish line. If current time is less than the best time, then copy the "recording" array onto the "playback" array. An easy way to do it is to use PlaybackArray.Load(RecordArray.AsJSON), and then you can reset the RecordArray and start recording anew.

  • Don't use "request project file" and simply use the filename as the URL and add a query string to it. If using a post request, put the query string in the "data" box instead. Can't test it right now but it should work.

  • Everything seems in order, it might be a caching problem client-side. Could you try adding a random parameter in your AJAX request? It would fool the caching mechanism into believing they are distinct request and actually execute them every time.

  • It could be that the XML file you update is not the same as the XML file in the project. What is this the update process looking like ?

  • This code snippet provide a quick way to generate UUID.

    http://jcward.com/UUID.js

    You could use browser ExecJS to use it or wrap the snippet in a simple plugin with a single expression.

  • (floor(random(5))+1) * 2

    or

    choose(2,4,6,8,10)

  • It isn't right. There is an action that mirrors the sprite but none that revert it back to normal. Simply add a "Set Not mirrored" to the other event and it should be ok.

  • Nice looking! You really seem to know what you're doing! Can't wait to see it all in action.

  • No problem, hope you figure a way to deal with this.