Search found 124 matches
- Mon Feb 04, 2008 1:44 pm
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
- Sun Feb 03, 2008 9:03 am
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
- Fri Feb 01, 2008 4:40 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Keyboard Help
- Replies: 5
- Views: 11017
- Fri Feb 01, 2008 4:32 pm
- Forum: General Discussion
- Topic: "how to" graphics book
- Replies: 2
- Views: 8380
I don't know any books, but this is an excellent tutorial, the best I ever read:
http://www.petesqbsite.com/sections/tut ... ts/tsugumo
http://www.petesqbsite.com/sections/tut ... ts/tsugumo
- Fri Feb 01, 2008 11:34 am
- Forum: Pete's QB Site News
- Topic: Freebasic Forum Opens
- Replies: 3
- Views: 61117
That's cool to me! I would do the same. QB is a fine title, everybody knows this site as Pete's QB site. And, FB is based on QB and not inversed. QB is a stable interpreter and compiler, and FB is fully in development. Still, much of the suff here is for QB, and I don't think that QB is completely l...
- Tue Jan 29, 2008 2:05 pm
- Forum: Freebasic Questions & Answers
- Topic: simple decimal addition
- Replies: 9
- Views: 23535
Yeah. This is very weird and it sucks. I have it too. Sometimes, If I add 0.2 to 0.2 I get 0.399999999999999 and that kind of things. You should be able to get rid of this. You may round of on some decimal. I dont know what's the best way to do that. Don't directly use CINT or INT (at least, not for...
- Sun Jan 27, 2008 5:11 am
- Forum: General Discussion
- Topic: 3D Rotation Algorithm?
- Replies: 5
- Views: 13190
Ehm, you mean 2d rotation I believe? Like a rotozoomer? The formula for that is: RotatedX = ScreenX * COS(angle) - ScreenY * SIN(angle) RotatedY = ScreenX * SIN(angle) + ScreenY * COS(angle) For more info, check: The first two are about rotation only. The thirs is about rotozoomers (so also zooming ...
- Sat Jan 12, 2008 10:34 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What are some applications for pointers?
- Replies: 9
- Views: 21282
- Mon Jan 07, 2008 9:13 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Rotating a squared matrix
- Replies: 4
- Views: 9440
You can do some easy rotations by just swapping the x and y parameters, or replacing x by size - x and y by size - y.(I know this sounds vague :s) Example: you have a 5x5 matrix and you want to rotate a little piece out of it. First it's (i think) necessary to have a 'buffer' matrix. To store the va...
- Sun Jan 06, 2008 12:22 pm
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
- Sun Jan 06, 2008 12:20 pm
- Forum: General Discussion
- Topic: Code exchange subforum?
- Replies: 13
- Views: 22771
Code exchange subforum?
Maybe it is a nice ieda to make a subforum for code (snippets)? So people could show thier progs and anyone could ask for small pieces of code? Like that people could learn new (perhaps better) ways to do specific stuff.
- Thu Jan 03, 2008 1:43 pm
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
- Sun Dec 30, 2007 4:16 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: String$ and Variables?
- Replies: 5
- Views: 12019
First, ask the user to input a word. I would then make a loop that runs from 1 to the length of the word (LEN(word$)). In that loop, get the ASCII number of the character at that position(with MID$ and ASC) and add it to an integer variable which is set to 0 before the loop. To get the ascii number ...
- Sun Dec 30, 2007 7:00 am
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
Nice that there is a FB subforum. Hehe, you will get flooded by my questions about FB! Burger2227, hide yourself. hehe :P. But, to respond on your post, Mentat: Probably both ways are possible. Where do you learn OpenGL from? I think OpenGL is a bit complicated, but it gives many possibilities and i...
- Thu Dec 27, 2007 9:26 am
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
- Thu Dec 27, 2007 6:44 am
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
- Wed Dec 26, 2007 6:07 pm
- Forum: Freebasic Questions & Answers
- Topic: Compiling in FB with OpenGL
- Replies: 18
- Views: 43176
Compiling in FB with OpenGL
I tried to compile Rel's code that he included with a tut on opengl in freebasic in QBE issue #7(<a href="http://www.petesqbsite.com/sections/express/issue8/index.html#fbgl">Link</a>), but it doesn't work when I compile it. It gives me tons of errors. One of them is that 'SDL_quit' is not ...
- Mon Dec 24, 2007 6:06 am
- Forum: News and Announcements
- Topic: Scrolling engine
- Replies: 20
- Views: 61121
The code allowed you to use graphical text (Ildurest) and my particular routine made the text larger. I also made a graphic scroller that works way better than ASCII text would. Ring any bells? Yes. Did I use that code with my credit or something? If so, sorry. But wasn't that years ago? Anyway, do...
- Mon Dec 24, 2007 5:17 am
- Forum: General Discussion
- Topic: What programming languages have a bit as variable type?
- Replies: 9
- Views: 23385
- Sat Dec 22, 2007 6:50 am
- Forum: General Discussion
- Topic: What programming languages have a bit as variable type?
- Replies: 9
- Views: 23385