Code that crashes Fuze when run
-
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!
-
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.
-
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) -
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!)
-
Hi Mike,
I think the problem is caused by the use of nested structures...
struct bat
int x
int y
int w
int h
endStructstruct player
bat bat
int score
endStructI 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 -
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.
-
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