dop2000's Forum Posts

  • The time should only matter if there were other random operations performed in between. If you set the seed immediately before generating the land terrain, it should always come out the same.

    I don't know your game, but you can probably prepare lots of random seeds for the entire level and store them in an array. When you need to generate or re-generate a chunk of land - get a seed for it from the array and run your land generation code with this seed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had Worker set to Auto in my project, seems like for some reason it defaults to No.. Can confirm that when I set it to Yes, the issue goes away.

    Still the debug view in System tab is really sluggish. Even though the FPS is 100, the mouse cursor lags, all actions are performed with a noticeable delay, the character continues moving for about a second after I release all keys on the keyboard.

  • No 3D features in my project either.

    I think maybe the amount of information on the System tab is somehow important. In my experiments removing a layer sometimes helped. But again I tried creating 50+ layers and hundreds of variables in a test project and couldn't reproduce this bug. The debug view became slower, but was still running at comfortable 30-50 fps.

    tarek2 As I mentioned, I had this problem in an empty layout with no event sheet attached and no object instances (except for a few arrays, jsons etc.)

  • Yeah, I'm on the same Chrome version. And I found two other users on another forum who have the same issue.

    I wanted to report this as a bug, but I couldn't reproduce it in a test project, it feels kind of random. One layout in the project may work well and another very similar layout may be terribly slow..

  • This issue started happening today, but I remember someone else mentioning it. When previewing a large project in Debug View, some layouts are extremely slow, running at 1-5 fps.

    Here is an example - the layout has 10 layers, but no sprites or other graphics. And even no event sheet!

    If I remove just any one layer, FPS immediately improves to 90-100.

    Also only the System page is slow, as soon as I click any object or any other tab, the FPS improves.

    Like I said, this started happening today. I have been developing this project for the past year and the debug was always working fine..

    Anyone knows how to fix this?

  • You need to use system time here. Check out the Date plugin - it has Date.now expression, which is a system time in milliseconds. Save the system time on start of layout in a variable, and then you'll be able to calculate how much time has passed and update your clock on the screen.

  • There must be an explanation. Maybe you accidentally set a blend mode or something like that.

  • Check that the object and the particles are on the correct layers. Or maybe there is another event which moves the object to the top of the layer on every tick.

  • You need to enable Unbounded Scrolling in layout properties.

  • You need to enable Unbounded Scrolling in layout properties.

  • According to google, it's a temporary file created by Chrome. I'm guessing you were saving the project and the process got interrupted for some reason. It should be safe to delete it (if you can)

  • base64 or something like URLencode() will make the text unreadable, but many people will still be able to easily decode it, there are plenty of online tools for that. Encryption is a much better protection, but of course still will not help against an experienced hacker.

  • You can encrypt the files after export. And decrypt them in the game before loading the data into arrays.

    There are a couple of addons you can try:

    construct.net/en/make-games/addons