Xeeko's Recent Forum Activity

  • 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?

  • 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

  • Hi

    I'm developing a game that could benefit from Game Center, but I can't find a way to access it, if it's possible? Is there an addon, or am I just missing something?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Why'd you advice against physics?

    I did try line of sight with reflection, but got the same result as with physics.

  • Yeah, that is something that happens when tweaking the walls too much, the ball suddenly change directions and it feels unnatural

  • I thought about that, but couldn't get it to feel natural. Maybe I'll have to experiment a bit more though.

Xeeko's avatar

Xeeko

Member since 18 Apr, 2015

None one is following Xeeko yet!

Connect with Xeeko

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies