A simple question :


  • F

    You can’t, unfortunately.

    https://fuzearena.com/forum/topic/1182/backspace-on-the-virtual-keyboard-not-detectable-using-getkeyboardbuffer/2?_=1618314248380

    As a workaround, you could perhaps map the Delete button to your backspace functionality instead...



  • @EvanTropFun said in A simple question ::

    @toxibunny NNNNOOO in the fuze keyboard you know ?

    showKeyboard()

    text = getKeyBoardBuffer()

    How use backspace ?

    This is an interesting question so I experimented with chrVal and saw that Shift also does not return a value. I haven’t tried all the red keys yet.

    Is chrVal the best way to determine which keys from the virtual keyboard can be captured?



  • I also have a simple question: I hope it is Ok to ask it here:

    I see in the Command Reference and the Programmer’s Reference Guide there are commands for creating, reading from and writing to files. I haven’t tried the commands yet as I have these questions:

    I do not see any commands for listing a directory where these files are stored, nor do I see a command for deleting files.

    So I assume that the files are saved with the project and deleted when the project is deleted? If that is the case, is it assumed or has the code actually been checked files are not left behind?

    Also, if files are associated with a project, does that mean other projects I create on my copy of Fuze locally cannot access those files?

    Thanks.


  • Fuze Team

    @NextWithoutFor Good questions. Hope I can help

    The save data file for programs is simply a string which is written to and read from. It is saved when the close() command is called.

    You cannot delete the save data string as F4NS currently stands. Instead, you must write over the desired data with space characters.

    The save data functions will likely see some big improvements in the future - but as it currently stands, this is the way it works. Very simple.

    To answer the second half of the comment, the save data file is specific to each project file. If you write some save data, then submi tyour program to the code sharing and it was downloaded by another user, they would have a version which contains your save data. For this reason, the Showcase Gallery games have their high scores wiped before uploading to the Gallery (otherwise they'd have terrible high score attempts by me in them :D)

    You are correct, other projects cannot access another project's save data.



  • @vinicity said in A simple question ::

    You can’t, unfortunately.

    https://fuzearena.com/forum/topic/1182/backspace-on-the-virtual-keyboard-not-detectable-using-getkeyboardbuffer/2?_=1618314248380

    As a workaround, you could perhaps map the Delete button to your backspace functionality instead...

    I am glad the question was asked as so far I have discovered that the Home, Pg Up, Pg Down, End and Cursor keys cannot be captured either. Tab can be captured though :-/

    Is this because there are no ASCII codes for these keys? If so, could Fuze, as an adapted language, do as Commodore did and add their own unique codes so these keys can be captured?



  • @Dave
    Ok, understood. Thank you for your reply :-)


  • Fuze Team

    @NextWithoutFor It's very likely we expand the keyboard access yes, but it's not something high on our prioties currently given the myriad other very important plans :)



  • Thanks you everyone for your reply, and @Dave You are responsible for the development of fuze, right? You have to know ? People tell me it's not possible but there might be things to add for the next update


  • Fuze Team

    @EvanTropFun your question has already been answered correctly. Not all of the keyboard buttons have chrVal() codes currently, so there is nothing to 'read' for the backspace key at the moment. As I said earlier we will likely improve the keyboard access, but it is not high on our priorities list at the moment. Vinicity's workaround is a great suggestion - use the delete key and give it the functionality you want for backspace.



  • @Dave Oh but yes i had never seen this touch! thanks you for your help ! Sorry @vinicity I didn't understand because I didn't know there was a delete key



  • Another simple question: How do I browse the entire catalogue of games and other coding projects that have been made on Fuze and uploaded to the server via share codes etc?

    There are some cool screen savers that have appeared on my version of Fuze (not sure why more content suddenly appeared under the fuze programs tab) and I was wondering if someone had made a take on a Jonny Castaway type screen saver with inclusive rare scenes in their version?


  • Fuze Team

    @NextWithoutFor said in A simple question ::

    Another simple question: How do I browse the entire catalogue of games and other coding projects that have been made on Fuze and uploaded to the server via share codes etc?

    There isn't (yet) a way to do this, you need to know the code of a program - that was always the point of the way it worked really, but there's a thread in here that would be a very good starting point.

    https://fuzearena.com/forum/topic/719/the-great-list-of-game-codes

    There's also an entire section called "Creations"


  • F

    I am currently working on a program called fuze eshop that will be perfect for looking for new games to download may take some time before I release it because adding programs takes a bit of time



  • @Martin

    Thank you. I followed the link and found within the list of projects a program by Starshine Vixen called “Game Of Life”. I first came across this game in a book for the Commodore Vic20 that had a compilation of other games and programs within its pages.

    The program made an impact on me that I committed to memory the short program code. Later when I stumbled across a Commodore 64 I modified the program to a larger grid size to take advantage of the Commodore’s displayable real estate. Unfortunately, I did not know how to program in machine code so the core calculation routine was slow in BASIC. I was thinking of having a go at trying to port the program to Fuze and see that someone has already done a fine job of the port.

    It is great to that I can go into the code and make alterations - such as adjusting the default delay.

    So Thank you Starshine Vixen (who has been inactive for a while) and thank you Fuze Team.


  • F

    @NextWithoutFor said in A simple question ::

    Another simple question: How do I browse the entire catalogue of games and other coding projects that have been made on Fuze and uploaded to the server via share codes etc?

    If you want to find games to download, let me recommend the following thread made by @CasualTie5 last year:
    https://fuzearena.com/forum/post/13148

    Also, take a look at all the game jam threads for both download codes and amazing live stream videos!



  • @LinkCraft
    I think that is a fabulous idea. As a new comer, it does appear that the catalogue of Fuze projects is scattered over the whole forum site.

    I am looking primarily for educational works either overt or subliminal and I have stumbled across some gems. I think subcategories might be an idea too to make finding certain genres easier.



  • @vinicity
    That’s a great shout out. You have some great forum contributors here and also amazing content creators.

    I am not looking for something that has great graphics (though that is impressive), I am looking for projects that teach me something and/or have deeper gameplay.


  • F

    I haven’t played this yet, but from what I’ve seen, this one’s gameplay’s got some depth to it https://fuzearena.com/forum/topic/1626/kusatsu-samurais-beta-version/2



  • This post is deleted!

  • F

    no fuze projects are for the example programs only


Log in to reply