We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Join procedure puzzles to other puzzles

Home Forums Bug Reports and Feature Requests Join procedure puzzles to other puzzles

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #79598
    c4cc
    Participant

    puzzles-procedures-create

    Would be better if procedure puzzles could be attached to other puzzles, in order to increase FPS and to reduce browser memory consumption

    #79609
    xeon
    Customer

    I believe there are unique purposes for procedures that require them to not be “connectable”. The procedure calls are connectable.

    Could you give an example why you feel this would be beneficial? I don’t see how FPS is affected unless your puzzles inside the procedures are written in such away that your logic is causing a slowdown. Same with memory consumption.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #79610
    c4cc
    Participant

    I noticed when I join my puzzles together, even when stacked below each other, FPS is significantly improved like hell

    #79614
    xeon
    Customer

    If you scene is optimized and your puzzle logic is clean and memory controlled (no infinite loops) your use of procedures will not affect your FPS in any meaningful way. However if your puzzle structure is created with a lot of open or free floating puzzles, then grouping them would be helpful. I personally do not let any puzzles exist outside of a procedure except for my initialization set of puzzles. This ensures I am controlling the flow of execution vs letting the position of the puzzles determine the execution order. In doing this I have always been able to get FPS of 60 after loading in to memory. Based on your code examples for your project you are going to have a tough time keeping a high FPS because you are using more than one “every frame” puzzles and its questionable whether all the things being requested can be completed in less than 1/60 of a second. It probably takes longer….thus limiting your FPS.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.