Wishlist
-
This post is deleted! -
What we need to get to OOP is mostly struct + lambda, and we're missing the lambda. Doing e.g. class-based message dispatch wouldn't be too hard with lambdas, and with multiple code files / IMPORT or whatever, we could write it once and use it whenever.
-
I would like to chime in and agree, as well as add an idea to hopefully implement write and open and both seq. and r.a. file operations perhaps ?
-
@MikeDX
Hi Mike,I want to be careful to avoid coming off as too negative on this, but respectfully, being forced to use one file is just painful. Code re-use is important: having to highlight a mountain of code and copy it into every program that uses it is not a good solution. Arguably it's even a bad habit.
I agree that the default workflow should expect that most users will be kids using just one file. But sometimes you get an ambitious kid who wants to do a bigger project; should we make that harder than it needs to be?
If this is about "Nintendo doesn't want us creating and deleting tons of files in the underlying Switch filesystem," there's a simple solution: use one (actual) file, and present it as though it were multiple files to the user. Let us have some kind of REQUIRE or INCLUDE command so we don't have to scroll through thousands of lines of copy-pasted "library" code.
Example underlying representation (actual file on Switch) for clarity:
<project name="foo"> <file name="scanner"> //big pile of code here </file> <file name="parser"> //metric ton of code here </file> <file name="fuzeInFuze"> require("scanner", "parser") // a ton more code, followed by an educational... metacircularityLesson() </file> </project>
-
@Jonboy I almost forgot: when I get a syntax error, it helpfully tells me what column it happened in. Perhaps on the far right end of the bar at the bottom of the edit view there should be a column indicator?
-
@Zero-Division I had my own version of upper() and lower() posted in the Hints and Tips thread if you wanted to look at my versions.
-
While we can see the overall free memory for our projects, that includes space for images, music, models, etc. With all the recent "stack overflow" errors cropping up, maybe we could have the option to preview the amount of memory available to just code and variables? Would help when seeing if there's potential memory leaks, imo.
-
It would be nice to be able to collapse function definitions, structures, loops and the like. Extra wish: The ability to define one's own collapsable range of lines (something like "//<<" and "//>>" as start- and end-tags).
-
If not already mentioned:
-
Ability to read other character values such as backspace, tab etc. What standard is used I don’t care, so long as a I can read other keystrokes from the keyboard buffer.
-
Easy one: Press UP/DOWN arrow or joycon button while at the top/bottom of bookmark list jumps to opposite end of the list. I’m getting a lot of bookmarks now and it’s slow to simply scroll to the end even the bookmark list (albeit faster than in the code window).
-
-
-
When you have the help menu open, while coding, the screen will scroll to the right when you enter code, so most of your code isn't visible anymore. This only happens when the help menu is open. Does this make sense? :)
-
Maybe support for vertical screen orientation.? :)
-
Please make the code colored in the tutorial section of https://fuzearena.com/help/ like it is on the Switch itself.
-
I don't know what it's called, but in other coding languages, when you for instance change the name of a variable, the name will change everywhere in the code where you have used that variable
-
-
Id like to request ability to reuse your own assets in many projects. Ability to seperate code into different page tabs. Code wise it would be treated as one program but more visually appealing.
-
We're aware of the desire for splitting up the code into multiple files and / or tabs. We need to give the editor some additional work once we've got some of the initial bugs out of the way.
For asset reuse you can already do this. It may not be exactly how you are thinking but you certainly can. Create a project for your shared assets only and then when you create a new project you can copy any that you wish to re-use into your new project. It's not the same as referencing the assets directly of course but it has the advantage of allowing you to make small changes in the inheriting project.
-
@Martin yeah i knew about that but really that is a waste of space. That would be like copying the content of a function and pasting it several times whenever you call the function in your program. You also have the advantage of making changes to an image and it would apply to all programs that use the image. Would be nice to have the option but i do see an issue of sharing as fuze would have to copy any images that were linked this way before that project can be shared.
-
Going back to the roots of Fuze, and teaching kids to code... I've been thinking about how I first started and it was all about typing in the code (starting from the Spectrum manual, and swiftly moving on to magazines)..... Sharing programs with friend codes, and even the possibility of some future curated server based content is all well and good.. but what about having a page of simple games listings to type in?
-
what about having a page of simple games listings to type in?
I definitely like this idea, but I do fear that the patience for typing in 1000 lines of code or more (10,893?) might be long gone. And then that will lead us straight back to "would be great if we could copy / paste from PC" - which has all sorts of problems and restrictions.
I'm sure we'll definitely give this one some thought however.
-
@Myddrak I like the idea, perhaps a section on the forum where we can share small but useful functions? I know the hardest thing i struggled with initially was jump mechanics and collision detection, would be great to see "Tiny Demos" where we can share how we tackle these challenges
-
@Martin Agree that they'd need to be short.... but the Pong and Invader demo games come in at about 70 and 250 lines each.... think that type of thing would be perfect.
-
This post is deleted! -
It's a long shot (as I've no idea how it'd work)... but it'd be really cool to have some sort of gesture editor (for motion control). Maybe performing the same gesture multiple times to get a good representation, and functions that can be used in game that can return a value to indicate how close a movement is to the stored gesture?
-
Would it be possible to have repeated presses of "Home" alternate leaping to the start of the line and the start of the tabbed in area, with "CTRL-Home" going to the top of the file-- so, like how text editors work in general? Right now I keep accidentally and repeatedly leaping to the start of the file by hitting "Home-Home. That darned muscle memory is difficult to break!
This is all on a USB keyboard by the way-- I don't have any intention to ever use the touch one, maybe the behavior is different there.
Another nice-to-have would be for the editor to allow for "SHIFT-CTRL-HOME", and "SHIFT-CTRL-PGUP"-style selections. I use those constantly in normal text editors, and it's missing here (although you can do "SHIFT" and the arrow keys at least).