crisbucher's Recent Forum Activity

  • I'm not sure I fully understand the code but I've been working a lot with audio files recently, maybe I can help.

    Couldn't this be caused by waiting for "All preload" before muting the sound though?

  • Sorry for the double post, can't find an option to edit.

    What is the fastest format for sounds on Construct 3? I was using 16-bit WAV and they seem to be converted to WEBM when importing to Construct 3

  • Hi all!

    I have developed a Piano tiles game, however, I am having troubles to make it work with slow internet connections.

    My problem is that the game either takes forever to load (if pre-load sounds is selected), this could be caused by having 300+ small sound files on the project.

    This is what I've tried so far:

    Attempt01:

    Pre-loading all the sounds with the option "Preload sounds" on the project settings. This makes the game take forever to load on slower connections, the reason might be that I have 300+ small sound files.

    Everything else works properly.

    Link to game;

    http://abgadgets.net/HTML5Games-485132/DinoTile-465588/index.html
    

    Attempt02:

    I've tried to pre-load only the sounds of specific songs after they are selected, using a custom loading screen to wait until the preload is complete.

    However, preloading the sounds doesn't seem to work at all, they act with the same delay as if they were never pre-loaded. Also, the "All Preloads complete" condition doesn't seem to be working for me.

    No links on this one since it's not working at all. This is how I tried it;

    Attempt03

    Tried to "Play" all sounds at -300db during the "Loading" screen, then restart the layout. This seems to be working but it's very inconsistent, if the sounds don't play fast enough, they will produce a sound with a big delay after the layout is restarted.

    Here is the example for this one; abgadgets.net/HTML5Games-485132/DinoTile-1212/index.html

    As I mentioned this is very inconsistent and sometimes won't load all the sounds or it will create a big delay between the background music and the keys when starting the level.

    Any suggestions or tips would be highly appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Update01:

    I've uploaded a synced version; cbucher.itch.io/construct3-rythmtest01

    After a moment, the synchronization seems to be great.

    However, I am getting some very specific lag spikes after a while causing some notes to overlap.

    1. What could be causing them?

    2. Should I avoid constantly using wallclocktime?

  • Hi everyone!

    I started a project to recreate piano tiles but I've been having a hard time with the timing and sync.

    Using "Every X seconds" doesn't sync correctly and eventually the music (audio file) starts to lose the synchronization.

    As a first solution, I've started using the "Wallclocktime" and compare it within itself.

    This is what I have for sync so far:

    [Variables]

    ClockTimeRec = 0 - Number variable used to temporarily store wallclocktime

    TickBPM = 0.5 - Number variable for beats (currently 0.5 for 120bpm whic is 60(secs)/120(beats))

    On start of layout - Set ClockTimeRec to wallclocktime

    Then I compared it back with wallclocktime:

    [ClockTimeRec <= (wallclocktime - TickBPM)] - Trigger my event and set ClockTimeRec to wallclocktime

    After this it will wait the amount of time on TickBPM and trigger again

    This solution is working so much better but I feel like there can be a mayor improvement to this method, I'll appreciate any help to improve this and anything else in general that might help me with this rythm game.

  • Hi!

    I am new with Construct 3 and I'm trying to make a few simple games for a website.

    This is my problem, I'm trying to animate a background by looping a set of images, a GIF, video or whatever method would be best. The idea is to give a 3D feeling to the background instead of a flat surface moving.

    To explain better, he's a video of the image sequence;

    Subscribe to Construct videos now

    So here's the problem, I can't tile these images because of their difference on the left and right area (because of the 3D perspective). I tried using a sprite animation but it's laggy even on a PC.

    Looking for possible options to make this work better, so far the sprite animation just looks bad.

    I would truly appreciate any help or suggestions : )

crisbucher's avatar

crisbucher

Member since 20 Jun, 2018

None one is following crisbucher yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies