Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Code that crashes Fuze when run

    Bug Reporting (FUZE 4 Nintendo Switch)
    2
    7
    347
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wanderer1412
      Wanderer1412 Donator last edited by

      I have a modified version of the project "pong" that comes with Fuze. When this modified version is run (F5) it crashes out of Fuze back to the Switches home menu (after a message "The software was closed because an error occurred")

      How should I report this?
      Can I send my code somehow?

      Advice welcome!

      1 Reply Last reply Reply Quote 0
      • M
        MikeDX last edited by

        can you show us what you changed to cause the crash please?

        if you are unsure, you can share it with me and I'll take a look.

        1 Reply Last reply Reply Quote 0
        • Wanderer1412
          Wanderer1412 Donator last edited by

          How do I share it please?
          I selected "program options" (X) then "Share Program" (A)... but it didn't seem to do anything?
          (There's 194 lines of code)

          1 Reply Last reply Reply Quote 0
          • M
            MikeDX last edited by

            that's shared with your friends.

            drop me a pm with your friend code so i can look you up on the server (and let me know the name of the program!)

            1 Reply Last reply Reply Quote 0
            • Wanderer1412
              Wanderer1412 Donator last edited by Wanderer1412

              Hi Mike,

              I think the problem is caused by the use of nested structures...

              struct bat
              int x
              int y
              int w
              int h
              endStruct

              struct player
              bat bat
              int score
              endStruct

              I just shared a fixed version of the project called "Verbose Pong" which removes the nested structures and it then works without crashing Fuze

              Regards
              Martin

              1 Reply Last reply Reply Quote 1
              • Wanderer1412
                Wanderer1412 Donator last edited by

                I just found another one
                This crashes Fuze...

                screen = { gWidth(), gHeight() }

                But this works....

                x = gWidth()
                y = gHeight()
                screen = { x, y }

                I'm making all sorts of syntax errors I know...all part of learning :-)

                Great product though... even with enevitable early glitches.

                1 Reply Last reply Reply Quote 0
                • M
                  MikeDX last edited by

                  please keep these reports coming, they will only make it better for everyone! :)

                  I will make sure they are added to the issue list the devs use

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post