winstreak's Recent Forum Activity

  • Not game performance. The time it takes to do any actions in Construct 3. It makes a Huge difference!

  • Event sheets are included so I could start a new event sheet simply to reduce lag. I would keep all of my code on 1 event sheet if it didn't get so laggy after you got several 100 events going.

    Figured out my issue - Thanks for the help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have 2 event sheets. Event sheet 1 is including event sheet2, and event sheet2 is including event sheet 1.

    I try to call a function that in on event sheet 2 from event sheet 1 but the code never makes it to the function.

    Are we unable to call functions across event sheets or do I have to do something special?

  • You do not have permission to view this post

  • Will do, Thanks for the fast response!

  • My setup:

    Sidescroller type game. Character stays still while badguys whom are pinned to the Background move towards the hero. Background speed is set to move based off the heros move speed. On collision they stop and fight.

    At high MS they will go through each other. I have tried setting them both to Solid but it didn't help.

    I have 2 workarounds I will add, but I was curious if there was a better way to force stop them.

    I am assuming they just move past the hero by the time the system checks aka a tick happens.

  • Then I wont waste time on it! :)

  • The amount of every tick actions I am using is starting to pile up. I doubt I am anywhere near a noticeable amount yet, but down the road who know. So I was hoping to start fixing it now before it's a big problem.

    As of now I have a few layers, while one is visible the other layers are invisible.

    Would it be helpful if I put an every tick for each layer instead of one that is overarching.

    Example

    Every Tick

    Layer 1 is Visible -> (Do X Actions)

    Every Tick

    Layer 2 is Visible -> (Do Y Actions)

    Would this save the program from reading each X action if layer 1 is invisible? Would it help?

  • I just reloaded them both the same way I did my last one. Things are working fine now. Not sure if they were just uploaded wrong or I can't play .wav.

    Either way this fix works for me.

    Thanks for your time!

  • I added a new music piece. This one is a .webm

    I have no issues playing this one.

  • I have tried "On start of layout" Play

    This was done with no other Events that played or stopped sound and still nothing happens

    (Though yes, the way it is in the picture seems like it would overplay. I added a once per True to each)

  • Looking to add sound (music now, effects later) but hear nothing when I test.

    I have the Audio Object added to my project.

    I loaded 2 different .wav files to my project.

    These are stored under sound so they preload with my preload sounds checkbox checked. (I did move them to Music to test but it did not fix the problem)

    Under Project Bar I can right click and preview the sounds and they play.

    My code (shown below) should play 1 song at start since Layer 0 is visible and 4 starts out hidden. When entering a dungeon 4 gets hidden and it should play the 2nd song after stopping the first song. Essentially go back and fourth.

    Previewing my Project produces no sound. I am using Chrome and updated Construct 3.

    -Also tried on start of project play "song name"

    -Also tried to play from Firefox.

    /shrugs not sure what else to try

    As always any help is appreciated!

winstreak's avatar

winstreak

Member since 4 Dec, 2019

Twitter
winstreak has 11 followers

Connect with winstreak