Menu News from the GUI Blog
menu Home
DCL Linux
GUI Awards
Fun500
CQML

GUI Guide
Getting Started
Subject: Re:My new game - by: Horatio
I can't use future on QB64, i wonder of there is a proggy thatturns a lib into a bas
Subject: Re:My new game - by: ksr
If you stick with 'pure' FB (the built-in gfxlib) just have a look at http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgImagecreate That makes it easy to store sprites. You don't have to worry about pointers or using imagedestroy.
Subject: Re:100 Line GUI Contest 2009 Results - by: Brandon
Actually 3 people did, Sonicbrit was the only to publicly announce his vote.
Subject: Re:My new game - by: tlsuess
QB64 is good but it's not as great as FB. Jason, what do the errors say? It could just be the wrong FB version or wrong Allegro version. Tutorials aren't always 100% compatible with the ever-changing compilers and programming libraries.
Subject: Re:My new TEXT RPG!!! OMG!!! - by: ksr
Pretty cool. First thing I did was buy a 2-handed sword and then it was pretty easy :P
Subject: Re:100 Line GUI Contest 2009 Results - by: ksr
Yay :P Although only 1 person voted? :P I don't know if anyone looked at my code, but to get a fairly decent windowing engine in that amount of space, I used a dirty little trick :P The title bar of each window is a slightly different shade to the others. When the mouse is clicked, point(mx,my) gets the colour under the mouse pointer and straight away that tells you what window is being clicked. A cleaner, though slower way to do this on a full GUI would be to use a separate 'mask' buffer.
Subject: 100 Line GUI Contest 2009 Results - by: Brandon
After counting up the ballots, KSR 100 Line wins.
Subject: Re:My new game - by: Pharoah
You can try QB64 http://www.qb64.net/ It's essentially Qbasic for windows and linux. Doesn't have all the nice extra FB stuff though.
Subject: Re:My new game - by: Brandon
Jason, this is ridiculous, 5 of 6 of the last posts are yours, there is an edit button for a reason. You are on the edge of being banned, and you still don't get it.
Subject: Re:My new game - by: Horatio
I can't get used to fb so im sticking with what i know. does anyone know of a windows basic compiler?
Subject: Re:My new game - by: Horatio
I did what the Tut said and i got bout 5 errors lool.
Subject: Re:My new game - by: tlsuess
Play around with it to learn which functions do what. That's how I learn.
Subject: Re:My new game - by: Horatio
Lool, I din't know how to use it at all, i read a tut but it made no sence :S
Subject: Re:My new game - by: Horatio
Found! lool
Subject: Re:My new game - by: Horatio
Where would i download this? :)
Subject: Re:My new game - by: tlsuess
I thought FB has that built-in. You could use Allegro since that's designed for games. Allegro is kinda bulky though but it's definitely worth it.
Subject: Re:My new game - by: Horatio
Future sends out tones of errors. Do any FB Libs exist?
Subject: Re:My new game - by: tlsuess
Horatio wrote: What about Do i *32 aswell? BITs? Not necessarily. One pixel stores the color. If 8-bit is 256 colors, the appropriate data type would be a BYTE or INT. 16 or 24-bit color would fit in a LONGINT data type. Look for an integer data type that can fit 0 - 65535 in value.
Subject: Re:MP3 Player in FreeBASIC for DOS - by: rCX
For fans of the PC speaker there was a thread (http://www.bttr-software.de/forum/board_entry.php?id=6570&page=0&order=last_answer&category=0) about this at the "DOS ain't dead forums" but (mostly in c/c++). This (http://www.o-bizz.de/qbdown/qbsound/speaker.zip) shows how to play wav's in QB.
Subject: Re:My new TEXT RPG!!! OMG!!! - by: aguma
Well I think it's because I put all the hard enemies with the 1 easy enemy. You have to start with the ant (
Subject: Re:My new TEXT RPG!!! OMG!!! - by: sonicbrit
nice game, but I found it was to easy to die, maybe increase the health a little or make enemies weaker?
Subject: My new TEXT RPG!!! OMG!!! - by: aguma
It's called The Adventures of Carl!!! :P I made it for this 1-week computer camp, so expect bugs and lots of strange stuff. To move, you use wasd + enter (for some reason nothing made it let me enter one character, even getch or getchar or getc, etc...). The $ is a shop, you can buy stuff there. The object of the game is to get as high level as you can!!!! BWAHAHAHAHAHA!!! TIP: Good weapons really make your hits a lot higher! download: http://uppit.com/v/QNRSJD5Y
Subject: Re:My new game - by: Brandon
The Future lib might work, I can't remember if it has a wav player but it makes images easy.
Subject: Re:My new game - by: Horatio
What about Do i *32 aswell? BITs?
Subject: Re:My new game - by: tlsuess
DIM v(50, 50) It's the pixel dimensions of your image.
Subject: Re:My new game - by: Horatio
How do i DIM v?
Subject: Re:My new game - by: tlsuess
BLOAD loads the file into memory. You can PUT it at a specific position: BLOAD filename, v PUT (0,50), v
Subject: Re:My new game - by: Horatio
Thanks! I saw this guy that used Sound Recorder to play the WAVs in the background. Would that work ok? I tried 'bload filename,0,0' that worked I tried 'bload filename,50,50' that didn't I tried 'bload filename,0,50' that worked at 0,0 I'm confused :-D
Subject: Re:My new game - by: tlsuess
For a background WAV player, just use a regular WAV player. Regular WAV players have a FOR loop (usually) to play segments of the WAV file. Just put the WAV playing data in the loop for your game. But you'll need to do some tinkering (i.e. looping the WAV file). Looping the WAV file means you'll need to use a DO loop with an IF statement that says if "i" (or whatever variable used for storing the current position in the WAV file) is at the end, set "i" back to 0. Drawing an image not at 0, 0 isn't too hard. Examine the code specifically to see if anything is set to 0 and 0 and just implement X and Y offsets in the code.
Subject: Re:My new game - by: Horatio
Oh, and how do i draw an image not at 0,0? i'm so new to this:-D
Subject: My new game - by: Horatio
I'm gonna make a game, but i need a background wave player. Does it exist?
Subject: Re:1 More Day in 100 Line GUI Contest 2009 - by: sonicbrit
1. KSR 2. Brandon 3. Aguma 1. KSR - Had 3 windows, 1st window inverted what was behind it, 2nd allowed you to type into it, 3 was a dos prompt that displayed output from a command. 2. Brandon - Had 1 window, a button, 2 options and a text box. 3. Aguma - Had a scripting language, displayed a window with 3 command buttons.
Subject: Re:MP3 Player in FreeBASIC for DOS - by: ksr
I'm not sure. Take a look at http://freebasic.net/forum/viewtopic.php?t=11308&highlight=mp3+dos&sid=3f7af6f37308608849e0c0a9dcb6db0c and http://freebasic.net/forum/viewtopic.php?t=830&highlight=mp3+dos&sid=3f7af6f37308608849e0c0a9dcb6db0c
Subject: MP3 Player in FreeBASIC for DOS - by: Brandon
Is it possible?
Subject: Re:1 More Day in 100 Line GUI Contest 2009 - by: Brandon
Come on guys, try the entries and rank them, so I can compile the results.
Subject: Re:Doscore present's Finntech Aura - by: JFK
http://doscore.net/images/aura2009.jpg Here is a screenshot of the newest develpment build. site is back up due to demand. :)
Subject: Re:Fun500 6 Plans - by: Brandon
That would be an option besides the size :P I'm hoping the concept works fast enough, thats why only concern.
Subject: Re:Fun500 6 Plans - by: ksr
I like the concept. You can package fbc with it and recompile from within the GUI :P
Subject: Re:1 More Day in 100 Line GUI Contest 2009 - by: Pharoah
Fair enough... I'm still working on this GUI anyway though b/c it's fun to do. Basically all I did is fix a bug with the branch instruction and I'm writing a script compiler and graphical UI toolkit.
Subject: Fun500 6 Plans - by: Brandon
This week (tonight through thursday night) I will be at a GIS conference/training. I'm not really into the GIS that much, but I'm getting a free all-expenses paid trip, so I figure why not. I'm hoping the Hotel has free Wifi, so I can keep things rolling, but if not, Todd's always here to moderate. When I get back I want to start on a big project, Fun500 6. It seems like only yesterday I was struggling to get a 2.0 release done, and now I'm working toward 6? Wow. 6 will be a special design, a somewhat uncommon one, not a scripter or a unitasker, but a all-in-one exe. Which means that apps can't be added or removed without a recompile, but the upsides outweigh this in my opinion. Over a unitasker, I can run more than one app at a time, something all users want from a modern system. Over a scripter, apps are written in native FB, meaning more speed and less overhead. Now Fun500 5 is still fairly young, and will not be abandoned but repositioned, still receiving support (and hopefully apps from 3rd parties!!). One idea I have is that 6 will have the ability to run 5 apps in "compatibly mode", obviously one at a time, but they will be integrated into the menu, and 6 will have a native version of the 5 PkMan. Other plans for 6 include a G2 sidebar, something that I have planned for some time, a native file manager, and a native EZ script runner, so that Apps for 4 may be run side by side with the new apps. In time, 6 will gain its own scripter, and more built in apps, possibly an RSS reader, and/or IM client. Trolly, I'll meet you at GUI Awards '09!
Subject: Re:1 More Day in 100 Line GUI Contest 2009 - by: Brandon
A deadline is a deadline, I even extended it. So we'll have to go based on what he entered.
Subject: Re:1 More Day in 100 Line GUI Contest 2009 - by: ksr
Are we voting now? Pharaoh said that's not his final entry.
Subject: Re:Where to Next (Fun500)? - by: Brandon
My Goal has always been to be a viable alternative to Windows 3.1
Subject: Re:1 More Day in 100 Line GUI Contest 2009 - by: Brandon
Entry is now locked. Please rank the GUI's best to worst, once I have 3 other opinions, I'll release the results.
Subject: Re:Where to Next (Fun500)? - by: JFK
keep development up but what are your goals? people make guis all the tme and dont really have goals as such
Subject: Re:1 More Day in 100 Line GUI Contest 2009 - by: Pharoah
Well, here's the code for my scripter so far. It works pretty well, I've tested most of the commands. Unfortunately it'll take me at least another day to get the compiler done and some interesting demo scripts working, but I figured I'd submit my code now. I might add more features (I have a couple of lines still) but this is the essence of it. The scripter has these commands BTW: [code] Command Action ------- ------ "" Push literal j Conditional jump b Conditional branch J Jump B Branch r Return d Display k Get key buffer M Get click from mouse queue @ Set window location and size x Execute script C Copy X Cut h Heap allot s Heap store f Heap fetch D Drop . Concatenate + Add - Subtract * Multiply / Divide & And | Or ~ Not > Greater than < Less than = Equal to c Ascii code to character a Character to ascii code m Mid l String length S Save L Load $ Shell q Quantitative equality ) Greater or equal ( Less or equal v Return contents of disp buffer[/code] EDIT - Damn forum wouldn't let me post this as a .bas file so you'll have to rename it. http://theguiblog.com/images/fbfiles/files/tinygui.txt
Subject: Where to Next (Fun500)? - by: Brandon
Well being Summer, I'll have a few weeks (at least) to work on Fun500. My question is where do I go? Options: 1. Continue on 5, make new apps, keep the repo up-to date 2. Use the KGUI Base to make a FreeBASIC GUI similar to 5 3. Make a All-in-One GUI that can multitask, but only the built in apps 4. Continue the base from 2 ,3, and 4 5. All new scripter What do you guys think?
Subject: 1 More Day in 100 Line GUI Contest 2009 - by: Brandon
3 Entries? Come on! So I am pushing the deadline back to tonight at 12PM EST and we'll judge tomorrow. People who should enter :P :Todd,Trolly,Jason not to name names or anything :P
2005-2009 Brandon Cornell