jabk's Forum Posts

  • 10 posts
  • Thank you thank you thank you!!!!!!!!!!!!!!! Lof you saved me, I went crazy for weeks trying to figure out why my ads don't show, and it was the permission in the build settings of intel xdk. You saved me!!!! thanks a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I found a fix for this, maybe temporary but works for me.

    If I move the sound files to the "sounds" folder instead of the "music" folder, it gives no more errors!

  • At the end of the song and when music restarts (I have looping music) this error appears, I've tried everything but keeps appearing.

    I've tried to stop all sounds, silent the sound, check if sounds play with a variable and then stop and start the sound, nothing works.

    Javascript error!

    Uncaught invalidstate error: failed to execute 'creativemediaelementsource' on "Audiocontext": HTMLmediaelement already connected previously to a different Mediaelementsourcenode.

    http;//localhost:50000/Audio_plugin.js, line 1082 (col 64) This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer

    I've tried to remove the error changing all the code, and this level 1 only plays a single sound file, the music, but I want it looping. I can't just play it once and leave the level without music, that could solve the problem though. Or, I could edit the file to make it much bigger to repeat the music in the sound file but that will be very big and make my game much bigger in size. Or, I can remove the music at all. But I really hope to be able to have some music in my game.

    Maybe i just don't know how to add it correctly?

    first I added a line that says stop all sounds when layout starts.

    Then I just added the events: "on start of layout ( plus another condition: music is not playing ) then --> play "music" looping at volume -10db (tag "music")

    I'd appreciate any help.

  • I'm going to make a total of 15 levels but so far I just made 3. There will be many different environments so I need to create backgrounds and monsters for each level.

    Level 3 is still in progress, I'm planning to add monsters flying also, or maybe the character will get the cappacity of floating in mid-air for some seconds. But I'm not sure if I should keep every ability for the next level, or just have 1 ability per level. For example level 2 gave the character double jump ability. Not sure if that should be present in level 3, or just discard double jump and add a new ability, if that would be more interesting for the player. But at the end he will have too many abilities? and for that reason the game will become very heavy?

  • I'm making a platform game, mario bros style. I'd be glad if you decide to play with it, it's just the first 3 levels (I have worked hard on it since I'm making the design and all, and fixing all problems that arise) but so far it's working as it should.

  • Thanks zenox98 my link is www dot digram dot net / juego

  • it says I can't post the link

    but I solved the problem! thanks to your advices, the debug showed me that it was creating the buttons hundreds/thousands times because I specified:

    system -- is on mobile device (event) -- system: create object leftbutton on layer HUD at (600,414)

    system -- X is no mobile device --- destroy

    so with these lines it was creating, and creating, and creating and creating the same button and when I checked the debug window it was showing 1, 50, 400, 1000 items for the same button. How can I publish the link here so you can see how the game is running so fine now?

  • thank you very much for the tips, I will check them out. My game is at it's just the first 3 levels but the first one runs fine in the PC, but very slow in the web. Will try to check what you suggest. Thanks a lot for your advices.

  • I uploaded my files to a free webhosting to test it. At the computer (PC) runs normal but online, it starts to get slower as the person plays, reaching the point where everything is so slow that the player can't barely move.

    Yes I used the "destroy outside layout" for every item that can go outside the layout, and still it gets slower.

    I also pasted outside the layout the items that I want to appear, like the buttons when the platform is mobile. I pasted those outside the window.

    I've followed other advices, trying to reduce transparencies and else. Not sure what else could be causing this. Maybe it has something to do with the timer?

    should I remove it, or maybe set times as delta time? not sure how or if that would help.

    I'd appreciate any help.

  • So i tried using the line of sight and the path movement, but its not working, and i tried many diferente ways. How do i combine the both of them?

    Tried that too and i can't make my bee follow the hero. I'm using line of sight and pathfinding

  • 10 posts