08-14-2022, 11:51 PM
yeah .com, who picked these? Stx I will bet!
b = b + ...
QB64-PE Sample Showcase
|
08-15-2022, 12:04 AM
(08-14-2022, 11:48 PM)dbox Wrote: That looks real similar to the samples page on qb64.com: https://qb64.com/samples.html It is. It's an offline version which you can browse and explore without any internet access. From the top of the notes: 'QB64-PE Sample Showcase 'code by SMcNeill (c) 2022 'code is under standard MIT License -- https://en.wikipedia.org/wiki/MIT_License 'inspired by code sample archive from QB64.com which is also MIT Licensed
08-15-2022, 12:06 AM
08-15-2022, 12:07 AM
Actually I am very happy with my little corner of this forum, Thank you very much!
b = b + ...
08-16-2022, 09:16 AM
I resented the preview screens crunched up so I made a modification which looks ugly LOL.
It supports backspace key to toggle between program screen preview and the description. Also this does only 20 entries in one screen pass, putting the tags on a separate line from program name. Code: (Select All) 'QB64-PE Sample Showcase Took the liberty of creating this file as well: nopreview.png.zip (Size: 102.81 KB / Downloads: 57) Unpack this PNG file, put it in the same directory as the BAS program and its related "screenshot.png".
08-16-2022, 01:39 PM
Updated the program once again, and you'll need to redownload it from the first post in this topic. What's changed?
1) We now have a pretty little splash screen for an intro to the program. 2) Users can now <R>un a program from the select menu. NOTE: This requires that the archive is extracted into your QB64 folder, so that it'll find paths and such properly. Your QB64 folder should look something like the following once you've extracted it into the proper place: NOTE 2: This is still a work in progress. It *ONLY* runs the sample program as long as there is a single BAS file inside the folder so it knows which one to compile and run. Some of the samples rely on multiple EXE files being compiled (such as for a CHAIN example, or one with a TCP/IP localhost example), and those simply get ignored at the moment and won't run at all. (Or do anything really -- not even toss you a nice "these need to be manually compiled" message yet. What can I can say except it's still a work in progress.) I'll be truly curious for feedback on what we have now, especially from any Linux/Mac folks who might want to point out when/where I may've went wrong with slashes or filename cases, or extensions, or whatnot. I'm no expert on Linux and QB64 -- not by a long shot -- and I honestly don't know if this will work at all for you guys. Does Linux even append a nice .bas or .exe to the filenames for us? If not, then how does it keep track of which is the text file and which is the executable? Guess I'm going to have to do some more digging into QB64 and Linux/Mac, if I want to say that the Sample Showcase works as it should on them, just as it does on Windows.
Updated the showcase to now work with full mouse support. There's buttons at the bottom left which you can use to interact with the interface -- just click on them! Mousewheel can also scroll up and down our list of samples.
Changed the layout of the interface a little more, to give more room for descriptions and better author information. New Showcase can be downloaded from the bottom of the original post in this topic. What's to do next: Add Search support so the user can search for a specific author or tag, and limit the results in that manner. EDIT: (Thanks to a reminder from Rho Sigma) Remember to check if the user has "qb64.exe" or "qb64pe.exe" as their compiler. Also check to see why ESC isn't skipping the initial splash screen as it should. Copy the rest of the descriptions over from qb64.com for all the files. Hunt down the original links on the web from where these samples came from. (Shame on the guys who gathered this list originally! One should always attribute *where* they copied stuff from, when copying other people's work! It's just being polite.) Add more samples to the archives once all else is said and done. If anyone wants to help with the last few tasks, all you really need to do is open the Index.txt file into your favorite text editor and copy/paste the missing information in the relevant areas. The whole database is set up to be read in a very simple LINE INPUT method, so it doesn't get any simpler than this when editing the information manually. Just post an update of the modified INDEX.txt file here, and I'll merge it into the master archive before I zip it back up and share the next version again.
08-21-2022, 07:07 PM
(Also updated the screenshot in the first post so that it now looks like the updated screen.)
09-02-2022, 09:33 PM
Is it too late to submit a sample? What level of polish is required to submit a sample? Is there a size limitation?
I would like to submit my pool game and physics engine samples. They will require a bit of tidying up for cross platform.
09-02-2022, 09:36 PM
(09-02-2022, 09:33 PM)justsomeguy Wrote: Is it too late to submit a sample? What level of polish is required to submit a sample? Is there a size limitation? As long as they'll compile into their own subfolder, you should be good to go. (In other words, all libraries and resource files need to be relational to the compiled EXE and not hard-coded somewhere. ) |
« Next Oldest | Next Newest »
|