Search found 124 matches
- Fri Dec 21, 2007 10:22 am
- Forum: General Discussion
- Topic: What programming languages have a bit as variable type?
- Replies: 9
- Views: 23352
What programming languages have a bit as variable type?
What programming languages have a "bit" as variable type? I saw QB64 has. This is very useful. In a engine wher eI scroll an large monochrome map. For this, I have to make an array of integers, load them with PEEK and POKE(because they use bytes) and then use a byte-to-bit LUT, and again a...
- Fri Dec 21, 2007 9:33 am
- Forum: General Discussion
- Topic: 64 bit QBASIC
- Replies: 32
- Views: 75572
I have to say that I really, really like it. It is easy to use and seems to cover a lot of qb syntax already. The compiled exe is fast. Give it like about a year, and it will be really cool, I think. Maybe it would be better for Galleon's reputation if he released a demo when the project was in a fu...
- Thu Dec 20, 2007 10:10 am
- Forum: News and Announcements
- Topic: Announcing Gflux
- Replies: 15
- Views: 42525
SETMOUSE , ,0 to hide the mouse. The big black box? The background? line(0,0)-(320,200),4,bf I guess that does what you want or just PAINT (0, 0), 1, 15 ?. Thanks. I meant the console though (didn't know that they called it so). I found out that you can hide it with adding -s gui in the command lin...
- Thu Dec 20, 2007 10:07 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Compiler problem with QuickBasic 7.10
- Replies: 5
- Views: 9039
Use qb 4.5 when you can. It is faster and, like Nodtveidt said, it produces smaller .exe's (I didn't know this though :P). But, qb 7.1 has a few more options. I needed it once because it has a command to show you all files in a map or something like that. If you have to use qb 7.1, you can download ...
- Wed Dec 19, 2007 5:05 pm
- Forum: News and Announcements
- Topic: Scrolling engine
- Replies: 20
- Views: 61076
- Wed Dec 19, 2007 3:53 pm
- Forum: News and Announcements
- Topic: Announcing Gflux
- Replies: 15
- Views: 42525
You are making that 256 bit color depth in screen res command :shock: screenres width,height,[depth],[num_pages],[flag],[refresh_rate] try giving 60 hz as refresh rate? Haha, 256 colours I thought :P. Well it works with: SCREENRES 320, 200, 8, 1, 1, 60 Nice! Now is there a way to hide that ugly emp...
- Wed Dec 19, 2007 3:23 pm
- Forum: News and Announcements
- Topic: Scrolling engine
- Replies: 20
- Views: 61076
Damn. Please, be reasonable. I already said sorry for forgetting. Too much weed probably. Anyway, try to tell why you lose your mind before you lose your mind. What code you mean? I never credit someone's other code, so if it happens, it's accidentally. But please, tell me about it. I don't play a g...
- Sun Dec 16, 2007 7:14 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: "Expression too complex" error when compiling
- Replies: 3
- Views: 6660
Use block IFs instead of trying to cram it all onto one line. You might also want to come up with a more intuitive method of representing your code too, as that looks rather inefficient. Decimal-to-binary converter, eh? :) Yes :). I've found that the problem is the binary-to-number converter, becau...
- Sat Dec 15, 2007 4:55 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: "Expression too complex" error when compiling
- Replies: 3
- Views: 6660
"Expression too complex" error when compiling
I want to compile a program that consists this piece of code: CLS DEFINT A-Z DIM SHARED btn(1, 1, 1, 1, 1, 1, 1, 1) DIM SHARED ntb(255, 7) FOR n = 0 TO 255 IF (n AND 1) THEN ntb(n, 0) = 1: b0 = 1 ELSE b0 = 0 IF (n AND 2) THEN ntb(n, 1) = 1: b1 = 1 ELSE b1 = 0 IF (n AND 4) THEN ntb(n, 2) = 1: b2 = 1 ...
- Fri Dec 14, 2007 5:29 pm
- Forum: News and Announcements
- Topic: Scrolling engine
- Replies: 20
- Views: 61076
Re: CREDIT?
What graphics text stuff. Sorry but I really don't know where you are talking about. Can you tell me or send me a link to that?burger2227 wrote:What ever happened to the graphics text stuff Ildurest and I showed you?
- Wed Dec 12, 2007 4:36 pm
- Forum: General Discussion
- Topic: Pete, are you going to release a new coding competition?
- Replies: 20
- Views: 46365
- Sun Dec 09, 2007 4:49 pm
- Forum: General Discussion
- Topic: I need a tileset to test my platform engine
- Replies: 8
- Views: 15974
- Sun Dec 09, 2007 1:55 pm
- Forum: General Discussion
- Topic: Pete, are you going to release a new coding competition?
- Replies: 20
- Views: 46365
- Sat Dec 08, 2007 5:22 pm
- Forum: General Discussion
- Topic: Pete, are you going to release a new coding competition?
- Replies: 20
- Views: 46365
Pete, are you going to release a new coding competition?
Please? Serious, I would like a new coding competition. It would be really nice. I am very interested in it. I searched and acidentally came across one in 2004 or something to code a game in four lines. That kind of stuff is really nice, and it could help to fill some space in QBE, for if you have l...
- Sat Dec 08, 2007 4:21 pm
- Forum: News and Announcements
- Topic: Scrolling engine
- Replies: 20
- Views: 61076
Scrolling engine
This is about a map scrolling engine that I've thought of while writing an article for QBE. I first doubted if it was fast enough, but I'm very enthousast now, because it runs at 100 fps(compiled of course) on a good computer. The engine doen't look good, but look beneath that and look at the possib...
- Fri Dec 07, 2007 7:06 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Serial Port Input
- Replies: 3
- Views: 9948
The NR variable will never reach more then two becuase this line: IF IN1 = 1 THEN NR = 1 ELSE NR = 0 Sets NR to 0 or 1. So the maximal value of NR at the end of the loop is two (1 from the IF statement and one because you added one after that with NR = NR + 1) What always helps is looking at your pr...
- Wed Dec 05, 2007 8:11 am
- Forum: General Discussion
- Topic: small window/picklist routines?
- Replies: 2
- Views: 7370
Here is some code. Try to understand it. I tried to give the variables self-explaining names. I can add some comments if you want. BTW, you can change the variables, but the program will get an error if you make the values too large or small (for example if you tweak the list so that it becomes bigg...
- Tue Dec 04, 2007 3:18 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Cut binary file
- Replies: 5
- Views: 13081
- Tue Dec 04, 2007 3:12 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: View a vehicle track on a ground grid
- Replies: 4
- Views: 8779
Ow sorry. I thought you meant to built that code out to an engine or something. Thought you was a noob haha. I think you can just take a polyfiller from somewhere (or make your own if you can, else you can try to learn it, I believe it ain't that hard). Then you have to sort the polygons on z-center...
- Tue Dec 04, 2007 2:36 pm
- Forum: News and Announcements
- Topic: Announcing Gflux
- Replies: 15
- Views: 42525