Knubbellttv's Forum Posts

  • Hmm, If I place it like here at the "score=3" event, it doesn't count anything.

    If I disabled the "trigger once" it counts infinite :(

  • What are good tipps to reduce the memory usage?

  • thank you for responding!

    the trigger event is simple. If a globalVar "score" reaches f.e. 5, the game ends and the array loop should be triggered. that works, but it does not stop looping. How can i tell him to only loop once?

    I've tried "trigger once" but it doesn't work.

  • Hi,

    I've a problem counting through the array.

    My array is x=99, Y=1, z=1

    If an event triggers ingame it writes a number into the array.

    when the game ends I need to loop through the array an count the amount of X-fields which have a number. All not filled array fields are still 0 (empty?)

    So I've made:

    System -> For "" from 0 to array.width -1

    --> (subevent): System Array.At(Loopindex)>0

    --> (event): Add 1 to globalVar

    Result: It counts infintly :(

    I've also tried things like System Array.At(Loopindex)NOT= 0 or System Array.At(Loopindex)<100

    What is my thought error?

    Hi,

    I've made some quiz game for fun and all works fine.

    Then I've added some soundfiles to the event sheets which I've had uploaded to the sounds folder.

    Make a preview and all works.

    then I've added some music to the musics folder and placed a playlist "on layout start". Construct 3 crashes immediatly then andd I have to save the project local.

    I've restored the local file, preview and it crashes again.

    So I load the project from the cloud where it is without the music but with the sounds.

    When I preview now, nothing happens. the popup comes and it doesn't load.

    I've tried to to make a desktop.exe form the project and the game works fine. But at the construct 3 online editor the preview and the debug layout still not working.

    To test it, I've deleted the sounds in the sounds folder. and the preview and debug works.

    But I want sounds and music in my game. So who can help me please to find my errors? :(

    PS: I'm also happy about performance tipps for my beginner code :)

    I've uploaded the latest c3p file here: easyupload.io/36nfam

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I've made some quiz game for fun and all works fine.

    Then I've added some soundfiles to the event sheets which I've had uploaded to the sounds folder.

    Make a preview and all works.

    then I've added some music to the musics folder and placed a playlist "on layout start". Construct 3 crashes immediatly then andd I have to save the project local.

    I've restored the local file, preview and it crashes again.

    So I load the project from the cloud where it is without the music but with the sounds.

    When I preview now, nothing happens. the popup comes and it doesn't load.

    I've tried to to make a desktop.exe form the project and the game works fine. But at the construct 3 online editor the preview and the debug layout still not working.

    To test it, I've deleted the sounds in the sounds folder. and the preview and debug works.

    But I want sounds and music in my game. So who can help me please to find my errors? :(

    PS: I'm also happy about performance tipps for my beginner code :)

    I've uploaded the latest c3p file here: easyupload.io/36nfam