Xeeko's Recent Forum Activity

  • Yeah, it's kinda hard to explain, it's a really weird problem, never experienced anything like it. Here's how it looks:

    This is the event sheet of the first layout (I doublechecked, it's the first, and that event sheet isn't included anywhere else.

    That works, and it loads the game to whatever layout was the latest (all the levels use the same event sheet, and it's not included anywhere else). This is the first events (there's no load event anywhere else in the project).

    This too works, and I get to the menu, with everything saved. In the menu you make this choice, which also works and everything is as it should.

    Here's the inspector after loading, everything works.

    It is after that, any event that goes to another layout (I tried different ways) that causes the game to freeze.

    I'm not sure how browser logging works? I tried looking in the forum and manuals here, but couldn't find a good explanation.

  • So I'm not sure if this is a bug or not, but anyway.

    The way my game is set up is that the first layout of the game is a just an empty layout, with two actions on the sheet:

    On start of layout > load game from slot "xxx".

    And If load failed > Go to layout "Menu".

    At the start of each level (each level is a separate layout using the same event sheet) I save the game to slot "xxx".

    The first Action in the event sheet is, On load complete > Go to layout "Menu".

    This works as intended, and I can go to my level select menu and choose level etc, however, now any action that is to go to another layout (be it a specific one, go to next, etc) just doesn't work. The game freezes, and everything in the inspector disappears to shoing any layout information, or any objects anymore.

    If I start the game from the beginning with an empty save slot, everything works, until I quit the game, and start it up again.

  • But ok, if it's a known problem I'll find some other workaround then. Thanks for the help!

  • I would try giving the objects slightly rounded edges:

    I tried that exact solution, still the same problem, although slightly less often.

  • I'm making a game where you rotate a layer to move the player around. It's using physics, but sometimes the character seemingly getts stuck on the edge of blocks, and I'm not sure how to fix it. Currently both the player and the platforms use bounding box as collision. I've tried using a custom collision with edges, but that doesn't work either. Using a cricle collision solves the problem, but the the player doesn't rotate at all, which is not what I want. I've tried changing the stepping, but regardless of which setting I use the problem remains. Here's a video of the issue, you can see the player get stuck on what should be a smooth platform:

    youtu.be/5iu9zsL3KN0

  • I adapted the solution to my game, and it does indeed appear to solve the problem. Thanks again BigBuckBunny!

  • Thank you BigBuckBunny, will try it when I get home!

    And yes, the track is exactly 9.6, down to the millisecond.

  • Oh, and I’ve used a global value that everything in the game syncs to, a global value, “beat” (in this case 2.4 since the track is in 100bpm). So start of frame, loops start playing, and the tween starts, moving using said “beat”.

  • Well, I discovered it during global game jam this weekend, that game can be played here, it had the mechanic I’m describing: jm-j.com/bubblewave

    Granted, that one has multiple things happening which might eventually cause things to get out of sync, I’ll post a simplified example later. That said, I guess what I’m looking for is a way to reliably “reset” things to keep them in sync, or a method that just keeps things in sync. In other engines when I’ve made rhythm games I’ve moved stuff using deltatime and that works, but I haven’t figured out how to do that in Construct yet. I figured the tween function should have been a good equivalent of that.

  • So I'm trying to create a rhythm game but can't get it to work properly. I searched the forum and seems people have had issues with before. I looked at the example files (the rhythm game ones), and I'm using the same method.

    Basically, I have audio playing that is exactly 9.6 seconds long, set to looping. Alongside this I have a graphical object that rotates using a tween so it does 360 in 2.4s (1 bar), also looping. It works at first, but after a few minutes it starts to drift and eventually goes out of sync, and I've tried everything to get it to work. I tried resetting the tween so a new one is created each 2.4 instead of 1 continuously loop, or the tween restarting each time the music file loops, but to no avail.

    I also tried having several separate audio tracks play at the same time, but they remain in perfect sync.

    Basically, is there a reliable way to move an object in sync with audio, for longer times?

  • Isn't it a demand if you wanna submit for Apple Arcade though?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm seeing references to a plug in: construct.net/en/make-games/addons/20/game-center

    And documentation, but I can't find in anywhere: construct.net/en/make-games/manuals/construct-3/plugin-reference/game-center

Xeeko's avatar

Xeeko

Member since 18 Apr, 2015

None one is following Xeeko yet!

Connect with Xeeko

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies